aboutsummaryrefslogtreecommitdiffstats
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2012-03-12 15:59:01 -0400
committerDerek Sollenberger <djsollen@google.com>2012-03-12 15:59:01 -0400
commita8a1f8b5da30d0ce9091b8475d336c4ddb0f2b4e (patch)
tree1f4289d1f765d793e8c942ca5b3b87fa56a30258 /include/core/SkPaint.h
parent573b53f8618997434563ae650004f89a20aaf631 (diff)
parent2a049989f422cb1f59e9e05f413d13745f34a3d1 (diff)
downloadexternal_skia-a8a1f8b5da30d0ce9091b8475d336c4ddb0f2b4e.zip
external_skia-a8a1f8b5da30d0ce9091b8475d336c4ddb0f2b4e.tar.gz
external_skia-a8a1f8b5da30d0ce9091b8475d336c4ddb0f2b4e.tar.bz2
resolved conflicts for merge of 2a049989 to master
Change-Id: Ia1cbb6b274e1b3739704de9dd997e6d5dc5185af
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 445f7eb..31bc30b 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -100,11 +100,12 @@ public:
kEmbeddedBitmapText_Flag = 0x400, //!< mask to enable embedded bitmap strikes
kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter
kVerticalText_Flag = 0x1000,
+ kGenA8FromLCD_Flag = 0x2000, // hack for GDI -- do not use if you can help it
// when adding extra flags, note that the fFlags member is specified
// with a bit-width and you'll have to expand it.
- kAllFlags = 0x1FFF
+ kAllFlags = 0x3FFF
};
/** Return the paint's flags. Use the Flag enum to test flag values.
@@ -880,7 +881,7 @@ private:
SkColor fColor;
SkScalar fWidth;
SkScalar fMiterLimit;
- unsigned fFlags : 14;
+ unsigned fFlags : 15;
unsigned fTextAlign : 2;
unsigned fCapType : 2;
unsigned fJoinType : 2;