Lines Matching refs:glyph
68 [&](const SkGlyph& glyph, SkPoint position, SkPoint rounding) { in DrawBmpText() argument
71 blob, runIndex, fontCache, &currStrike, glyph, in DrawBmpText()
110 [&](const SkGlyph& glyph, SkPoint position, SkPoint rounding) { in DrawBmpPosText() argument
113 blob, runIndex, fontCache, &currStrike, glyph, in DrawBmpPosText()
134 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in BmpAppendGlyph() local
135 if (!glyph) { in BmpAppendGlyph()
139 int x = vx + glyph->fBounds.fLeft; in BmpAppendGlyph()
140 int y = vy + glyph->fBounds.fTop; in BmpAppendGlyph()
143 int width = glyph->fBounds.width(); in BmpAppendGlyph()
144 int height = glyph->fBounds.height(); in BmpAppendGlyph()
152 blob->appendGlyph(runIndex, r, color, *strike, glyph, scaler, skGlyph, in BmpAppendGlyph()
284 const SkGlyph& glyph = glyphCacheProc(origPaintCache, &textPtr); in DrawDFText() local
286 SkFixed width = glyph.fAdvanceX + autokern.adjust(glyph); in DrawDFText()
289 SkFixed height = glyph.fAdvanceY; in DrawDFText()
355 const SkGlyph& glyph = glyphCacheProc(cache, &text); in DrawDFPosText() local
357 if (glyph.fWidth) { in DrawDFPosText()
365 glyph, in DrawDFPosText()
384 const SkGlyph& glyph = glyphCacheProc(cache, &text); in DrawDFPosText() local
386 if (glyph.fWidth) { in DrawDFPosText()
390 SkScalar advanceX = SkFixedToScalar(glyph.fAdvanceX) * alignMul * textRatio; in DrawDFPosText()
391 SkScalar advanceY = SkFixedToScalar(glyph.fAdvanceY) * alignMul * textRatio; in DrawDFPosText()
397 glyph, in DrawDFPosText()
437 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in DfAppendGlyph() local
438 if (!glyph) { in DfAppendGlyph()
443 if (kA8_GrMaskFormat != glyph->fMaskFormat) { in DfAppendGlyph()
447 SkScalar dx = SkIntToScalar(glyph->fBounds.fLeft + SK_DistanceFieldInset); in DfAppendGlyph()
448 SkScalar dy = SkIntToScalar(glyph->fBounds.fTop + SK_DistanceFieldInset); in DfAppendGlyph()
449 SkScalar width = SkIntToScalar(glyph->fBounds.width() - 2 * SK_DistanceFieldInset); in DfAppendGlyph()
450 SkScalar height = SkIntToScalar(glyph->fBounds.height() - 2 * SK_DistanceFieldInset); in DfAppendGlyph()
461 blob->appendGlyph(runIndex, glyphRect, color, *strike, glyph, scaler, skGlyph, in DfAppendGlyph()
523 const SkGlyph& glyph = glyphCacheProc(cache, &text); in DrawPosTextAsPath() local
524 if (glyph.fWidth) { in DrawPosTextAsPath()
525 const SkPath* path = cache->findPath(glyph); in DrawPosTextAsPath()
530 alignProc(tmsLoc, glyph, &loc); in DrawPosTextAsPath()