Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.cpp171 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice() local
172 const SkFont& runFont = glyphRun.font(); in drawForBitmapDevice()
173 auto runSize = glyphRun.runSize(); in drawForBitmapDevice()
185 glyphRun.glyphsIDs().data(), in drawForBitmapDevice()
186 glyphRun.positions().data(), in drawForBitmapDevice()
193 glyphRun.runSize(), in drawForBitmapDevice()
239 glyphRun.glyphsIDs().data(), in drawForBitmapDevice()
240 glyphRun.positions().data(), in drawForBitmapDevice()
247 glyphRun.runSize(), in drawForBitmapDevice()
390 for (const auto& glyphRun : glyphRunList) { in processGlyphRunList() local
[all …]
DSkGlyphRunPainter.h89 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun);
159 virtual void startRun(const SkGlyphRun& glyphRun, bool useSDFT) = 0;
DSkGlyphRun.h34 SkGlyphRun(const SkGlyphRun& glyphRun, const SkFont& font);
75 SkGlyphRunList(const SkGlyphRun& glyphRun, const SkPaint& paint);
DSkTextBlob.cpp853 int get_glyph_run_intercepts(const SkGlyphRun& glyphRun, in get_glyph_run_intercepts() argument
860 SkFont interceptFont{glyphRun.font()}; in get_glyph_run_intercepts()
895 const SkPoint* posCursor = glyphRun.positions().begin(); in get_glyph_run_intercepts()
896 for (auto glyphID : glyphRun.glyphsIDs()) { in get_glyph_run_intercepts()
924 for (const SkGlyphRun& glyphRun : glyphRunList) { in getIntercepts() local
925 … intervalCount = get_glyph_run_intercepts(glyphRun, *paint, bounds, intervals, &intervalCount); in getIntercepts()
DSkGlyphRun.cpp58 SkGlyphRunList::SkGlyphRunList(const SkGlyphRun& glyphRun, const SkPaint& paint) in SkGlyphRunList() argument
62 , fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} {}
DSkDevice.cpp375 SkGlyphRun glyphRun{ in drawGlyphRunRSXform() local
407 this->drawGlyphRunList(SkGlyphRunList{glyphRun, transformingPaint}); in drawGlyphRunRSXform()
/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()
/third_party/flutter/skia/src/svg/
DSkSVGDevice.cpp135 SkPath GetPath(const SkGlyphRun& glyphRun, const SkPoint& offset) { in GetPath() argument
142 } rec = { &path, offset, glyphRun.positions().data() }; in GetPath()
144 glyphRun.font().getPaths(glyphRun.glyphsIDs().data(), SkToInt(glyphRun.glyphsIDs().size()), in GetPath()
871 SVGTextBuilder(SkPoint origin, const SkGlyphRun& glyphRun) in SVGTextBuilder() argument
873 auto runSize = glyphRun.runSize(); in SVGTextBuilder()
875 SkFontPriv::GlyphsToUnichars(glyphRun.font(), glyphRun.glyphsIDs().data(), in SVGTextBuilder()
877 auto positions = glyphRun.positions(); in SVGTextBuilder()
958 void SkSVGDevice::drawGlyphRunAsPath(const SkGlyphRun& glyphRun, const SkPoint& origin, in drawGlyphRunAsPath() argument
960 this->drawPath(GetPath(glyphRun, origin), runPaint); in drawGlyphRunAsPath()
963 void SkSVGDevice::drawGlyphRunAsText(const SkGlyphRun& glyphRun, const SkPoint& origin, in drawGlyphRunAsText() argument
[all …]
/third_party/flutter/skia/src/ports/
DSkScalerContext_win_dw.cpp556 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorMetrics()
557 colorGlyph->glyphRun.fontEmSize, in generateColorMetrics()
558 colorGlyph->glyphRun.glyphIndices, in generateColorMetrics()
559 colorGlyph->glyphRun.glyphAdvances, in generateColorMetrics()
560 colorGlyph->glyphRun.glyphOffsets, in generateColorMetrics()
561 colorGlyph->glyphRun.glyphCount, in generateColorMetrics()
562 colorGlyph->glyphRun.isSideways, in generateColorMetrics()
563 colorGlyph->glyphRun.bidiLevel % 2, //rtl in generateColorMetrics()
1037 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorGlyphImage()
1038 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.cpp555 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument
559 if (!glyphRun->fontFace) { in DrawGlyphRun()
564 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
576 fResolvedTypeface = fOuter->makeTypefaceFromDWriteFont(glyphRun->fontFace, in DrawGlyphRun()
/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/flutter/skia/src/pdf/
DSkPDFDevice.h108 void DrawGlyphRunAsPath(SkPDFDevice* dev, const SkGlyphRun& glyphRun, SkPoint offset);
168 void internalDrawGlyphRun(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
169 void drawGlyphRunAsPath(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
DSkPDFDevice.cpp730 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in drawGlyphRunAsPath() argument
731 const SkFont& font = glyphRun.font(); in drawGlyphRunAsPath()
738 } rec = {&path, offset, glyphRun.positions().data()}; in drawGlyphRunAsPath()
740 font.getPaths(glyphRun.glyphsIDs().data(), glyphRun.glyphsIDs().size(), in drawGlyphRunAsPath()
753 SkFont transparentFont = glyphRun.font(); in drawGlyphRunAsPath()
755 SkGlyphRun tmpGlyphRun(glyphRun, transparentFont); in drawGlyphRunAsPath()
788 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in internalDrawGlyphRun() argument
790 const SkGlyphID* glyphIDs = glyphRun.glyphsIDs().data(); in internalDrawGlyphRun()
791 uint32_t glyphCount = SkToU32(glyphRun.glyphsIDs().size()); in internalDrawGlyphRun()
792 const SkFont& glyphRunFont = glyphRun.font(); in internalDrawGlyphRun()
[all …]
/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);

12