Lines Matching refs:charCode
73 SkGlyphID SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() argument
75 SkPackedUnicharID packedUnicharID(charCode); in unicharToGlyph()
84 SkGlyphID glyphID = fScalerContext->charToGlyphID(charCode); in unicharToGlyph()
104 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() argument
106 return *this->lookupByChar(charCode, kJustAdvance_MetricsType); in getUnicharAdvance()
117 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() argument
119 return *this->lookupByChar(charCode, kFull_MetricsType); in getUnicharMetrics()
122 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, SkFixed x, SkFixed y) { in getUnicharMetrics() argument
124 return *this->lookupByChar(charCode, kFull_MetricsType, x, y); in getUnicharMetrics()
139 SkGlyph* SkGlyphCache::lookupByChar(SkUnichar charCode, MetricsType type, SkFixed x, SkFixed y) { in lookupByChar() argument
140 SkPackedUnicharID id(charCode, x, y); in lookupByChar()
144 rec->fPackedGlyphID = SkPackedGlyphID(fScalerContext->charToGlyphID(charCode), x, y); in lookupByChar()