Index: include/utils/SkNWayCanvas.h |
diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h |
index 051674b5d036864433873a57c10d652e6fab5aa8..60d51512a5eac2aa029dbafa5fddfab3aa0b8133 100644 |
--- a/include/utils/SkNWayCanvas.h |
+++ b/include/utils/SkNWayCanvas.h |
@@ -43,16 +43,6 @@ public: |
const SkPaint* paint = NULL) SK_OVERRIDE; |
virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
const SkPaint*) SK_OVERRIDE; |
- virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
- SkScalar y, const SkPaint&) SK_OVERRIDE; |
- virtual void drawPosText(const void* text, size_t byteLength, |
- const SkPoint pos[], const SkPaint&) SK_OVERRIDE; |
- virtual void drawPosTextH(const void* text, size_t byteLength, |
- const SkScalar xpos[], SkScalar constY, |
- const SkPaint&) SK_OVERRIDE; |
- virtual void drawTextOnPath(const void* text, size_t byteLength, |
- const SkPath& path, const SkMatrix* matrix, |
- const SkPaint&) SK_OVERRIDE; |
virtual void drawPicture(SkPicture&) SK_OVERRIDE; |
virtual void drawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
@@ -79,6 +69,14 @@ protected: |
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; |