Lines Matching refs:cachedGlyph
199 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar);
202 if (cachedGlyph->mIsValid) {
205 drawCachedGlyph(cachedGlyph, penX, penY);
208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH);
211 measureCachedGlyph(cachedGlyph, penX, penY, bounds);
216 penX += (cachedGlyph->mAdvanceX >> 6);
227 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar);
228 if (cachedGlyph == NULL) {
229 cachedGlyph = cacheGlyph((uint32_t)utfChar);
232 if (!cachedGlyph->mIsValid) {
233 updateGlyphCache(cachedGlyph);
236 return cachedGlyph;