Home
last modified time | relevance | path

Searched refs:idOrPath (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkStrike.cpp177 for (sktext::IDOrPath& idOrPath : idsOrPaths) { in glyphIDsToPaths()
178 SkGlyph* glyph = this->glyph(SkPackedGlyphID{idOrPath.fGlyphID}); in glyphIDsToPaths()
180 new (&idOrPath.fPath) SkPath{*glyph->path()}; in glyphIDsToPaths()
/external/skia/src/text/gpu/
DSubRunContainer.cpp620 for (IDOrPath& idOrPath : fIDsOrPaths) { in flatten()
621 buffer.writeInt(idOrPath.fGlyphID); in flatten()
646 for (auto& idOrPath : idsOrPaths) { in MakeFromBuffer() local
647 idOrPath.fGlyphID = SkTo<SkGlyphID>(buffer.readInt()); in MakeFromBuffer()
676 for (auto& idOrPath : fIDsOrPaths) { in ~PathOpSubmitter() local
677 idOrPath.fPath.~SkPath(); in ~PathOpSubmitter()
743 for (auto [idOrPath, pos] : SkMakeZip(fIDsOrPaths, fPositions)) { in submitDraws()
750 canvas->drawPath(idOrPath.fPath, runPaint); in submitDraws()
755 for (auto [idOrPath, pos] : SkMakeZip(fIDsOrPaths, fPositions)) { in submitDraws()
761 idOrPath.fPath.transform(pathMatrix, &deviceOutline); in submitDraws()