Home
last modified time | relevance | path

Searched refs:strikeToSourceScale (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/src/core/
H A DSkFont.cpp172 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, paint); in measureText()
192 if (strikeToSourceScale != 1) { in measureText()
193 width *= strikeToSourceScale; in measureText()
195 bounds->fLeft *= strikeToSourceScale; in measureText()
196 bounds->fTop *= strikeToSourceScale; in measureText()
197 bounds->fRight *= strikeToSourceScale; in measureText()
198 bounds->fBottom *= strikeToSourceScale; in measureText()
210 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, paint); in getWidthsBounds()
215 SkMatrix scaleMat = SkMatrix::Scale(strikeToSourceScale, strikeToSourceScale); in getWidthsBounds()
[all...]
H A DSkStrikeSpec.cpp52 SkScalar strikeToSourceScale = pathFont.setupForAsPaths(&pathPaint); in MakePath() local
55 strikeToSourceScale}; in MakePath()
83 SkScalar strikeToSourceScale = runFontTextSize / fallbackTextSize; in MakeSourceFallback() local
86 strikeToSourceScale}; in MakeSourceFallback()
98 SkScalar strikeToSourceScale = 1; in MakeCanonicalized() local
101 strikeToSourceScale = pathFont->setupForAsPaths(nullptr); in MakeCanonicalized()
107 strikeToSourceScale}; in MakeCanonicalized()
180 SkScalar strikeToSourceScale; in MakeSDFT() local
181 SkFont dfFont = control.getSDFFont(font, deviceMatrix, &strikeToSourceScale); in MakeSDFT()
192 return std::make_tuple(std::move(strikeSpec), strikeToSourceScale, minScal in MakeSDFT()
[all...]
H A DSkGlyphRunPainter.cpp103 auto [strikeSpec, strikeToSourceScale] = in drawForBitmapDevice()
118 &fDrawable, strikeToSourceScale, drawOrigin, pathPaint); in drawForBitmapDevice()
249 const auto& [strikeSpec, strikeToSourceScale, minScale, maxScale] = in processGlyphRun()
256 if (!SkScalarNearlyZero(strikeToSourceScale)) { in processGlyphRun()
271 strikeToSourceScale, in processGlyphRun()
311 auto [strikeSpec, strikeToSourceScale] = in processGlyphRun()
318 if (!SkScalarNearlyZero(strikeToSourceScale)) { in processGlyphRun()
327 maxDimensionInSourceSpace = fRejects.rejectedMaxDimension() * strikeToSourceScale; in processGlyphRun()
333 fDrawable.drawable(), runFont, strikeToSourceScale); in processGlyphRun()
340 auto [strikeSpec, strikeToSourceScale] in processGlyphRun()
[all...]
H A DSkGlyphRunPainter.h153 SkScalar strikeToSourceScale) = 0;
157 SkScalar strikeToSourceScale) = 0;
161 SkScalar strikeToSourceScale,
H A DSkGlyphRun.cpp49 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(fFont, &paint); in sourceBounds()
55 [scale = strikeToSourceScale](const SkRect& in, const SkPoint& pos) { in sourceBounds()
77 xform.preScale(strikeToSourceScale, strikeToSourceScale); in sourceBounds()
/third_party/skia/src/gpu/text/
H A DGrTextBlob.cpp171 SkScalar strikeToSourceScale,
188 SkScalar strikeToSourceScale,
206 SkScalar strikeToSourceScale, in PathSubRun()
211 , fStrikeToSourceScale{strikeToSourceScale}
275 SkScalar strikeToSourceScale, in Make()
287 isAntiAliased, strikeToSourceScale, blob, paths, std::move(pathData)); in Make()
850 SkScalar strikeToSourceScale,
857 SkScalar strikeToSourceScale,
912 SkScalar strikeToSourceScale, in TransformedMaskSubRun()
918 , fStrikeToSourceScale{strikeToSourceScale}
205 PathSubRun(bool isAntiAliased, SkScalar strikeToSourceScale, const GrTextBlob& blob, SkSpan<PathGlyph> paths, std::unique_ptr<PathGlyph[], GrSubRunAllocator::ArrayDestroyer> pathData) PathSubRun() argument
273 Make(const SkZip<SkGlyphVariant, SkPoint>& drawables, bool isAntiAliased, SkScalar strikeToSourceScale, const GrTextBlob& blob, GrSubRunAllocator* alloc) Make() argument
910 TransformedMaskSubRun(GrMaskFormat format, GrTextBlob* blob, SkScalar strikeToSourceScale, const SkRect& bounds, SkSpan<const VertexData> vertexData, GlyphVector&& glyphs) TransformedMaskSubRun() argument
923 Make(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, GrMaskFormat format, GrTextBlob* blob, GrSubRunAllocator* alloc) Make() argument
1195 Make(const SkZip<SkGlyphVariant, SkPoint>& drawables, const SkFont& runFont, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, GrTextBlob* blob, GrSubRunAllocator* alloc) Make() argument
1586 addMultiMaskFormat( AddSingleMaskFormat addSingle, const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale) addMultiMaskFormat() argument
1638 processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables, const SkFont& runFont, SkScalar strikeToSourceScale) processSourcePaths() argument
1648 processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, const SkFont& runFont, SkScalar minScale, SkScalar maxScale) processSourceSDFT() argument
1661 processSourceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale) processSourceMasks() argument
1966 TransformedMaskSubRunNoCache(GrMaskFormat format, SkScalar strikeToSourceScale, const SkRect& bounds, SkSpan<const VertexData> vertexData, GlyphVector&& glyphs) TransformedMaskSubRunNoCache() argument
1977 Make( const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, GrMaskFormat format, GrSubRunAllocator* alloc) Make() argument
2195 SDFTSubRunNoCache(GrMaskFormat format, SkScalar strikeToSourceScale, SkRect vertexBounds, SkSpan<const VertexData> vertexData, GlyphVector&& glyphs, bool useLCDText, bool antiAliased) SDFTSubRunNoCache() argument
2211 Make( const SkZip<SkGlyphVariant, SkPoint>& drawables, const SkFont& runFont, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, GrSubRunAllocator* alloc) Make() argument
2364 processSourceMasks(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale) processSourceMasks() argument
2394 processSourcePaths(const SkZip<SkGlyphVariant, SkPoint>& drawables, const SkFont& runFont, SkScalar strikeToSourceScale) processSourcePaths() argument
2446 processSourceSDFT(const SkZip<SkGlyphVariant, SkPoint>& drawables, sk_sp<SkStrike>&& strike, SkScalar strikeToSourceScale, const SkFont& runFont, SkScalar minScale, SkScalar maxScale) processSourceSDFT() argument
[all...]
H A DGrTextBlob.h253 SkScalar strikeToSourceScale);
260 SkScalar strikeToSourceScale) override;
263 SkScalar strikeToSourceScale,
269 SkScalar strikeToSourceScale) override;
310 SkScalar strikeToSourceScale) override;
313 SkScalar strikeToSourceScale) override;
316 SkScalar strikeToSourceScale,

Completed in 14 milliseconds