/third_party/flutter/skia/gm/ |
D | filterbitmap.cpp | 98 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()
|
D | lcdtext.cpp | 84 SkScalar fTextSize; in onDraw() member 98 SkFont font(nullptr, rec[i].fTextSize); in onDraw()
|
/third_party/skia/src/core/ |
D | SkTypeface_remote.cpp | 35 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()
|
D | SkScalerContext.h | 57 SkScalar fTextSize, fPreScaleX, fPreSkewX; member 138 fTextSize, fPreScaleX, fPreSkewX, fPost2x2[0][0], in dump()
|
D | SkScalerCache.cpp | 257 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
|
D | SkScalerContext.cpp | 791 *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/ |
D | SkottieShaper.cpp | 57 , 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()
|
D | TextValue.cpp | 37 v->fTextSize = **text_size; in Parse() 40 v->fAscent = font->fAscentPct * -0.01f * v->fTextSize; // negative ascent per SkFontMetrics in Parse()
|
D | SkottieShaper.h | 107 SkScalar fTextSize, member
|
/third_party/skia/samplecode/ |
D | SampleQuadStroker.cpp | 135 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/ |
D | SampleQuadStroker.cpp | 142 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/ |
D | SkottieProperty.cpp | 20 && fTextSize == other.fTextSize in operator ==()
|
/third_party/flutter/skia/modules/skottie/src/text/ |
D | TextValue.cpp | 40 v->fTextSize = **text_size; in FromJSON() 43 v->fAscent = font->fAscentPct * -0.01f * v->fTextSize; // negative ascent per SkFontMetrics in FromJSON()
|
D | SkottieShaper.cpp | 56 , 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()
|
D | SkottieShaper.h | 78 SkScalar fTextSize, member
|
D | TextAdapter.cpp | 128 fText.fTextSize, in apply()
|
/third_party/skia/modules/skottie/src/ |
D | SkottieProperty.cpp | 20 && fTextSize == other.fTextSize in operator ==()
|
/third_party/skia/gm/ |
D | lcdtext.cpp | 84 SkScalar fTextSize; in onDraw() member 98 SkFont font(nullptr, rec[i].fTextSize); in onDraw()
|
/third_party/flutter/skia/src/core/ |
D | SkScalerContext.h | 57 SkScalar fTextSize, fPreScaleX, fPreSkewX; member 132 fTextSize, fPreScaleX, fPreSkewX, fPost2x2[0][0], in dump()
|
D | SkScalerContext.cpp | 708 *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()
|
D | SkStrike.cpp | 234 matrix.preScale(SkScalarInvert(rec.fTextSize), SkScalarInvert(rec.fTextSize)); in dump()
|
D | SkStrikeCache.cpp | 296 lhsRec.fTextSize == rhsRec.fTextSize && in loose_compare()
|
/third_party/flutter/skia/modules/skottie/include/ |
D | SkottieProperty.h | 37 float fTextSize = 0, member
|
/third_party/skia/modules/skottie/include/ |
D | SkottieProperty.h | 42 float fTextSize = 0, member
|
/third_party/skia/modules/canvaskit/ |
D | skottie_bindings.cpp | 229 txt_val.set("size", txt.fTextSize); in getTextProps() 254 t.fTextSize = size; in setText()
|