Index: src/utils/SkDumpCanvas.cpp |
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp |
index 3bf90da9f5a59a6d0483d014856401e8c38119a5..9814fb5762ecf880e5d783dfc3f734704beaf3ea 100644 |
--- a/src/utils/SkDumpCanvas.cpp |
+++ b/src/utils/SkDumpCanvas.cpp |
@@ -388,16 +388,16 @@ void SkDumpCanvas::drawSprite(const SkBitmap& bitmap, int x, int y, |
x, y); |
} |
-void SkDumpCanvas::drawText(const void* text, size_t byteLength, SkScalar x, |
- SkScalar y, const SkPaint& paint) { |
+void SkDumpCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
+ const SkPaint& paint) { |
SkString str; |
toString(text, byteLength, paint.getTextEncoding(), &str); |
this->dump(kDrawText_Verb, &paint, "drawText(%s [%d] %g %g)", str.c_str(), |
byteLength, SkScalarToFloat(x), SkScalarToFloat(y)); |
} |
-void SkDumpCanvas::drawPosText(const void* text, size_t byteLength, |
- const SkPoint pos[], const SkPaint& paint) { |
+void SkDumpCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
+ const SkPaint& paint) { |
SkString str; |
toString(text, byteLength, paint.getTextEncoding(), &str); |
this->dump(kDrawText_Verb, &paint, "drawPosText(%s [%d] %g %g ...)", |
@@ -405,9 +405,8 @@ void SkDumpCanvas::drawPosText(const void* text, size_t byteLength, |
SkScalarToFloat(pos[0].fY)); |
} |
-void SkDumpCanvas::drawPosTextH(const void* text, size_t byteLength, |
- const SkScalar xpos[], SkScalar constY, |
- const SkPaint& paint) { |
+void SkDumpCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], |
+ SkScalar constY, const SkPaint& paint) { |
SkString str; |
toString(text, byteLength, paint.getTextEncoding(), &str); |
this->dump(kDrawText_Verb, &paint, "drawPosTextH(%s [%d] %g %g ...)", |
@@ -415,9 +414,8 @@ void SkDumpCanvas::drawPosTextH(const void* text, size_t byteLength, |
SkScalarToFloat(constY)); |
} |
-void SkDumpCanvas::drawTextOnPath(const void* text, size_t byteLength, |
- const SkPath& path, const SkMatrix* matrix, |
- const SkPaint& paint) { |
+void SkDumpCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, |
+ const SkMatrix* matrix, const SkPaint& paint) { |
SkString str; |
toString(text, byteLength, paint.getTextEncoding(), &str); |
this->dump(kDrawText_Verb, &paint, "drawTextOnPath(%s [%d])", |