• Home
  • Raw
  • Download

Lines Matching refs:glyph

136     GrGlyph* glyph = fStrike->getGlyph(packed, scaler);  in drawPackedGlyph()  local
137 if (NULL == glyph || glyph->fBounds.isEmpty()) { in drawPackedGlyph()
141 vx += SkIntToFixed(glyph->fBounds.fLeft); in drawPackedGlyph()
142 vy += SkIntToFixed(glyph->fBounds.fTop); in drawPackedGlyph()
145 GrFixed width = glyph->fBounds.width(); in drawPackedGlyph()
146 GrFixed height = glyph->fBounds.height(); in drawPackedGlyph()
149 if (true || NULL == glyph->fPlot) { in drawPackedGlyph()
158 if (NULL == glyph->fPlot) { in drawPackedGlyph()
159 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
165 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
182 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
186 if (NULL == glyph->fPath) { in drawPackedGlyph()
188 if (!scaler->getGlyphPath(glyph->glyphID(), path)) { in drawPackedGlyph()
193 glyph->fPath = path; in drawPackedGlyph()
198 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)), in drawPackedGlyph()
199 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop))); in drawPackedGlyph()
203 fContext->drawPath(tmpPaint, *glyph->fPath, stroke); in drawPackedGlyph()
208 SkASSERT(glyph->fPlot); in drawPackedGlyph()
210 glyph->fPlot->setDrawToken(drawToken); in drawPackedGlyph()
216 GrTexture* texture = glyph->fPlot->texture(); in drawPackedGlyph()
257 GrFixed tx = SkIntToFixed(glyph->fAtlasLocation.fX); in drawPackedGlyph()
258 GrFixed ty = SkIntToFixed(glyph->fAtlasLocation.fY); in drawPackedGlyph()