Index: include/utils/SkDeferredCanvas.h |
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h |
index c4a41cad73d2b79e84d32e593b6466867e08ecf2..e12cbf03cc4ea3eae25d0e5391a28a9d138934d4 100644 |
--- a/include/utils/SkDeferredCanvas.h |
+++ b/include/utils/SkDeferredCanvas.h |
@@ -162,6 +162,17 @@ |
SK_OVERRIDE; |
virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
const SkPaint* paint) SK_OVERRIDE; |
+ virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
+ SkScalar y, const SkPaint& paint) SK_OVERRIDE; |
+ virtual void drawPosText(const void* text, size_t byteLength, |
+ const SkPoint pos[], const SkPaint& paint) |
+ SK_OVERRIDE; |
+ virtual void drawPosTextH(const void* text, size_t byteLength, |
+ const SkScalar xpos[], SkScalar constY, |
+ const SkPaint& paint) SK_OVERRIDE; |
+ virtual void drawTextOnPath(const void* text, size_t byteLength, |
+ const SkPath& path, const SkMatrix* matrix, |
+ const SkPaint& paint) SK_OVERRIDE; |
virtual void drawPicture(SkPicture& picture) SK_OVERRIDE; |
virtual void drawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
@@ -179,15 +190,8 @@ |
virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
- virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRIDE; |
- virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
- const SkPaint&) SK_OVERRIDE; |
- virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
- const SkPaint&) SK_OVERRIDE; |
- virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], |
- SkScalar constY, const SkPaint&) SK_OVERRIDE; |
- virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, |
- const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE; |
+ virtual void onDrawDRRect(const SkRRect&, const SkRRect&, |
+ const SkPaint&) SK_OVERRIDE; |
virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |
virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |