Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyphRunPainter.cpp104 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePath( in drawForBitmapDevice() local
107 auto strike = strikeSpec.findOrCreateStrike(); in drawForBitmapDevice()
119 &fDrawable, strikeSpec.strikeToSourceRatio(), drawOrigin, pathPaint); in drawForBitmapDevice()
122 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() local
125 auto strike = strikeSpec.findOrCreateStrike(); in drawForBitmapDevice()
176 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() local
179 auto strike = strikeSpec.findOrCreateStrike(); in drawForBitmapDevice()
250 const auto& [strikeSpec, minScale, maxScale] = in processGlyphRun()
254 msg.appendf(" SDFT case:\n%s", strikeSpec.dump().c_str()); in processGlyphRun()
257 if (!strikeSpec.isEmpty()) { in processGlyphRun()
[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.h139 const SkStrikeSpec& strikeSpec) = 0;
142 const SkStrikeSpec& strikeSpec) = 0;
146 const SkStrikeSpec& strikeSpec) = 0;
149 const SkStrikeSpec& strikeSpec,
DSkGlyphRun.cpp49 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(fFont, &paint); in sourceBounds() local
50 SkBulkGlyphMetrics metrics{strikeSpec}; in sourceBounds()
55 [scale = strikeSpec.strikeToSourceRatio()](const SkRect& in, const SkPoint& pos) { in sourceBounds()
71 SkScalar scale = strikeSpec.strikeToSourceRatio(); in sourceBounds()
177 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in draw_text_positions() local
178 SkBulkGlyphMetrics storage{strikeSpec}; in draw_text_positions()
DSkStrikeSpec.cpp183 SkStrikeSpec strikeSpec(dfFont, dfPaint, surfaceProps, flags, in MakeSDFT() local
186 return std::make_tuple(std::move(strikeSpec), minScale, maxScale); in MakeSDFT()
DSkTextBlob.cpp895 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); in get_glyph_run_intercepts() local
896 SkBulkGlyphMetricsAndPaths metricsAndPaths{strikeSpec}; in get_glyph_run_intercepts()
/external/skia/src/gpu/text/
DGrTextBlob.h246 const SkStrikeSpec& strikeSpec);
250 const SkStrikeSpec& strikeSpec) override;
253 const SkStrikeSpec& strikeSpec) override;
255 const SkStrikeSpec& strikeSpec,
260 const SkStrikeSpec& strikeSpec) override;
298 const SkStrikeSpec& strikeSpec) override;
300 const SkStrikeSpec& strikeSpec) override;
302 const SkFont& runFont, const SkStrikeSpec& strikeSpec) override;
304 const SkStrikeSpec& strikeSpec, const SkFont& runFont,
DGrTextBlob.cpp168 const SkStrikeSpec& strikeSpec,
185 const SkStrikeSpec& strikeSpec,
203 const SkStrikeSpec& strikeSpec, in PathSubRun() argument
208 , fStrikeSpec{strikeSpec}
273 const SkStrikeSpec& strikeSpec, in Make() argument
285 isAntiAliased, strikeSpec, blob, paths, std::move(pathData)); in Make()
445 const SkStrikeSpec& strikeSpec,
510 const SkStrikeSpec& strikeSpec, in Make() argument
551 GlyphVector{strikeSpec, {glyphIDs, goodPosCount}}, glyphsExcluded); in Make()
837 const SkStrikeSpec& strikeSpec,
[all …]
/external/skia/tests/
DSkStrikeCacheTest.cpp25 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST() local
33 sk_sp<SkStrike> strike = strikeSpec.findOrCreateStrike(&cache); in DEF_TEST()
47 sk_sp<SkStrike> strike = strikeSpec.findOrCreateStrike(&cache); in DEF_TEST()
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 strike = strikeSpec.findOrCreateStrike(); 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 strike = strikeSpec.findOrCreateStrike(); in emit_subset_type3()
549 : strikeSpec; in emit_subset_type3()
DSkPDFDevice.cpp839 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in internalDrawGlyphRun() local
871 SkBulkGlyphMetricsAndPaths paths{strikeSpec}; in internalDrawGlyphRun()
/external/skia/samplecode/
DSamplePathText.cpp38 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw() local
39 auto strike = strikeSpec.findOrCreateStrike(); in onOnceBeforeDraw()