Home
last modified time | relevance | path

Searched refs:kSubpixelRounding (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkFindAndPlaceGlyph.h271 #define kSubpixelRounding (SkFixedToScalar(SkGlyph::kSubpixelRound)) macro
278 return {kSubpixelRounding, SK_ScalarHalf}; in SubpixelPositionRounding()
280 return {SK_ScalarHalf, kSubpixelRounding}; in SubpixelPositionRounding()
282 return {kSubpixelRounding, kSubpixelRounding}; in SubpixelPositionRounding()
296 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0}; in SubpixelAlignment()
298 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
300 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), in SubpixelAlignment()
301 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
307 #undef kSubpixelRounding