Index: src/utils/SkDumpCanvas.cpp |
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp |
index 7a37fcb5c1062b2a1accae0ce439d6cca984b5a4..5166640ca66380eeaa06d4026d85ca98552a419c 100644 |
--- a/src/utils/SkDumpCanvas.cpp |
+++ b/src/utils/SkDumpCanvas.cpp |
@@ -429,6 +429,14 @@ void SkDumpCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const S |
str.c_str(), byteLength); |
} |
+void SkDumpCanvas::onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], |
+ const SkRect* cull, const SkPaint& paint) { |
+ SkString str; |
+ toString(text, byteLength, paint.getTextEncoding(), &str); |
+ this->dump(kDrawText_Verb, &paint, "drawTextRSXform(%s [%d])", |
+ str.c_str(), byteLength); |
+} |
+ |
void SkDumpCanvas::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
const SkPaint& paint) { |
SkString str; |