Index: include/utils/SkProxyCanvas.h |
diff --git a/include/utils/SkProxyCanvas.h b/include/utils/SkProxyCanvas.h |
index 8d8796c33e429ec5d26923bd2a80f9da759f6d04..76426bd58fb160e4214d1577ccf6ab9f45c4100b 100644 |
--- a/include/utils/SkProxyCanvas.h |
+++ b/include/utils/SkProxyCanvas.h |
@@ -42,6 +42,16 @@ |
const SkPaint* paint = NULL) SK_OVERRIDE; |
virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
const SkPaint* paint = NULL) 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&) SK_OVERRIDE; |
virtual void drawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
@@ -66,14 +76,6 @@ |
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 onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |
virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE; |