Home
last modified time | relevance | path

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

12

/external/skqp/src/core/
DSkGlyphRunPainter.cpp165 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice() local
166 const SkFont& runFont = glyphRun.font(); in drawForBitmapDevice()
167 auto runSize = glyphRun.runSize(); in drawForBitmapDevice()
171 fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice()
184 for (auto glyphID : glyphRun.glyphsIDs()) { in drawForBitmapDevice()
215 matrix.mapPoints(fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice()
220 for (auto glyphID : glyphRun.glyphsIDs()) { in drawForBitmapDevice()
336 SkStrikeInterface* pathCache, const SkGlyphRun& glyphRun, in drawGlyphRunAsPathWithARGBFallback() argument
343 const SkPoint* positionCursor = glyphRun.positions().data(); in drawGlyphRunAsPathWithARGBFallback()
344 for (auto glyphID : glyphRun.glyphsIDs()) { in drawGlyphRunAsPathWithARGBFallback()
[all …]
DSkRemoteGlyphCacheImpl.h119 const SkPoint& origin, const SkGlyphRun& glyphRun, const SkPaint& runPaint);
122 const SkGlyphRun& glyphRun, const SkMatrix& runMatrix,
126 const SkGlyphRun& glyphRun, const SkMatrix& runMatrix,
131 const SkGlyphRun& glyphRun, const SkMatrix& runMatrix,
DSkGlyphRunPainter.h83 SkStrikeInterface* cache, const SkGlyphRun& glyphRun,
106 SkStrikeInterface* cache, const SkGlyphRun& glyphRun,
112 SkStrikeInterface* cache, const SkGlyphRun& glyphRun,
129 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun);
DSkGlyphRun.h33 SkGlyphRun(const SkGlyphRun& glyphRun, const SkFont& font);
74 SkGlyphRunList(const SkGlyphRun& glyphRun, const SkPaint& paint);
DSkGlyphRun.cpp57 SkGlyphRunList::SkGlyphRunList(const SkGlyphRun& glyphRun, const SkPaint& paint) in SkGlyphRunList() argument
61 , fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} {}
DSkDevice.cpp350 SkGlyphRun glyphRun{ in drawGlyphRunRSXform() local
382 this->drawGlyphRunList(SkGlyphRunList{glyphRun, transformingPaint}); in drawGlyphRunRSXform()
/external/skia/src/core/
DSkGlyphRunPainter.cpp97 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice() local
98 const SkFont& runFont = glyphRun.font(); in drawForBitmapDevice()
100 fRejects.setSource(glyphRun.source()); in drawForBitmapDevice()
228 void SkGlyphRunListPainter::processGlyphRun(const SkGlyphRun& glyphRun, in processGlyphRun() argument
242 ScopedBuffers _ = this->ensureBuffers(glyphRun); in processGlyphRun()
243 fRejects.setSource(glyphRun.source()); in processGlyphRun()
244 const SkFont& runFont = glyphRun.font(); in processGlyphRun()
380 auto SkGlyphRunListPainter::ensureBuffers(const SkGlyphRun& glyphRun) -> ScopedBuffers { in ensureBuffers() argument
381 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
DSkGlyphRunPainter.h88 void processGlyphRun(const SkGlyphRun& glyphRun,
107 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.cpp863 int get_glyph_run_intercepts(const SkGlyphRun& glyphRun, in get_glyph_run_intercepts() argument
870 SkFont interceptFont{glyphRun.font()}; in get_glyph_run_intercepts()
902 const SkPoint* posCursor = glyphRun.positions().begin(); in get_glyph_run_intercepts()
903 for (const SkGlyph* glyph : metricsAndPaths.glyphs(glyphRun.glyphsIDs())) { in get_glyph_run_intercepts()
936 for (const SkGlyphRun& glyphRun : glyphRunList) { in getIntercepts() local
938 if (glyphRun.scaledRotations().empty()) { in getIntercepts()
940 glyphRun, *paint, bounds, intervals, &intervalCount); in getIntercepts()
DSkDevice.cpp456 SkGlyphRun glyphRun { in simplifyGlyphRunRSXFormAndRedraw() local
481 SkGlyphRunList{glyphRun, glyphRun.sourceBounds(paint), {0, 0}}, invertingPaint); in simplifyGlyphRunRSXFormAndRedraw()
DSkGlyphRun.cpp119 SkGlyphRunList::SkGlyphRunList(const SkGlyphRun& glyphRun, const SkRect& bounds, SkPoint origin) in SkGlyphRunList() argument
120 : fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} in SkGlyphRunList()
DSkCanvas.cpp2217 SkGlyphRun glyphRun { in drawGlyphs() local
2226 glyphRun, in drawGlyphs()
2227 glyphRun.sourceBounds(paint).makeOffset(origin), in drawGlyphs()
2237 SkGlyphRun glyphRun { in drawGlyphs() local
2246 glyphRun, in drawGlyphs()
2247 glyphRun.sourceBounds(paint).makeOffset(origin), in drawGlyphs()
2260 SkGlyphRun glyphRun { in drawGlyphs() local
2269 glyphRun, in drawGlyphs()
2270 glyphRun.sourceBounds(paint).makeOffset(origin), in drawGlyphs()
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp586 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorMetrics()
587 colorGlyph->glyphRun.fontEmSize, in generateColorMetrics()
588 colorGlyph->glyphRun.glyphIndices, in generateColorMetrics()
589 colorGlyph->glyphRun.glyphAdvances, in generateColorMetrics()
590 colorGlyph->glyphRun.glyphOffsets, in generateColorMetrics()
591 colorGlyph->glyphRun.glyphCount, in generateColorMetrics()
592 colorGlyph->glyphRun.isSideways, in generateColorMetrics()
593 colorGlyph->glyphRun.bidiLevel % 2, //rtl in generateColorMetrics()
1036 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorGlyphImage()
1037 colorGlyph->glyphRun.fontEmSize, in generateColorGlyphImage()
[all …]
DSkRemotableFontMgr_win_dw.cpp244 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument
249 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
DSkFontMgr_win_dw.cpp533 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument
538 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
550 fResolvedTypeface = fOuter->makeTypefaceFromDWriteFont(glyphRun->fontFace, in DrawGlyphRun()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp571 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorMetrics()
572 colorGlyph->glyphRun.fontEmSize, in generateColorMetrics()
573 colorGlyph->glyphRun.glyphIndices, in generateColorMetrics()
574 colorGlyph->glyphRun.glyphAdvances, in generateColorMetrics()
575 colorGlyph->glyphRun.glyphOffsets, in generateColorMetrics()
576 colorGlyph->glyphRun.glyphCount, in generateColorMetrics()
577 colorGlyph->glyphRun.isSideways, in generateColorMetrics()
578 colorGlyph->glyphRun.bidiLevel % 2, //rtl in generateColorMetrics()
1062 HRVM(colorGlyph->glyphRun.fontFace->GetGlyphRunOutline( in generateColorGlyphImage()
1063 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.cpp565 DWRITE_GLYPH_RUN const* glyphRun, in DrawGlyphRun() argument
569 if (!glyphRun->fontFace) { in DrawGlyphRun()
574 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
586 fResolvedTypeface = fOuter->makeTypefaceFromDWriteFont(glyphRun->fontFace, in DrawGlyphRun()
/external/skia/src/svg/
DSkSVGDevice.cpp179 void AddPath(const SkGlyphRun& glyphRun, const SkPoint& offset, SkPath* path) { in AddPath() argument
184 } rec = { path, offset, glyphRun.positions().data() }; in AddPath()
186 glyphRun.font().getPaths(glyphRun.glyphsIDs().data(), SkToInt(glyphRun.glyphsIDs().size()), in AddPath()
982 SVGTextBuilder(SkPoint origin, const SkGlyphRun& glyphRun) in SVGTextBuilder() argument
984 auto runSize = glyphRun.runSize(); in SVGTextBuilder()
986 SkFontPriv::GlyphsToUnichars(glyphRun.font(), glyphRun.glyphsIDs().data(), in SVGTextBuilder()
988 auto positions = glyphRun.positions(); in SVGTextBuilder()
1077 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() local
1078 AddPath(glyphRun, glyphRunList.origin(), &path); in onDrawGlyphRunList()
1087 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() local
[all …]
/external/skia/src/pdf/
DSkPDFDevice.h104 void DrawGlyphRunAsPath(SkPDFDevice* dev, const SkGlyphRun& glyphRun, SkPoint offset);
165 void internalDrawGlyphRun(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
166 void drawGlyphRunAsPath(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
DSkPDFDevice.cpp748 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in drawGlyphRunAsPath() argument
749 const SkFont& font = glyphRun.font(); in drawGlyphRunAsPath()
756 } rec = {&path, offset, glyphRun.positions().data()}; in drawGlyphRunAsPath()
758 font.getPaths(glyphRun.glyphsIDs().data(), glyphRun.glyphsIDs().size(), in drawGlyphRunAsPath()
771 SkFont transparentFont = glyphRun.font(); in drawGlyphRunAsPath()
773 SkGlyphRun tmpGlyphRun(glyphRun, transparentFont); in drawGlyphRunAsPath()
804 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in internalDrawGlyphRun() argument
806 const SkGlyphID* glyphIDs = glyphRun.glyphsIDs().data(); in internalDrawGlyphRun()
807 uint32_t glyphCount = SkToU32(glyphRun.glyphsIDs().size()); in internalDrawGlyphRun()
808 const SkFont& glyphRunFont = glyphRun.font(); in internalDrawGlyphRun()
[all …]
/external/skqp/src/svg/
DSkSVGDevice.cpp851 SVGTextBuilder(SkPoint origin, const SkGlyphRun& glyphRun) in SVGTextBuilder() argument
854 auto runSize = glyphRun.runSize(); in SVGTextBuilder()
856 glyphRun.font().glyphsToUnichars(glyphRun.glyphsIDs().data(), runSize, unichars.get()); in SVGTextBuilder()
857 auto positions = glyphRun.positions(); in SVGTextBuilder()
931 (SkPoint origin, const SkGlyphRun& glyphRun, const SkPaint& runPaint) { in drawGlyphRunList() argument
933 elem.addTextAttributes(glyphRun.font()); in drawGlyphRunList()
935 SVGTextBuilder builder(origin, glyphRun); in drawGlyphRunList()
941 for (auto& glyphRun : glyphRunList) { in drawGlyphRunList() local
942 processGlyphRun(glyphRunList.origin(), glyphRun, glyphRunList.paint()); in drawGlyphRunList()
/external/skqp/src/pdf/
DSkPDFDevice.h132 void DrawGlyphRunAsPath(SkPDFDevice* dev, const SkGlyphRun& glyphRun, SkPoint offset);
218 void internalDrawGlyphRun(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
219 void drawGlyphRunAsPath(const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint);
DSkPDFDevice.cpp1010 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in drawGlyphRunAsPath() argument
1011 const SkFont& font = glyphRun.font(); in drawGlyphRunAsPath()
1018 } rec = {&path, offset, glyphRun.positions().data()}; in drawGlyphRunAsPath()
1020 font.getPaths(glyphRun.glyphsIDs().data(), glyphRun.glyphsIDs().size(), in drawGlyphRunAsPath()
1033 SkFont transparentFont = glyphRun.font(); in drawGlyphRunAsPath()
1035 SkGlyphRun tmpGlyphRun(glyphRun, transparentFont); in drawGlyphRunAsPath()
1069 const SkGlyphRun& glyphRun, SkPoint offset, const SkPaint& runPaint) { in internalDrawGlyphRun() argument
1071 const SkGlyphID* glyphs = glyphRun.glyphsIDs().data(); in internalDrawGlyphRun()
1072 uint32_t glyphCount = SkToU32(glyphRun.glyphsIDs().size()); in internalDrawGlyphRun()
1073 const SkFont& glyphRunFont = glyphRun.font(); in internalDrawGlyphRun()
[all …]

12