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:
parent
83144d96a1
commit
37cb47685f
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user