Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index ff5c27d7e5a6be0fe02f2e343112278c85bb0e0e..19cb663eaf297c60c374ea42bcfb9b5d5bd4c7f7 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -278,6 +278,16 @@ void SkRecorder::onDrawTextOnPath(const void* text, size_t byteLength, const SkP |
matrix ? *matrix : SkMatrix::I()); |
} |
+void SkRecorder::onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], |
+ const SkRect* cull, const SkPaint& paint) { |
+ APPEND(DrawTextRSXform, |
+ paint, |
+ this->copy((const char*)text, byteLength), |
+ byteLength, |
+ this->copy(xform, paint.countText(text, byteLength)), |
+ this->copy(cull)); |
+} |
+ |
void SkRecorder::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
const SkPaint& paint) { |
TRY_MINIRECORDER(drawTextBlob, blob, x, y, paint); |