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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const SkColor colors[], SkXfermode* xmode, | 72 const SkColor colors[], SkXfermode* xmode, |
73 const uint16_t indices[], int indexCount, | 73 const uint16_t indices[], int indexCount, |
74 const SkPaint&) override; | 74 const SkPaint&) override; |
75 | 75 |
76 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 76 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
77 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 77 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
78 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 78 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
79 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 79 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
80 | 80 |
81 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 81 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
| 82 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
82 | 83 |
83 class Iter; | 84 class Iter; |
84 | 85 |
85 private: | 86 private: |
86 typedef SkCanvas INHERITED; | 87 typedef SkCanvas INHERITED; |
87 }; | 88 }; |
88 | 89 |
89 | 90 |
90 #endif | 91 #endif |
OLD | NEW |