| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef SkNWayCanvas_DEFINED | 9 #ifndef SkNWayCanvas_DEFINED |
| 10 #define SkNWayCanvas_DEFINED | 10 #define SkNWayCanvas_DEFINED |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 42 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| 43 const SkPaint&) override; | 43 const SkPaint&) override; |
| 44 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 44 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
| 45 const SkPaint&) override; | 45 const SkPaint&) override; |
| 46 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 46 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
| 47 SkScalar constY, const SkPaint&) override; | 47 SkScalar constY, const SkPaint&) override; |
| 48 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 48 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
| 49 const SkMatrix* matrix, const SkPaint&) overri
de; | 49 const SkMatrix* matrix, const SkPaint&) overri
de; |
| 50 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 50 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 51 const SkPaint& paint) override; | 51 const SkPaint& paint) override; |
| 52 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform
xform[], |
| 53 const SkRect* cull, const SkPaint& paint) override; |
| 52 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 54 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 53 const SkPoint texCoords[4], SkXfermode* xmode, | 55 const SkPoint texCoords[4], SkXfermode* xmode, |
| 54 const SkPaint& paint) override; | 56 const SkPaint& paint) override; |
| 55 | 57 |
| 56 void onDrawPaint(const SkPaint&) override; | 58 void onDrawPaint(const SkPaint&) override; |
| 57 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 59 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
| 58 void onDrawRect(const SkRect&, const SkPaint&) override; | 60 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 59 void onDrawOval(const SkRect&, const SkPaint&) override; | 61 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 60 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 62 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 61 void onDrawPath(const SkPath&, const SkPaint&) override; | 63 void onDrawPath(const SkPath&, const SkPaint&) override; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 82 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 84 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
| 83 | 85 |
| 84 class Iter; | 86 class Iter; |
| 85 | 87 |
| 86 private: | 88 private: |
| 87 typedef SkCanvas INHERITED; | 89 typedef SkCanvas INHERITED; |
| 88 }; | 90 }; |
| 89 | 91 |
| 90 | 92 |
| 91 #endif | 93 #endif |
| OLD | NEW |