Lines Matching refs:glyph
128 GrGlyph* glyph = fStrike->getGlyph(packed, scaler); in drawPackedGlyph() local
129 if (NULL == glyph || glyph->fBounds.isEmpty()) { in drawPackedGlyph()
133 vx += SkIntToFixed(glyph->fBounds.fLeft); in drawPackedGlyph()
134 vy += SkIntToFixed(glyph->fBounds.fTop); in drawPackedGlyph()
137 GrFixed width = glyph->fBounds.width(); in drawPackedGlyph()
138 GrFixed height = glyph->fBounds.height(); in drawPackedGlyph()
141 if (true || NULL == glyph->fAtlas) { in drawPackedGlyph()
150 if (NULL == glyph->fAtlas) { in drawPackedGlyph()
151 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
161 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
165 if (NULL == glyph->fPath) { in drawPackedGlyph()
167 if (!scaler->getGlyphPath(glyph->glyphID(), path)) { in drawPackedGlyph()
172 glyph->fPath = path; in drawPackedGlyph()
177 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)), in drawPackedGlyph()
178 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop))); in drawPackedGlyph()
182 fContext->drawPath(tmpPaint, *glyph->fPath, stroke); in drawPackedGlyph()
187 GrAssert(glyph->fAtlas); in drawPackedGlyph()
193 GrTexture* texture = glyph->fAtlas->texture(); in drawPackedGlyph()
237 GrFixed tx = SkIntToFixed(glyph->fAtlasLocation.fX); in drawPackedGlyph()
238 GrFixed ty = SkIntToFixed(glyph->fAtlasLocation.fY); in drawPackedGlyph()