remove SK_SUPPORT_LEGACY_NESTED_HINTINGENUM code

Bug: skia:
Change-Id: Idc44f02fab691881e1c1a409adc8641663401732
Reviewed-on: https://skia-review.googlesource.com/c/173432
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2018-11-29 22:22:05 -05:00 committed by Skia Commit-Bot
parent 83144d96a1
commit 37cb47685f
2 changed files with 0 additions and 29 deletions

View File

@ -30,17 +30,6 @@ public:
kSubpixelAntiAlias, //!< glyph positioned in pixel using transparency
};
#ifdef SK_SUPPORT_LEGACY_NESTED_HINTINGENUM
/** Amount of font hinting applied to glyph outlines.
*/
enum Hinting : uint8_t {
kNo_Hinting = 0, //!< glyph outlines unchanged
kSlight_Hinting = 1, //!< minimal modification to improve constrast
kNormal_Hinting = 2, //!< glyph outlines modified to improve constrast
kFull_Hinting = 3, //!< modifies glyph outlines for maximum constrast
};
#endif
/** Constructs SkFont with default values.
@return default initialized SkFont

View File

@ -189,24 +189,6 @@ public:
*/
void reset();
#ifdef SK_SUPPORT_LEGACY_NESTED_HINTINGENUM
/** \enum SkPaint::Hinting
Deprecated.
Hinting adjusts the glyph outlines so that the shape provides a uniform
look at a given point size on font engines that support it. Hinting may have a
muted effect or no effect at all depending on the platform.
The four levels roughly control corresponding features on platforms that use FreeType
as the font engine.
*/
enum Hinting : uint8_t {
kNo_Hinting = 0, //!< glyph outlines unchanged
kSlight_Hinting = 1, //!< minimal modification to improve constrast
kNormal_Hinting = 2, //!< glyph outlines modified to improve constrast
kFull_Hinting = 3, //!< modifies glyph outlines for maximum constrast
};
#endif
/** Sets level of glyph outline adjustment.
Does not check for valid values of hintingLevel.