/external/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 104 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 …]
|
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 | 135 const SkStrikeSpec& strikeSpec) = 0; 138 const SkStrikeSpec& strikeSpec) = 0; 142 const SkStrikeSpec& strikeSpec) = 0; 145 const SkStrikeSpec& strikeSpec,
|
D | SkGlyphRun.cpp | 333 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in simplifyDrawText() local 334 SkBulkGlyphMetrics storage{strikeSpec}; in simplifyDrawText()
|
D | SkTextBlob.cpp | 889 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/ |
D | GrTextBlob.h | 180 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 …]
|
D | GrTextBlob.cpp | 46 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/ |
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 cache = strikeSpec.findOrCreateExclusiveStrike(); 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 cache = strikeSpec.findOrCreateExclusiveStrike(); in emit_subset_type3() 549 : strikeSpec; in emit_subset_type3()
|
D | SkPDFDevice.cpp | 816 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in internalDrawGlyphRun() local 859 SkBulkGlyphMetricsAndPaths paths{strikeSpec}; in internalDrawGlyphRun()
|
/external/skia/samplecode/ |
D | SamplePathText.cpp | 36 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw() local 37 auto cache = strikeSpec.findOrCreateExclusiveStrike(); in onOnceBeforeDraw()
|