OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 | 8 |
9 #ifndef SKDEBUGCANVAS_H_ | 9 #ifndef SKDEBUGCANVAS_H_ |
10 #define SKDEBUGCANVAS_H_ | 10 #define SKDEBUGCANVAS_H_ |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 } | 187 } |
188 | 188 |
189 protected: | 189 protected: |
190 void willSave() override; | 190 void willSave() override; |
191 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; | 191 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
192 void willRestore() override; | 192 void willRestore() override; |
193 | 193 |
194 void didConcat(const SkMatrix&) override; | 194 void didConcat(const SkMatrix&) override; |
195 void didSetMatrix(const SkMatrix&) override; | 195 void didSetMatrix(const SkMatrix&) override; |
196 | 196 |
197 void didTranslateZ(SkScalar) override; | |
198 | |
199 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 197 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
200 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 198 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
201 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, | 199 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
202 const SkPaint&) override; | 200 const SkPaint&) override; |
203 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], | 201 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
204 const SkPaint&) override; | 202 const SkPaint&) override; |
205 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], | 203 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], |
206 SkScalar constY, const SkPaint&) override; | 204 SkScalar constY, const SkPaint&) override; |
207 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 205 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
208 const SkMatrix* matrix, const SkPaint&) override; | 206 const SkMatrix* matrix, const SkPaint&) override; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 GrAuditTrail* getAuditTrail(SkCanvas*); | 290 GrAuditTrail* getAuditTrail(SkCanvas*); |
293 | 291 |
294 void updatePaintFilterCanvas(); | 292 void updatePaintFilterCanvas(); |
295 void drawAndCollectBatches(int n, SkCanvas*); | 293 void drawAndCollectBatches(int n, SkCanvas*); |
296 void cleanupAuditTrail(SkCanvas*); | 294 void cleanupAuditTrail(SkCanvas*); |
297 | 295 |
298 typedef SkCanvas INHERITED; | 296 typedef SkCanvas INHERITED; |
299 }; | 297 }; |
300 | 298 |
301 #endif | 299 #endif |
OLD | NEW |