Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index 2a89277f5e7b543b70c6c4e43094b169185edb18..004f1306215306494846a494944bf23559391b47 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -204,6 +204,10 @@ public: |
*/ |
int approximateOpCount() const; |
+ /** Return true if this picture contains text. |
+ */ |
+ bool hasText() const; |
+ |
private: |
// V2 : adds SkPixelRef's generation ID. |
// V3 : PictInfo tag at beginning, and EOF tag at the end |