Index: experimental/PdfViewer/SkNulCanvas.h |
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h |
index 1c31e9d39ce7e094f81f819032b4b5313b1575db..f2befad34442c04fc61ee9419d8301cc687d686c 100644 |
--- a/experimental/PdfViewer/SkNulCanvas.h |
+++ b/experimental/PdfViewer/SkNulCanvas.h |
@@ -47,16 +47,6 @@ public: |
const SkRect& dst, 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& picture) SK_OVERRIDE {} |
virtual void drawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
@@ -99,6 +89,17 @@ protected: |
return kNoLayer_SaveLayerStrategy; |
} |
+ virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, |
+ SkScalar y, const SkPaint& paint) SK_OVERRIDE {} |
+ virtual void onDrawPosText(const void* text, size_t byteLength, |
+ const SkPoint pos[], const SkPaint& paint) SK_OVERRIDE {} |
+ virtual void onDrawPosTextH(const void* text, size_t byteLength, |
+ const SkScalar xpos[], SkScalar constY, |
+ const SkPaint& paint) SK_OVERRIDE {} |
+ virtual void onDrawTextOnPath(const void* text, size_t byteLength, |
+ const SkPath& path, const SkMatrix* matrix, |
+ const SkPaint& paint) SK_OVERRIDE {} |
+ |
virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE {} |
virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE {} |
virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE {} |