aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index e2b3be7645..7f3f0be223 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -98,10 +98,14 @@ public:
kLCDRenderText_Flag = 0x200, //!< mask to enable subpixel glyph renderering
kEmbeddedBitmapText_Flag = 0x400, //!< mask to enable embedded bitmap strikes
kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter
+
+ // experimental/private
+ kForceAAText_Flag = 0x1000,
+
// when adding extra flags, note that the fFlags member is specified
// with a bit-width and you'll have to expand it.
- kAllFlags = 0xFFF
+ kAllFlags = 0x1FFF
};
/** Return the paint's flags. Use the Flag enum to test flag values.
@@ -834,7 +838,7 @@ private:
SkColor fColor;
SkScalar fWidth;
SkScalar fMiterLimit;
- unsigned fFlags : 12;
+ unsigned fFlags : 13;
unsigned fTextAlign : 2;
unsigned fCapType : 2;
unsigned fJoinType : 2;