diff options
author | jvanverth <jvanverth@google.com> | 2015-06-22 06:46:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-22 06:46:56 -0700 |
commit | 4854d13c27f6e3f8f763afd291821ce42324e645 (patch) | |
tree | 0fec644c4ff6dd8c8d53562251066cc6e7224700 /include | |
parent | 01f38915e1ed20cb7cc319e2ed6a26cc74db2c16 (diff) |
Remove distance field flag from SkPaint
Review URL: https://codereview.chromium.org/1192413005
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPaint.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index b52b7c1b2d..6236546042 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -116,8 +116,6 @@ public: 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 - kDistanceFieldTextTEMP_Flag = 0x4000, //!< TEMPORARY mask to enable distance fields - // currently overrides LCD and subpixel rendering // when adding extra flags, note that the fFlags member is specified // with a bit-width and you'll have to expand it. @@ -284,19 +282,6 @@ public: */ void setDevKernText(bool devKernText); - /** Helper for getFlags(), returns true if kDistanceFieldTextTEMP_Flag bit is set - @return true if the distanceFieldText bit is set in the paint's flags. - */ - bool isDistanceFieldTextTEMP() const { - return SkToBool(this->getFlags() & kDistanceFieldTextTEMP_Flag); - } - - /** Helper for setFlags(), setting or clearing the kDistanceFieldTextTEMP_Flag bit - @param distanceFieldText true to set the kDistanceFieldTextTEMP_Flag bit in the paint's - flags, false to clear it. - */ - void setDistanceFieldTextTEMP(bool distanceFieldText); - #ifdef SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM enum FilterLevel { kNone_FilterLevel = kNone_SkFilterQuality, |