Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.cpp492 bool isSubpixel, SkAxisAlignment axisAlignment) { in HalfAxisSampleFreq()
497 case SkAxisAlignment::kX: in HalfAxisSampleFreq()
499 case SkAxisAlignment::kY: in HalfAxisSampleFreq()
501 case SkAxisAlignment::kNone: in HalfAxisSampleFreq()
511 bool isSubpixel, SkAxisAlignment axisAlignment) { in IgnorePositionMask()
512 return SkIPoint::Make((!isSubpixel || axisAlignment == SkAxisAlignment::kY) ? 0 : ~0, in IgnorePositionMask()
513 (!isSubpixel || axisAlignment == SkAxisAlignment::kX) ? 0 : ~0); in IgnorePositionMask()
517 SkAxisAlignment axisAlignment) { in IgnorePositionFieldMask()
525 bool isSubpixel, SkAxisAlignment axisAlignment) in SkGlyphPositionRoundingSpec()
DSkGlyph.h213 enum class SkAxisAlignment : uint32_t { enum
227 SkGlyphPositionRoundingSpec(bool isSubpixel, SkAxisAlignment axisAlignment);
233 static SkVector HalfAxisSampleFreq(bool isSubpixel, SkAxisAlignment axisAlignment);
234 static SkIPoint IgnorePositionMask(bool isSubpixel, SkAxisAlignment axisAlignment);
235 static SkIPoint IgnorePositionFieldMask(bool isSubpixel, SkAxisAlignment axisAlignment);
DSkScalerContext.h191 SkAxisAlignment computeAxisAlignmentForHText() const;
355 SkAxisAlignment computeAxisAlignmentForHText() const;
DSkScalerContext.cpp935 SkAxisAlignment SkScalerContext::computeAxisAlignmentForHText() const { in computeAxisAlignmentForHText()
939 SkAxisAlignment SkScalerContextRec::computeAxisAlignmentForHText() const { in computeAxisAlignmentForHText()
948 return SkAxisAlignment::kNone; in computeAxisAlignmentForHText()
953 return SkAxisAlignment::kX; in computeAxisAlignmentForHText()
957 return SkAxisAlignment::kY; in computeAxisAlignmentForHText()
959 return SkAxisAlignment::kNone; in computeAxisAlignmentForHText()
/external/skia/tests/
DSkGlyphBufferTest.cpp34 auto roundingSpec = SkGlyphPositionRoundingSpec(true, SkAxisAlignment::kX); in DEF_TEST()
50 auto roundingSpec = SkGlyphPositionRoundingSpec(false, SkAxisAlignment::kNone); in DEF_TEST()
67 auto roundingSpec = SkGlyphPositionRoundingSpec(true, SkAxisAlignment::kNone); in DEF_TEST()
89 auto roundingSpec = SkGlyphPositionRoundingSpec(true, SkAxisAlignment::kNone); in DEF_TEST()
/external/skia/src/ports/
DSkScalerContext_mac_ct.cpp663 case SkAxisAlignment::kX: in generatePath()
666 case SkAxisAlignment::kY: in generatePath()