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 SkPaintFilterCanvas_DEFINED | 8 #ifndef SkPaintFilterCanvas_DEFINED |
9 #define SkPaintFilterCanvas_DEFINED | 9 #define SkPaintFilterCanvas_DEFINED |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 88 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
89 | 89 |
90 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, | 90 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
91 const SkPaint&) override; | 91 const SkPaint&) override; |
92 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], | 92 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
93 const SkPaint&) override; | 93 const SkPaint&) override; |
94 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], | 94 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], |
95 SkScalar constY, const SkPaint&) override; | 95 SkScalar constY, const SkPaint&) override; |
96 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 96 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
97 const SkMatrix* matrix, const SkPaint&) override; | 97 const SkMatrix* matrix, const SkPaint&) override; |
| 98 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform
xform[], |
| 99 const SkRect* cull, const SkPaint& paint) override; |
98 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 100 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
99 const SkPaint& paint) override; | 101 const SkPaint& paint) override; |
100 | 102 |
101 private: | 103 private: |
102 class AutoPaintFilter; | 104 class AutoPaintFilter; |
103 | 105 |
104 typedef SkNWayCanvas INHERITED; | 106 typedef SkNWayCanvas INHERITED; |
105 }; | 107 }; |
106 | 108 |
107 #endif | 109 #endif |
OLD | NEW |