OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef DMSrcSink_DEFINED | 8 #ifndef DMSrcSink_DEFINED |
9 #define DMSrcSink_DEFINED | 9 #define DMSrcSink_DEFINED |
10 | 10 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 explicit ViaSecondPicture(Sink* sink) : Via(sink) {} | 271 explicit ViaSecondPicture(Sink* sink) : Via(sink) {} |
272 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 272 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
273 }; | 273 }; |
274 | 274 |
275 class ViaSingletonPictures : public Via { | 275 class ViaSingletonPictures : public Via { |
276 public: | 276 public: |
277 explicit ViaSingletonPictures(Sink* sink) : Via(sink) {} | 277 explicit ViaSingletonPictures(Sink* sink) : Via(sink) {} |
278 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 278 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
279 }; | 279 }; |
280 | 280 |
| 281 class ViaTwice : public Via { |
| 282 public: |
| 283 explicit ViaTwice(Sink* sink) : Via(sink) {} |
| 284 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
| 285 }; |
| 286 |
281 } // namespace DM | 287 } // namespace DM |
282 | 288 |
283 #endif//DMSrcSink_DEFINED | 289 #endif//DMSrcSink_DEFINED |
OLD | NEW |