Home
last modified time | relevance | path

Searched refs:measureText (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/skia/gm/
Dtextblobmixedsizes.cpp56 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
63 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
70 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
77 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
84 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dtextblobrandomfont.cpp65 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
76 font.measureText(bigtext1, strlen(bigtext1), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
81 font.measureText(bigtext2, strlen(bigtext2), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
90 font.measureText(emojiText, strlen(emojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dmixedtextblobs.cpp64 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
82 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
94 font.measureText(fEmojiText, strlen(fEmojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dtextblobcolortrans.cpp45 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
53 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dbitmapcopy.cpp115 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); in onDraw()
128 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); in onDraw()
Dtextblobtransforms.cpp41 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
50 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
/third_party/flutter/skia/gm/
Dtextblobmixedsizes.cpp58 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
65 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
72 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
79 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
86 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dtextblobrandomfont.cpp66 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
77 font.measureText(bigtext1, strlen(bigtext1), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
82 font.measureText(bigtext2, strlen(bigtext2), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
91 font.measureText(emojiText, strlen(emojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dmixedtextblobs.cpp64 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
82 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
94 font.measureText(fEmojiText, strlen(fEmojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dtextblobcolortrans.cpp45 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
53 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
Dbitmapcopy.cpp106 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); in onDraw()
119 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); in onDraw()
Dconstcolorprocessor.cpp147 labelFont.measureText(inputLabel.c_str(), inputLabel.size(), in onDraw()
155 labelFont.measureText(procLabel.c_str(), procLabel.size(), in onDraw()
Dtextblobtransforms.cpp41 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
50 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
/third_party/skia/docs/examples/
DPaint_measureText_2.cpp9 SkDebugf("default width = %g\n", paint.measureText("!", 1));
11 SkDebugf("double width = %g\n", paint.measureText("!", 1));
DCanvas_drawAnnotation_2.cpp12 (void)paint.measureText(text, strlen(text), &bounds);
DCanvas_129.cpp12 (void)paint.measureText(text, strlen(text), &bounds);
/third_party/flutter/skia/docs/examples/
DPaint_measureText_2.cpp9 SkDebugf("default width = %g\n", paint.measureText("!", 1));
11 SkDebugf("double width = %g\n", paint.measureText("!", 1));
DCanvas_129.cpp12 (void)paint.measureText(text, strlen(text), &bounds);
DCanvas_drawAnnotation_2.cpp12 (void)paint.measureText(text, strlen(text), &bounds);
/third_party/flutter/skia/include/core/
DSkFont.h336 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
338 return this->measureText(text, byteLength, encoding, bounds, nullptr);
354 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
/third_party/skia/include/core/
DSkFont.h336 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
338 return this->measureText(text, byteLength, encoding, bounds, nullptr);
352 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
/third_party/flutter/skia/tools/sk_app/
DCommandSet.cpp130 font.measureText(cmd.fKeyName.c_str(), cmd.fKeyName.size(), in drawHelp()
133 keyWidth += font.measureText(" ", 1, SkTextEncoding::kUTF8); in drawHelp()
/third_party/skia/tools/sk_app/
DCommandSet.cpp129 font.measureText(cmd.fKeyName.c_str(), cmd.fKeyName.size(), in drawHelp()
132 keyWidth += font.measureText(" ", 1, SkTextEncoding::kUTF8); in drawHelp()
/third_party/skia/samplecode/
DSampleComplexClip.cpp121 txtX += font.measureText(aTxt, strlen(aTxt), SkTextEncoding::kUTF8); in onDrawContent()
125 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDrawContent()
/third_party/flutter/skia/samplecode/
DSampleComplexClip.cpp125 txtX += font.measureText(aTxt, strlen(aTxt), SkTextEncoding::kUTF8); in onDrawContent()
129 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDrawContent()

123456