Searched refs:axisAlignment (Results 1 – 5 of 5) sorted by relevance
/external/skqp/src/core/ |
D | SkFindAndPlaceGlyph.h | 47 static SkIPoint SubpixelAlignment(SkAxisAlignment axisAlignment, SkPoint position) { in SubpixelAlignment() argument 55 switch (axisAlignment) { in SubpixelAlignment() 70 static SkPoint SubpixelPositionRounding(SkAxisAlignment axisAlignment) { in SubpixelPositionRounding() argument 71 switch (axisAlignment) { in SubpixelPositionRounding() 275 SkArenaAlloc* arena, SkAxisAlignment axisAlignment, SkStrike* cache) in getSubpixel() argument 277 switch (axisAlignment) { in getSubpixel() 299 SkAxisAlignment axisAlignment = cache->getScalerContext()->computeAxisAlignmentForHText(); in ProcessPosText() local 303 if (axisAlignment == kX_SkAxisAlignment in ProcessPosText() 340 findAndPosition = getSubpixel<ProcessOneGlyph>(&arena, axisAlignment, cache); in ProcessPosText()
|
D | SkGlyphRunPainter.h | 33 static SkVector PixelRounding(bool isSubpixel, SkAxisAlignment axisAlignment); 36 static SkIPoint SubpixelLookup(SkAxisAlignment axisAlignment, SkPoint position);
|
D | SkGlyphRunPainter.cpp | 35 SkVector SkStrikeCommon::PixelRounding(bool isSubpixel, SkAxisAlignment axisAlignment) { in PixelRounding() argument 40 switch (axisAlignment) { in PixelRounding() 54 SkIPoint SkStrikeCommon::SubpixelLookup(SkAxisAlignment axisAlignment, SkPoint position) { in SubpixelLookup() argument 60 if (axisAlignment == kX_SkAxisAlignment) { in SubpixelLookup() 62 } else if (axisAlignment == kY_SkAxisAlignment) { in SubpixelLookup()
|
/external/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 395 bool isSubpixel, SkAxisAlignment axisAlignment) { in HalfAxisSampleFreq() argument 399 switch (axisAlignment) { in HalfAxisSampleFreq() 414 bool isSubpixel, SkAxisAlignment axisAlignment) { in IgnorePositionMask() argument 415 return SkIPoint::Make((!isSubpixel || axisAlignment == kY_SkAxisAlignment) ? 0 : ~0, in IgnorePositionMask() 416 (!isSubpixel || axisAlignment == kX_SkAxisAlignment) ? 0 : ~0); in IgnorePositionMask() 420 SkAxisAlignment axisAlignment) { in IgnorePositionFieldMask() argument 421 SkIPoint ignoreMask = IgnorePositionMask(isSubpixel, axisAlignment); in IgnorePositionFieldMask() 428 bool isSubpixel,SkAxisAlignment axisAlignment) in SkGlyphPositionRoundingSpec() argument 429 : halfAxisSampleFreq{HalfAxisSampleFreq(isSubpixel, axisAlignment)} in SkGlyphPositionRoundingSpec() 430 , ignorePositionMask{IgnorePositionMask(isSubpixel, axisAlignment)} [all …]
|
D | SkGlyphRunPainter.h | 35 SkGlyphPositionRoundingSpec(bool isSubpixel, SkAxisAlignment axisAlignment); 41 static SkVector HalfAxisSampleFreq(bool isSubpixel, SkAxisAlignment axisAlignment); 42 static SkIPoint IgnorePositionMask(bool isSubpixel, SkAxisAlignment axisAlignment); 43 static SkIPoint IgnorePositionFieldMask(bool isSubpixel, SkAxisAlignment axisAlignment);
|