Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScalerCache.cpp32 , fScalerContext{std::move(scaler)}
33 , fFontMetrics{use_or_generate_metrics(fontMetrics, fScalerContext.get())}
34 , fRoundingSpec{fScalerContext->isSubpixel(),
35 fScalerContext->computeAxisAlignmentForHText()} {
36 SkASSERT(fScalerContext != nullptr);
51 SkGlyph* glyph = fAlloc.make<SkGlyph>(fScalerContext->makeGlyph(packedGlyphID)); in digest()
65 if (glyph->setPath(&fAlloc, fScalerContext.get())) { in preparePath()
108 if (glyph->setImage(&fAlloc, fScalerContext.get())) { in prepareImage()
259 const SkTypeface* face = fScalerContext->getTypeface(); in dump()
260 const SkScalerContextRec& rec = fScalerContext->getRec(); in dump()
DSkScalerCache.h112 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext()
144 const std::unique_ptr<SkScalerContext> fScalerContext; variable
/external/skqp/src/core/
DSkStrike.cpp30 , fScalerContext{std::move(scaler)}
32 , fIsSubpixel{fScalerContext->isSubpixel()}
33 , fAxisAlignment{fScalerContext->computeAxisAlignmentForHText()}
35 SkASSERT(fScalerContext != nullptr);
50 return fScalerContext->getGlyphCount(); in getGlyphCount()
99 fScalerContext->getMetrics(glyphPtr); in lookupByPackedGlyphID()
114 fScalerContext->getAdvance(glyphPtr); in allocateNewGlyph()
117 fScalerContext->getMetrics(glyphPtr); in allocateNewGlyph()
131 fScalerContext->getImage(glyph); in findImage()
171 const_cast<SkGlyph&>(glyph).addPath(fScalerContext.get(), &fAlloc); in findPath()
[all …]
DSkStrike.h119 return fScalerContext->getMaskFormat(); in getMaskFormat()
139 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext()
204 const std::unique_ptr<SkScalerContext> fScalerContext; variable