Lines Matching refs:xyIndex
824 static SkFixed advance(const SkGlyph& glyph, int xyIndex) { in advance() argument
825 SkASSERT(0 == xyIndex || 1 == xyIndex); in advance()
826 return (&glyph.fAdvanceX)[xyIndex]; in advance()
843 int xyIndex; in measure_text() local
846 xyIndex = 1; in measure_text()
849 xyIndex = 0; in measure_text()
859 Sk48Dot16 x = advance(*g, xyIndex); in measure_text()
869 x += SkAutoKern_AdjustF(rsb, g->fLsbDelta) + advance(*g, xyIndex); in measure_text()
873 x += advance(glyphCacheProc(cache, &text), xyIndex); in measure_text()
885 x += advance(*g, xyIndex); in measure_text()
891 x += advance(*g, xyIndex); in measure_text()
967 const int xyIndex = paint.isVerticalText() ? 1 : 0; in breakText() local
979 SkFixed x = SkAutoKern_AdjustF(rsb, g.fLsbDelta) + advance(g, xyIndex); in breakText()
990 SkFixed x = advance(glyphCacheProc(cache, &text), xyIndex); in breakText()
1090 const int xyIndex = paint.isVerticalText() ? 1 : 0; in getTextWidths() local
1107 prevWidth = advance(g, xyIndex); in getTextWidths()
1126 prevWidth = advance(g, xyIndex); in getTextWidths()
1142 *widths++ = SkScalarMul(SkFixedToScalar(advance(g, xyIndex)), in getTextWidths()
1154 *widths++ = SkFixedToScalar(advance(g, xyIndex)); in getTextWidths()