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 #ifndef SkDumpCanvas_DEFINED | 8 #ifndef SkDumpCanvas_DEFINED |
9 #define SkDumpCanvas_DEFINED | 9 #define SkDumpCanvas_DEFINED |
10 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 112 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
113 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 113 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
114 const SkPaint&) SK_OVERRIDE; | 114 const SkPaint&) SK_OVERRIDE; |
115 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 115 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
116 const SkPaint&) SK_OVERRIDE; | 116 const SkPaint&) SK_OVERRIDE; |
117 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 117 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
118 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 118 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
119 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 119 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
120 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 120 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
| 121 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 122 const SkPaint& paint) SK_OVERRIDE; |
121 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 123 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
122 const SkPoint texCoords[4], SkXfermode* xmode, | 124 const SkPoint texCoords[4], SkXfermode* xmode, |
123 const SkPaint& paint) SK_OVERRIDE; | 125 const SkPaint& paint) SK_OVERRIDE; |
124 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; | 126 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; |
125 virtual void onPopCull() SK_OVERRIDE; | 127 virtual void onPopCull() SK_OVERRIDE; |
126 | 128 |
127 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 129 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
128 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 130 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
129 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 131 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
130 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 132 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 public: | 169 public: |
168 SkDebugfDumper(); | 170 SkDebugfDumper(); |
169 | 171 |
170 private: | 172 private: |
171 typedef SkFormatDumper INHERITED; | 173 typedef SkFormatDumper INHERITED; |
172 }; | 174 }; |
173 | 175 |
174 #endif | 176 #endif |
175 | 177 |
176 #endif | 178 #endif |
OLD | NEW |