Index: src/core/SkScalerContext.h |
diff --git a/src/core/SkScalerContext.h b/src/core/SkScalerContext.h |
index d17b4234963f4b6bb10ebc5c74fa697799267aca..06f5f94e1703af4c20e5f77475f399d09ba6f71c 100644 |
--- a/src/core/SkScalerContext.h |
+++ b/src/core/SkScalerContext.h |
@@ -14,6 +14,10 @@ |
#include "SkPaint.h" |
#include "SkTypeface.h" |
+#ifdef SK_BUILD_FOR_ANDROID |
+ #include "SkPaintOptionsAndroid.h" |
+#endif |
+ |
struct SkGlyph; |
class SkDescriptor; |
class SkMaskFilter; |
@@ -217,6 +221,10 @@ private: |
// never null |
SkAutoTUnref<SkTypeface> fTypeface; |
+#ifdef SK_BUILD_FOR_ANDROID |
+ SkPaintOptionsAndroid fPaintOptionsAndroid; |
+#endif |
+ |
// optional object, which may be null |
SkPathEffect* fPathEffect; |
SkMaskFilter* fMaskFilter; |
@@ -262,6 +270,9 @@ private: |
#define kPathEffect_SkDescriptorTag SkSetFourByteTag('p', 't', 'h', 'e') |
#define kMaskFilter_SkDescriptorTag SkSetFourByteTag('m', 's', 'k', 'f') |
#define kRasterizer_SkDescriptorTag SkSetFourByteTag('r', 'a', 's', 't') |
+#ifdef SK_BUILD_FOR_ANDROID |
+#define kAndroidOpts_SkDescriptorTag SkSetFourByteTag('a', 'n', 'd', 'r') |
+#endif |
/////////////////////////////////////////////////////////////////////////////// |