Home
last modified time | relevance | path

Searched refs:strikeSpec (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/core/
DSkGlyphRunPainter.cpp104 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePath( in drawForBitmapDevice() local
107 auto strike = strikeSpec.findOrCreateExclusiveStrike(); in drawForBitmapDevice()
118 bitmapDevice->paintPaths(&fDrawable, strikeSpec.strikeToSourceRatio(), pathPaint); in drawForBitmapDevice()
121 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() local
124 auto strike = strikeSpec.findOrCreateExclusiveStrike(); in drawForBitmapDevice()
163 SkStrikeSpec strikeSpec; in processGlyphRunList() local
164 std::tie(strikeSpec, minScale, maxScale) = in processGlyphRunList()
167 if (!strikeSpec.isEmpty()) { in processGlyphRunList()
168 SkScopedStrikeForGPU strike = strikeSpec.findOrCreateScopedStrike(fStrikeCache); in processGlyphRunList()
178 fDrawable.drawable(), strikeSpec, runFont, minScale, maxScale); in processGlyphRunList()
[all …]
DSkFont.cpp227 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this, paint); in measureText() local
228 SkBulkGlyphMetrics metrics{strikeSpec}; in measureText()
247 const SkScalar scale = strikeSpec.strikeToSourceRatio(); in measureText()
266 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this, paint); in getWidthsBounds() local
267 SkBulkGlyphMetrics metrics{strikeSpec}; in getWidthsBounds()
270 SkScalar scale = strikeSpec.strikeToSourceRatio(); in getWidthsBounds()
289 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this); in getPos() local
290 SkBulkGlyphMetrics metrics{strikeSpec}; in getPos()
296 sum += glyph->advanceVector() * strikeSpec.strikeToSourceRatio(); in getPos()
303 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this); in getXPos() local
[all …]
DSkGlyphRunPainter.h135 const SkStrikeSpec& strikeSpec) = 0;
138 const SkStrikeSpec& strikeSpec) = 0;
142 const SkStrikeSpec& strikeSpec) = 0;
145 const SkStrikeSpec& strikeSpec,
DSkGlyphRun.cpp333 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in simplifyDrawText() local
334 SkBulkGlyphMetrics storage{strikeSpec}; in simplifyDrawText()
DSkTextBlob.cpp889 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); in get_glyph_run_intercepts() local
890 SkBulkGlyphMetricsAndPaths metricsAndPaths{strikeSpec}; in get_glyph_run_intercepts()
/external/skia/src/gpu/text/
DGrTextBlob.h180 const SkStrikeSpec& strikeSpec,
186 const SkStrikeSpec& strikeSpec,
192 const SkStrikeSpec& strikeSpec);
195 const SkStrikeSpec& strikeSpec,
230 const SkStrikeSpec& strikeSpec) override;
233 const SkStrikeSpec& strikeSpec) override;
235 const SkStrikeSpec& strikeSpec,
240 const SkStrikeSpec& strikeSpec) override;
324 const SkStrikeSpec& strikeSpec,
330 SubRun(GrTextBlob* textBlob, const SkStrikeSpec& strikeSpec);
[all …]
DGrTextBlob.cpp46 GrTextBlob::SubRun::SubRun(SubRunType type, GrTextBlob* textBlob, const SkStrikeSpec& strikeSpec, in SubRun() argument
55 , fStrikeSpec{strikeSpec}
64 GrTextBlob::SubRun::SubRun(GrTextBlob* textBlob, const SkStrikeSpec& strikeSpec) in SubRun() argument
70 , fStrikeSpec{strikeSpec}
279 const SkStrikeSpec& GrTextBlob::SubRun::strikeSpec() const { return fStrikeSpec; } in strikeSpec() function in GrTextBlob::SubRun
614 const SkStrikeSpec& strikeSpec, in makeSubRun() argument
624 sk_sp<GrTextStrike> grStrike = strikeSpec.findOrCreateGrStrike(fStrikeCache); in makeSubRun()
627 type, this, strikeSpec, format, glyphs, vertexData, std::move(grStrike)); in makeSubRun()
637 const SkStrikeSpec& strikeSpec, in addSingleMaskFormat() argument
639 this->makeSubRun(type, drawables, strikeSpec, format); in addSingleMaskFormat()
[all …]
/external/skia/tests/
DSkScalerCacheTest.cpp52 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST() local
61 typeface->createScalerContext(effects, &strikeSpec.descriptor())}; in DEF_TEST()
62 SkScalerCache scalerCache{strikeSpec.descriptor(), std::move(ctx)}; in DEF_TEST()
/external/skia/bench/
DPathTextBench.cpp50 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onDelayedSetup() local
51 auto cache = strikeSpec.findOrCreateExclusiveStrike(); in onDelayedSetup()
DSkGlyphCacheBench.cpp26 auto strikeSpec = SkStrikeSpec::MakeMask( in do_font_stuff() local
35 SkBulkGlyphMetricsAndImages images{strikeSpec}; in do_font_stuff()
/external/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp105 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(typeface, &emSize); in SkPDFMakeCIDGlyphWidthsArray() local
106 SkBulkGlyphMetricsAndPaths paths{strikeSpec}; in SkPDFMakeCIDGlyphWidthsArray()
DSkPDFType1Font.cpp311 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in SkPDFEmitType1Font() local
312 SkBulkGlyphMetrics metrics{strikeSpec}; in SkPDFEmitType1Font()
DSkPDFFont.cpp541 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &unitsPerEm); in emit_subset_type3() local
542 auto cache = strikeSpec.findOrCreateExclusiveStrike(); in emit_subset_type3()
549 : strikeSpec; in emit_subset_type3()
DSkPDFDevice.cpp816 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in internalDrawGlyphRun() local
859 SkBulkGlyphMetricsAndPaths paths{strikeSpec}; in internalDrawGlyphRun()
/external/skia/samplecode/
DSamplePathText.cpp36 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw() local
37 auto cache = strikeSpec.findOrCreateExclusiveStrike(); in onOnceBeforeDraw()