Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: include/core/SkPaint.h

Issue 23056005: Nobody defines SK_SUPPORT_HINTING_SCALE_FACTOR any more, so remove it. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: undo Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/core/SkPaint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index fa0c61e4ea5f1813aee8902bccaa3ce937e07c63..52321ddaf6c8738a83d69e156d4fb7cd70e98271 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -717,20 +717,6 @@ public:
*/
void setTextSkewX(SkScalar skewX);
-#ifdef SK_SUPPORT_HINTING_SCALE_FACTOR
- /** Return the paint's scale factor used for correctly rendering
- glyphs in high DPI mode without text subpixel positioning.
- @return the scale factor used for rendering glyphs in high DPI mode.
- */
- SkScalar getHintingScaleFactor() const { return fHintingScaleFactor; }
-
- /** Set the paint's scale factor used for correctly rendering
- glyphs in high DPI mode without text subpixel positioning.
- @param the scale factor used for rendering glyphs in high DPI mode.
- */
- void setHintingScaleFactor(SkScalar hintingScaleFactor);
-#endif
-
/** Describes how to interpret the text parameters that are passed to paint
methods like measureText() and getTextWidths().
*/
@@ -998,9 +984,6 @@ private:
SkScalar fTextSize;
SkScalar fTextScaleX;
SkScalar fTextSkewX;
-#ifdef SK_SUPPORT_HINTING_SCALE_FACTOR
- SkScalar fHintingScaleFactor;
-#endif
SkPathEffect* fPathEffect;
SkShader* fShader;
« no previous file with comments | « gyp/common_conditions.gypi ('k') | src/core/SkPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698