Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index 7090f3e2499f3f68255ae1fc3e641e9e37f1dd81..b58a3f3d4fe1ea1afe68ead8010d163c15dd5d21 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -13,6 +13,7 @@ |
#include "SkMatrix.h" |
#include "SkXfermode.h" |
+class SkAnnotation; |
class SkAutoDescriptor; |
class SkAutoGlyphCache; |
class SkColorFilter; |
@@ -624,6 +625,9 @@ |
SkImageFilter* getImageFilter() const { return fImageFilter; } |
SkImageFilter* setImageFilter(SkImageFilter*); |
+ SkAnnotation* getAnnotation() const { return fAnnotation; } |
+ SkAnnotation* setAnnotation(SkAnnotation*); |
+ |
/** |
* Return the paint's SkDrawLooper (if any). Does not affect the looper's |
* reference count. |
@@ -1035,6 +1039,7 @@ |
SkRasterizer* fRasterizer; |
SkDrawLooper* fLooper; |
SkImageFilter* fImageFilter; |
+ SkAnnotation* fAnnotation; |
SkScalar fTextSize; |
SkScalar fTextScaleX; |