Home
last modified time | relevance | path

Searched refs:glyphRun (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/core/
DSkGlyphRunPainter.cpp96 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice() local
97 const SkFont& runFont = glyphRun.font(); in drawForBitmapDevice()
99 fRejects.setSource(glyphRun.source()); in drawForBitmapDevice()
227 void SkGlyphRunListPainter::processGlyphRun(const SkGlyphRun& glyphRun, in processGlyphRun() argument
241 ScopedBuffers _ = this->ensureBuffers(glyphRun); in processGlyphRun()
242 fRejects.setSource(glyphRun.source()); in processGlyphRun()
243 const SkFont& runFont = glyphRun.font(); in processGlyphRun()
383 auto SkGlyphRunListPainter::ensureBuffers(const SkGlyphRun& glyphRun) -> ScopedBuffers { in ensureBuffers() argument
384 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
DSkGlyphRunPainter.h90 void processGlyphRun(const SkGlyphRun& glyphRun,
111 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun);
DSkGlyphRun.h38 SkGlyphRun(const SkGlyphRun& glyphRun, const SkFont& font);
75 SkGlyphRunList(const SkGlyphRun& glyphRun, const SkRect& bounds, SkPoint origin);
DSkTextBlob.cpp900 int get_glyph_run_intercepts(const SkGlyphRun& glyphRun, in get_glyph_run_intercepts() argument
907 SkFont interceptFont{glyphRun.font()}; in get_glyph_run_intercepts()
935 const SkPoint* posCursor = glyphRun.positions().begin(); in get_glyph_run_intercepts()
936 for (const SkGlyph* glyph : metricsAndPaths.glyphs(glyphRun.glyphsIDs())) { in get_glyph_run_intercepts()
966 for (const SkGlyphRun& glyphRun : glyphRunList) { in getIntercepts() local
968 if (glyphRun.scaledRotations().empty()) { in getIntercepts()
970 glyphRun, *paint, bounds, intervals, &intervalCount); in getIntercepts()
DSkDevice.cpp459 SkGlyphRun glyphRun { in simplifyGlyphRunRSXFormAndRedraw() local
484 SkGlyphRunList{glyphRun, glyphRun.sourceBounds(paint), {0, 0}}, invertingPaint); in simplifyGlyphRunRSXFormAndRedraw()
DSkGlyphRun.cpp118 SkGlyphRunList::SkGlyphRunList(const SkGlyphRun& glyphRun, const SkRect& bounds, SkPoint origin) in SkGlyphRunList() argument
119 : fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} in SkGlyphRunList()
DSkCanvas.cpp2328 SkGlyphRun glyphRun { in drawGlyphs() local
2337 glyphRun, in drawGlyphs()
2338 glyphRun.sourceBounds(paint).makeOffset(origin), in drawGlyphs()
2348 SkGlyphRun glyphRun { in drawGlyphs() local
2357 glyphRun, in drawGlyphs()
2358 glyphRun.sourceBounds(paint).makeOffset(origin), in drawGlyphs()
2371 SkGlyphRun glyphRun { in drawGlyphs() local
2380 glyphRun, in drawGlyphs()
2381 glyphRun.sourceBounds(paint).makeOffset(origin), in drawGlyphs()
DSkRemoteGlyphCache.cpp813 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() local
814 fPainter.processGlyphRun(glyphRun, in onDrawGlyphRunList()
/third_party/skia/src/svg/
DSkSVGDevice.cpp178 void AddPath(const SkGlyphRun& glyphRun, const SkPoint& offset, SkPath* path) { in AddPath() argument
183 } rec = { path, offset, glyphRun.positions().data() }; in AddPath()
185 glyphRun.font().getPaths(glyphRun.glyphsIDs().data(), SkToInt(glyphRun.glyphsIDs().size()), in AddPath()
987 SVGTextBuilder(SkPoint origin, const SkGlyphRun& glyphRun) in SVGTextBuilder() argument
989 auto runSize = glyphRun.runSize(); in SVGTextBuilder()
991 SkFontPriv::GlyphsToUnichars(glyphRun.font(), glyphRun.glyphsIDs().data(), in SVGTextBuilder()
993 auto positions = glyphRun.positions(); in SVGTextBuilder()
1082 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() local
1083 AddPath(glyphRun, glyphRunList.origin(), &path); in onDrawGlyphRunList()
1092 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() local
[all …]
/third_party/skia/src/ports/
DSkScalerContext_win_dw.cpp615 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorMetrics()
616 colorGlyph->glyphRun.fontEmSize, in generateColorMetrics()
617 colorGlyph->glyphRun.glyphIndices, in generateColorMetrics()
618 colorGlyph->glyphRun.glyphAdvances, in generateColorMetrics()
619 colorGlyph->glyphRun.glyphOffsets, in generateColorMetrics()
620 colorGlyph->glyphRun.glyphCount, in generateColorMetrics()
621 colorGlyph->glyphRun.isSideways, in generateColorMetrics()
622 colorGlyph->glyphRun.bidiLevel % 2, //rtl in generateColorMetrics()
1108 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorGlyphImage()
1109 colorGlyph->glyphRun.fontEmSize, in generateColorGlyphImage()
[all …]
DSkRemotableFontMgr_win_dw.cpp245 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument
250 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
DSkFontMgr_win_dw.cpp626 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument
630 if (!glyphRun->fontFace) { in DrawGlyphRun()
635 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
647 fResolvedTypeface = fOuter->makeTypefaceFromDWriteFont(glyphRun->fontFace, in DrawGlyphRun()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp756 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in drawGlyphRunAsPath() argument
757 const SkFont& font = glyphRun.font(); in drawGlyphRunAsPath()
764 } rec = {&path, offset, glyphRun.positions().data()}; in drawGlyphRunAsPath()
766 font.getPaths(glyphRun.glyphsIDs().data(), glyphRun.glyphsIDs().size(), in drawGlyphRunAsPath()
779 SkFont transparentFont = glyphRun.font(); in drawGlyphRunAsPath()
781 SkGlyphRun tmpGlyphRun(glyphRun, transparentFont); in drawGlyphRunAsPath()
812 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in internalDrawGlyphRun() argument
814 const SkGlyphID* glyphIDs = glyphRun.glyphsIDs().data(); in internalDrawGlyphRun()
815 uint32_t glyphCount = SkToU32(glyphRun.glyphsIDs().size()); in internalDrawGlyphRun()
816 const SkFont& glyphRunFont = glyphRun.font(); in internalDrawGlyphRun()
[all …]
DSkPDFDevice.h163 void internalDrawGlyphRun(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
164 void drawGlyphRunAsPath(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp339 for (auto& glyphRun : glyphRunList) { in drawGlyphRunListNoCache() local
341 fGlyphPainter.processGlyphRun(glyphRun, in drawGlyphRunListNoCache()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1537 for (auto& glyphRun : glyphRunList) { in Make() local
1538 painter->processGlyphRun(glyphRun, in Make()