Home
last modified time | relevance | path

Searched refs:fTextSize (Results 1 – 25 of 28) sorted by relevance

12

/third_party/flutter/skia/gm/
Dfilterbitmap.cpp98 FilterBitmapTextGM(float textSize) : fTextSize(textSize) {} in FilterBitmapTextGM()
102 return SkStringPrintf("filterbitmap_text_%.2fpt", fTextSize); in onShortName()
104 const float fTextSize; member in FilterBitmapTextGM
107 return 32.f/fTextSize; in getScale()
111 fBM.allocN32Pixels(int(fTextSize * 8), int(fTextSize * 6)); in makeBitmap()
117 font.setSize(fTextSize); in makeBitmap()
121 canvas.drawString("Hamburgefons", fTextSize/2, 1.2f*fTextSize, font, paint); in makeBitmap()
123 canvas.drawString("Hamburgefons", fTextSize/2, 2.4f*fTextSize, font, paint); in makeBitmap()
125 canvas.drawString("Hamburgefons", fTextSize/2, 3.6f*fTextSize, font, paint); in makeBitmap()
127 canvas.drawString("Hamburgefons", fTextSize/2, 4.8f*fTextSize, font, paint); in makeBitmap()
Dlcdtext.cpp84 SkScalar fTextSize; in onDraw() member
98 SkFont font(nullptr, rec[i].fTextSize); in onDraw()
/third_party/skia/src/core/
DSkTypeface_remote.cpp35 SkStrikeClient::CacheMissType::kGlyphMetrics, fRec.fTextSize); in generateMetrics()
47 SkStrikeClient::CacheMissType::kGlyphImage, fRec.fTextSize); in generateImage()
57 SkStrikeClient::CacheMissType::kGlyphPath, fRec.fTextSize); in generatePath()
70 SkStrikeClient::CacheMissType::kFontMetrics, fRec.fTextSize); in generateFontMetrics()
DSkScalerContext.h57 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
138 fTextSize, fPreScaleX, fPreSkewX, fPost2x2[0][0], in dump()
DSkScalerCache.cpp257 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
DSkScalerContext.cpp791 *m = SkFontPriv::MakeTextMatrix(fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
985 area *= rec.fTextSize * rec.fTextSize; in too_big_for_lcd()
988 return rec.fTextSize > SK_MAX_SIZE_FOR_LCDTEXT; in too_big_for_lcd()
1007 rec->fTextSize = font.getSize(); in MakeRecAndEffects()
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.cpp57 , fFont(fDesc.fTypeface, fDesc.fTextSize) in BlobMaker()
392 if (box.isEmpty() || orig_desc.fTextSize <= 0) { in ShapeToFit()
398 const auto min_scale = std::max(desc.fMinTextSize / desc.fTextSize, 0.0f), in ShapeToFit()
399 max_scale = std::max(desc.fMaxTextSize / desc.fTextSize, min_scale); in ShapeToFit()
413 desc.fTextSize = try_scale * orig_desc.fTextSize; in ShapeToFit()
DTextValue.cpp37 v->fTextSize = **text_size; in Parse()
40 v->fAscent = font->fAscentPct * -0.01f * v->fTextSize; // negative ascent per SkFontMetrics in Parse()
DSkottieShaper.h107 SkScalar fTextSize, member
/third_party/skia/samplecode/
DSampleQuadStroker.cpp135 SkScalar fTextSize; member in QuadStrokerView
179 fTextSize = 12; in QuadStrokerView()
214 fTextSize = std::max(1.0f, fTextSize - 1); in onChar()
218 fTextSize += 1; in onChar()
674 font.setSize(fTextSize); in onDrawContent()
676 0, fTextSize, font, &path); in onDrawContent()
678 draw_stroke(canvas, path, width * fWidthScale / fTextSize, fTextSize, true); in onDrawContent()
/third_party/flutter/skia/samplecode/
DSampleQuadStroker.cpp142 SkScalar fTextSize; member in QuadStrokerView
186 fTextSize = 12; in QuadStrokerView()
221 fTextSize = SkTMax(1.0f, fTextSize - 1); in onChar()
225 fTextSize += 1; in onChar()
681 font.setSize(fTextSize); in onDrawContent()
683 0, fTextSize, font, &path); in onDrawContent()
685 draw_stroke(canvas, path, width * fWidthScale / fTextSize, fTextSize, true); in onDrawContent()
/third_party/flutter/skia/modules/skottie/src/
DSkottieProperty.cpp20 && fTextSize == other.fTextSize in operator ==()
/third_party/flutter/skia/modules/skottie/src/text/
DTextValue.cpp40 v->fTextSize = **text_size; in FromJSON()
43 v->fAscent = font->fAscentPct * -0.01f * v->fTextSize; // negative ascent per SkFontMetrics in FromJSON()
DSkottieShaper.cpp56 , fFont(fDesc.fTypeface, fDesc.fTextSize) in BlobMaker()
355 if (box.isEmpty() || orig_desc.fTextSize <= 0) { in ShapeToFit()
374 desc.fTextSize = try_scale * orig_desc.fTextSize; in ShapeToFit()
DSkottieShaper.h78 SkScalar fTextSize, member
DTextAdapter.cpp128 fText.fTextSize, in apply()
/third_party/skia/modules/skottie/src/
DSkottieProperty.cpp20 && fTextSize == other.fTextSize in operator ==()
/third_party/skia/gm/
Dlcdtext.cpp84 SkScalar fTextSize; in onDraw() member
98 SkFont font(nullptr, rec[i].fTextSize); in onDraw()
/third_party/flutter/skia/src/core/
DSkScalerContext.h57 SkScalar fTextSize, fPreScaleX, fPreSkewX; member
132 fTextSize, fPreScaleX, fPreSkewX, fPost2x2[0][0], in dump()
DSkScalerContext.cpp708 *m = SkFontPriv::MakeTextMatrix(fTextSize, fPreScaleX, fPreSkewX); in getLocalMatrix()
948 area *= rec.fTextSize * rec.fTextSize; in too_big_for_lcd()
951 return rec.fTextSize > SK_MAX_SIZE_FOR_LCDTEXT; in too_big_for_lcd()
970 rec->fTextSize = font.getSize(); in MakeRecAndEffects()
1114 rec.fTextSize = SkFontPriv::kCanonicalTextSizeForPaths; in MakeDescriptorForPaths()
DSkStrike.cpp234 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
DSkStrikeCache.cpp296 lhsRec.fTextSize == rhsRec.fTextSize && in loose_compare()
/third_party/flutter/skia/modules/skottie/include/
DSkottieProperty.h37 float fTextSize = 0, member
/third_party/skia/modules/skottie/include/
DSkottieProperty.h42 float fTextSize = 0, member
/third_party/skia/modules/canvaskit/
Dskottie_bindings.cpp229 txt_val.set("size", txt.fTextSize); in getTextProps()
254 t.fTextSize = size; in setText()

12