Lines Matching refs:xyIndex
1054 // xyIndex is 0 for fAdvanceX or 1 for fAdvanceY
1055 static SkFixed advance(const SkGlyph& glyph, int xyIndex) {
1056 SkASSERT(0 == xyIndex || 1 == xyIndex);
1057 return (&glyph.fAdvanceX)[xyIndex];
1076 int xyIndex;
1079 xyIndex = 1;
1082 xyIndex = 0;
1092 Sk48Dot16 x = advance(*g, xyIndex);
1102 x += SkAutoKern_AdjustF(rsb, g->fLsbDelta) + advance(*g, xyIndex);
1106 x += advance(glyphCacheProc(cache, &text), xyIndex);
1118 x += advance(*g, xyIndex);
1124 x += advance(*g, xyIndex);
1233 const int xyIndex = paint.isVerticalText() ? 1 : 0;
1245 SkFixed x = SkAutoKern_AdjustF(rsb, g.fLsbDelta) + advance(g, xyIndex);
1256 SkFixed x = advance(glyphCacheProc(cache, &text), xyIndex);
1358 const int xyIndex = paint.isVerticalText() ? 1 : 0;
1375 prevWidth = advance(g, xyIndex);
1394 prevWidth = advance(g, xyIndex);
1410 *widths++ = SkScalarMul(SkFixedToScalar(advance(g, xyIndex)),
1422 *widths++ = SkFixedToScalar(advance(g, xyIndex));