/external/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 104 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 …]
|
D | SkFont.cpp | 227 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 …]
|
D | SkGlyphRunPainter.h | 139 const SkStrikeSpec& strikeSpec) = 0; 142 const SkStrikeSpec& strikeSpec) = 0; 146 const SkStrikeSpec& strikeSpec) = 0; 149 const SkStrikeSpec& strikeSpec,
|
D | SkGlyphRun.cpp | 49 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()
|
D | SkStrikeSpec.cpp | 183 SkStrikeSpec strikeSpec(dfFont, dfPaint, surfaceProps, flags, in MakeSDFT() local 186 return std::make_tuple(std::move(strikeSpec), minScale, maxScale); in MakeSDFT()
|
D | SkTextBlob.cpp | 895 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/ |
D | GrTextBlob.h | 246 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,
|
D | GrTextBlob.cpp | 168 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/ |
D | SkStrikeCacheTest.cpp | 25 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()
|
D | SkScalerCacheTest.cpp | 52 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/ |
D | PathTextBench.cpp | 50 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onDelayedSetup() local 51 auto strike = strikeSpec.findOrCreateStrike(); in onDelayedSetup()
|
D | SkGlyphCacheBench.cpp | 26 auto strikeSpec = SkStrikeSpec::MakeMask( in do_font_stuff() local 35 SkBulkGlyphMetricsAndImages images{strikeSpec}; in do_font_stuff()
|
/external/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 105 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(typeface, &emSize); in SkPDFMakeCIDGlyphWidthsArray() local 106 SkBulkGlyphMetricsAndPaths paths{strikeSpec}; in SkPDFMakeCIDGlyphWidthsArray()
|
D | SkPDFType1Font.cpp | 311 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in SkPDFEmitType1Font() local 312 SkBulkGlyphMetrics metrics{strikeSpec}; in SkPDFEmitType1Font()
|
D | SkPDFFont.cpp | 541 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()
|
D | SkPDFDevice.cpp | 839 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in internalDrawGlyphRun() local 871 SkBulkGlyphMetricsAndPaths paths{strikeSpec}; in internalDrawGlyphRun()
|
/external/skia/samplecode/ |
D | SamplePathText.cpp | 38 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw() local 39 auto strike = strikeSpec.findOrCreateStrike(); in onOnceBeforeDraw()
|