aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-04-05 07:55:55 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-05 12:24:36 +0000
commit1cfcf2b167754cd3a9158ff6b73407c238c86269 (patch)
treee02c6588e917cc38ba95a2adf684277fb2b51d00 /include/core
parentfb0bd98a43fa11e09705837418167dd72bb4a361 (diff)
remove SK_SUPPORT_LEGACY_PAINT_TEXTDECORATION
Bug: skia: Change-Id: I8187fdc554de5f052b953ce1a41e4fa8af6e5b16 Reviewed-on: https://skia-review.googlesource.com/11323 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPaint.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index caa5491fa2..72a8a74407 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -114,11 +114,6 @@ public:
// with a bit-width and you'll have to expand it.
kAllFlags = 0xFFFF,
-
-#ifdef SK_SUPPORT_LEGACY_PAINT_TEXTDECORATION
- kUnderlineText_Flag = 0x08,
- kStrikeThruText_Flag = 0x10,
-#endif
};
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
@@ -238,20 +233,6 @@ public:
*/
void setVerticalText(bool);
- /** Helper for getFlags(), returning true if kUnderlineText_Flag bit is set
- @return true if the underlineText bit is set in the paint's flags.
- */
-#ifdef SK_SUPPORT_LEGACY_PAINT_TEXTDECORATION
- bool isUnderlineText() const { return false; }
-#endif
-
- /** Helper for getFlags(), returns true if kStrikeThruText_Flag bit is set
- @return true if the strikeThruText bit is set in the paint's flags.
- */
-#ifdef SK_SUPPORT_LEGACY_PAINT_TEXTDECORATION
- bool isStrikeThruText() const { return false; }
-#endif
-
/** Helper for getFlags(), returns true if kFakeBoldText_Flag bit is set
@return true if the kFakeBoldText_Flag bit is set in the paint's flags.
*/