| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 }; | 249 }; |
| 250 | 250 |
| 251 #if defined(SK_XML) | 251 #if defined(SK_XML) |
| 252 class SVGSrc : public Src { | 252 class SVGSrc : public Src { |
| 253 public: | 253 public: |
| 254 explicit SVGSrc(Path path); | 254 explicit SVGSrc(Path path); |
| 255 | 255 |
| 256 Error draw(SkCanvas*) const override; | 256 Error draw(SkCanvas*) const override; |
| 257 SkISize size() const override; | 257 SkISize size() const override; |
| 258 Name name() const override; | 258 Name name() const override; |
| 259 bool veto(SinkFlags) const override; |
| 259 | 260 |
| 260 private: | 261 private: |
| 261 Path fPath; | 262 Path fPath; |
| 262 | 263 |
| 263 typedef Src INHERITED; | 264 typedef Src INHERITED; |
| 264 }; | 265 }; |
| 265 #endif // SK_XML | 266 #endif // SK_XML |
| 266 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~*/ | 267 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~*/ |
| 267 | 268 |
| 268 class MSKPSrc : public Src { | 269 class MSKPSrc : public Src { |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 | 449 |
| 449 class ViaLite : public Via { | 450 class ViaLite : public Via { |
| 450 public: | 451 public: |
| 451 explicit ViaLite(Sink* sink) : Via(sink) {} | 452 explicit ViaLite(Sink* sink) : Via(sink) {} |
| 452 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 453 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
| 453 }; | 454 }; |
| 454 | 455 |
| 455 } // namespace DM | 456 } // namespace DM |
| 456 | 457 |
| 457 #endif//DMSrcSink_DEFINED | 458 #endif//DMSrcSink_DEFINED |
| OLD | NEW |