Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 6197d88d6655e3d46ea07aee6a0852f8bda6fd97..a64bf0ff5eb1da35c7db277d69860df409abd9eb 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -12,6 +12,7 @@ |
#include "SkPictureRecord.h" |
#include "SkPictureStateTree.h" |
#include "SkReader32.h" |
+#include "SkTextBlob.h" |
#include "SkTDArray.h" |
#include "SkTypes.h" |
@@ -420,6 +421,13 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
SkScalar y = reader->readScalar(); |
canvas->drawText(text.text(), text.length(), x, y, paint); |
} break; |
+ case DRAW_TEXT_BLOB: { |
+ const SkPaint& paint = *fPictureData->getPaint(reader); |
+ const SkTextBlob* blob = fPictureData->getTextBlob(reader); |
+ SkScalar x = reader->readScalar(); |
+ SkScalar y = reader->readScalar(); |
+ canvas->drawTextBlob(blob, x, y, paint); |
+ } break; |
case DRAW_TEXT_TOP_BOTTOM: { |
const SkPaint& paint = *fPictureData->getPaint(reader); |
TextContainer text; |