Home | History | Annotate | Download | only in core

Lines Matching refs:xyIndex

726 // xyIndex is 0 for fAdvanceX or 1 for fAdvanceY
727 static SkScalar advance(const SkGlyph& glyph, int xyIndex) {
728 SkASSERT(0 == xyIndex || 1 == xyIndex);
729 return SkFloatToScalar((&glyph.fAdvanceX)[xyIndex]);
748 int xyIndex;
751 xyIndex = 1;
754 xyIndex = 0;
761 SkScalar x = advance(*g, xyIndex);
768 x += SkAutoKern_Adjust(rsb, g->fLsbDelta) + advance(*g, xyIndex);
772 x += advance(glyphCacheProc(cache, &text), xyIndex);
783 x += advance(*g, xyIndex);
789 x += advance(*g, xyIndex);
867 const int xyIndex = paint.isVerticalText() ? 1 : 0;
875 SkScalar x = SkAutoKern_Adjust(rsb, g.fLsbDelta) + advance(g, xyIndex);
886 SkScalar x = advance(glyphCacheProc(cache, &text), xyIndex);
977 const int xyIndex = paint.isVerticalText() ? 1 : 0;
993 prevWidth = advance(g, xyIndex);
1012 prevWidth = advance(g, xyIndex);
1028 *widths++ = advance(g, xyIndex) * scale;
1039 *widths++ = advance(g, xyIndex);