Home
last modified time | relevance | path

Searched refs:fScalerContext (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkGlyphCache.cpp38 , fScalerContext(std::move(ctx)) { in SkGlyphCache()
40 SkASSERT(fScalerContext); in SkGlyphCache()
44 fScalerContext->getFontMetrics(&fFontMetrics); in SkGlyphCache()
84 SkGlyphID glyphID = fScalerContext->charToGlyphID(charCode); in unicharToGlyph()
91 return fScalerContext->glyphIDToChar(glyphID); in glyphToUnichar()
95 return fScalerContext->getGlyphCount(); in getGlyphCount()
144 rec->fPackedGlyphID = SkPackedGlyphID(fScalerContext->charToGlyphID(charCode), x, y); in lookupByChar()
156 fScalerContext->getMetrics(glyph); in lookupByPackedGlyphID()
173 fScalerContext->getAdvance(glyphPtr); in allocateNewGlyph()
176 fScalerContext->getMetrics(glyphPtr); in allocateNewGlyph()
[all …]
DSkGlyphCache.h101 return fScalerContext->getMaskFormat(); in getMaskFormat()
105 return fScalerContext->isSubpixel(); in isSubpixel()
113 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext()
232 const std::unique_ptr<SkScalerContext> fScalerContext; variable
/external/skia/src/gpu/
DGrPathRendering.cpp51 : fScalerContext(typeface.createScalerContext(effects, &desc)) in GlyphGenerator()
58 return fScalerContext->getGlyphCount(); in getNumPaths()
62 fScalerContext->getPath(glyphID, out); in generatePath()
68 const std::unique_ptr<SkScalerContext> fScalerContext; member in GlyphGenerator