Lines Matching refs:cachedGlyph
198 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); in renderUTF() local
201 if (cachedGlyph->mIsValid) { in renderUTF()
204 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF()
207 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF()
210 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF()
215 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF()
226 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); in getCachedUTFChar() local
227 if (cachedGlyph == nullptr) { in getCachedUTFChar()
228 cachedGlyph = cacheGlyph((uint32_t)utfChar); in getCachedUTFChar()
231 if (!cachedGlyph->mIsValid) { in getCachedUTFChar()
232 updateGlyphCache(cachedGlyph); in getCachedUTFChar()
235 return cachedGlyph; in getCachedUTFChar()