Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkFindAndPlaceGlyph.h57 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0}; in SubpixelAlignment()
59 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
61 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), in SubpixelAlignment()
62 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
73 return {kSubpixelRounding, SK_ScalarHalf}; in SubpixelPositionRounding()
75 return {SK_ScalarHalf, kSubpixelRounding}; in SubpixelPositionRounding()
77 return {kSubpixelRounding, kSubpixelRounding}; in SubpixelPositionRounding()
196 static constexpr SkScalar kSubpixelRounding = SkFixedToScalar(SkGlyph::kSubpixelRound); variable
DSkGlyphRunPainter.cpp39 static constexpr SkScalar kSubpixelRounding = SkFixedToScalar(SkGlyph::kSubpixelRound); in PixelRounding() local
42 return {kSubpixelRounding, SK_ScalarHalf}; in PixelRounding()
44 return {SK_ScalarHalf, kSubpixelRounding}; in PixelRounding()
46 return {kSubpixelRounding, kSubpixelRounding}; in PixelRounding()