/third_party/flutter/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 171 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 …]
|
D | SkGlyphRunPainter.h | 89 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun); 159 virtual void startRun(const SkGlyphRun& glyphRun, bool useSDFT) = 0;
|
D | SkGlyphRun.h | 34 SkGlyphRun(const SkGlyphRun& glyphRun, const SkFont& font); 75 SkGlyphRunList(const SkGlyphRun& glyphRun, const SkPaint& paint);
|
D | SkTextBlob.cpp | 853 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()
|
D | SkGlyphRun.cpp | 58 SkGlyphRunList::SkGlyphRunList(const SkGlyphRun& glyphRun, const SkPaint& paint) in SkGlyphRunList() argument 62 , fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} {}
|
D | SkDevice.cpp | 375 SkGlyphRun glyphRun{ in drawGlyphRunRSXform() local 407 this->drawGlyphRunList(SkGlyphRunList{glyphRun, transformingPaint}); in drawGlyphRunRSXform()
|
/third_party/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 96 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()
|
D | SkGlyphRunPainter.h | 90 void processGlyphRun(const SkGlyphRun& glyphRun, 111 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun);
|
D | SkGlyphRun.h | 38 SkGlyphRun(const SkGlyphRun& glyphRun, const SkFont& font); 75 SkGlyphRunList(const SkGlyphRun& glyphRun, const SkRect& bounds, SkPoint origin);
|
D | SkTextBlob.cpp | 900 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()
|
D | SkDevice.cpp | 459 SkGlyphRun glyphRun { in simplifyGlyphRunRSXFormAndRedraw() local 484 SkGlyphRunList{glyphRun, glyphRun.sourceBounds(paint), {0, 0}}, invertingPaint); in simplifyGlyphRunRSXFormAndRedraw()
|
D | SkGlyphRun.cpp | 118 SkGlyphRunList::SkGlyphRunList(const SkGlyphRun& glyphRun, const SkRect& bounds, SkPoint origin) in SkGlyphRunList() argument 119 : fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} in SkGlyphRunList()
|
D | SkCanvas.cpp | 2328 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/ |
D | SkSVGDevice.cpp | 135 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/ |
D | SkScalerContext_win_dw.cpp | 556 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 …]
|
D | SkRemotableFontMgr_win_dw.cpp | 245 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument 250 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
|
D | SkFontMgr_win_dw.cpp | 555 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/ |
D | SkSVGDevice.cpp | 178 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/ |
D | SkScalerContext_win_dw.cpp | 615 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 …]
|
D | SkRemotableFontMgr_win_dw.cpp | 245 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument 250 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
|
D | SkFontMgr_win_dw.cpp | 626 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/ |
D | SkPDFDevice.h | 108 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);
|
D | SkPDFDevice.cpp | 730 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/ |
D | SkPDFDevice.cpp | 756 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 …]
|
D | SkPDFDevice.h | 163 void internalDrawGlyphRun(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint); 164 void drawGlyphRunAsPath(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
|