Home
last modified time | relevance | path

Searched refs:SkStrikeSpec (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/core/
DSkStrikeSpec.h26 class SkStrikeSpec {
28 SkStrikeSpec(const SkStrikeSpec&) = default;
29 SkStrikeSpec& operator=(const SkStrikeSpec&) = delete;
31 SkStrikeSpec(SkStrikeSpec&&) = default;
32 SkStrikeSpec& operator=(SkStrikeSpec&&) = delete;
34 ~SkStrikeSpec() = default;
37 static SkStrikeSpec MakeMask(
45 static SkStrikeSpec MakePath(
51 static SkStrikeSpec MakeSourceFallback(const SkFont& font,
58 static SkStrikeSpec MakeCanonicalized(
[all …]
DSkStrikeSpec.cpp22 SkStrikeSpec SkStrikeSpec::MakeMask(const SkFont& font, const SkPaint& paint, in MakeMask()
27 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix, 1); in MakeMask()
30 SkStrikeSpec SkStrikeSpec::MakePath(const SkFont& font, const SkPaint& paint, in MakePath()
45 return SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, in MakePath()
49 SkStrikeSpec SkStrikeSpec::MakeSourceFallback( in MakeSourceFallback()
76 return SkStrikeSpec(fallbackFont, paint, surfaceProps, scalerContextFlags, in MakeSourceFallback()
80 SkStrikeSpec SkStrikeSpec::MakeCanonicalized(const SkFont& font, const SkPaint* paint) { in MakeCanonicalized()
95 return SkStrikeSpec(*canonicalizedFont, canonicalizedPaint, in MakeCanonicalized()
100 SkStrikeSpec SkStrikeSpec::MakeWithNoDevice(const SkFont& font, const SkPaint* paint) { in MakeWithNoDevice()
106 return SkStrikeSpec(font, setupPaint, SkSurfaceProps(), kFakeGammaAndBoostContrast, in MakeWithNoDevice()
[all …]
DSkGlyphRunPainter.cpp102 if (SkStrikeSpec::ShouldDrawAsPath(paint, runFont, deviceMatrix)) { in drawForBitmapDevice()
104 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePath( in drawForBitmapDevice()
122 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice()
139 SkStrikeSpec scaleStrikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice()
176 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice()
251 SkStrikeSpec::MakeSDFT(runFont, runPaint, fDeviceProps, drawMatrix, control); in processGlyphRun()
279 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in processGlyphRun()
309 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePath( in processGlyphRun()
338 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeSourceFallback( in processGlyphRun()
DSkGlyphRunPainter.h25 class SkStrikeSpec; variable
139 const SkStrikeSpec& strikeSpec) = 0;
142 const SkStrikeSpec& strikeSpec) = 0;
146 const SkStrikeSpec& strikeSpec) = 0;
149 const SkStrikeSpec& strikeSpec,
DSkFont.cpp227 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this, paint); in measureText()
266 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this, paint); in getWidthsBounds()
289 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this); in getPos()
303 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this); in getXPos()
321 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in getPaths()
348 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(*this, nullptr); in getMetrics()
DSkGlyphRun.cpp49 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeCanonicalized(fFont, &paint); in sourceBounds()
177 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in draw_text_positions()
DSkTextBlob.cpp895 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); 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,
197 const SkStrikeSpec fStrikeSpec;
203 const SkStrikeSpec& strikeSpec, in PathSubRun()
273 const SkStrikeSpec& strikeSpec, in Make()
309 GlyphVector(const SkStrikeSpec& spec, SkSpan<Variant> glyphs);
312 const SkStrikeSpec& spec, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc);
331 const SkStrikeSpec fStrikeSpec;
338 GlyphVector::GlyphVector(const SkStrikeSpec& spec, SkSpan<Variant> glyphs) in GlyphVector()
343 const SkStrikeSpec &spec, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc) { in Make()
[all …]
/external/skia/tests/
DSkStrikeCacheTest.cpp25 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
DSkScalerCacheTest.cpp52 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
DSkRemoteGlyphCacheTest.cpp462 SkStrikeSpec::ShouldDrawAsPath(paint, SkFont(), SkMatrix::I())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
502 !SkStrikeSpec::ShouldDrawAsPath(SkPaint(), font, SkMatrix::I())); in make_blob_causing_fallback()
/external/skia/bench/
DPathTextBench.cpp50 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onDelayedSetup()
DSkGlyphCacheBench.cpp26 auto strikeSpec = SkStrikeSpec::MakeMask( in do_font_stuff()
/external/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp105 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(typeface, &emSize); in SkPDFMakeCIDGlyphWidthsArray()
DSkPDFFont.cpp518 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike()
522 return SkStrikeSpec::MakeMask(font, in make_small_strike()
541 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &unitsPerEm); in emit_subset_type3()
548 SkStrikeSpec strikeSpecSmall = kBitmapFontSize > 0 ? make_small_strike(*typeface) in emit_subset_type3()
DSkPDFType1Font.cpp311 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in SkPDFEmitType1Font()
DSkPDFDevice.cpp839 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in internalDrawGlyphRun()
/external/skia/include/core/
DSkFont.h515 friend class SkStrikeSpec; variable
/external/skia/samplecode/
DSamplePathText.cpp38 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw()
/external/skia/gn/
Dcore.gni360 "$_src/core/SkStrikeSpec.cpp",
361 "$_src/core/SkStrikeSpec.h",
/external/skia/
DAndroid.bp358 "src/core/SkStrikeSpec.cpp",
1129 "src/core/SkStrikeSpec.cpp",