4 {
6
9 const char text[] =
"SKIA";
12}
13
16 for (
int i = 0;
i < 6; ++
i) {
18 }
19 while (true) {
23 break;
24 }
25 if ((unsigned)verb < 6) {
27 }
28 }
29}
30
36
37
38 const char* verbs[6] = {"Move", "Line", "Quad", "Conic", "Cubic", "Close"};
42 for (
int i = 0;
i < 6; ++
i) {
45 pt.
fY +=
font.getSpacing();
46 }
47}
48}
constexpr SkColor SK_ColorWHITE
@ kUTF8
uses bytes to represent UTF-8 or ASCII
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
sk_sp< SkTypeface > matchFamilyStyle(const char familyName[], const SkFontStyle &) const
static void GetPath(const void *text, size_t length, SkTextEncoding, SkScalar x, SkScalar y, const SkFont &, SkPath *)
sk_sp< SkFontMgr > fontMgr
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core counts
font
Font Metadata and Metrics.
static SkPath make_path()
static constexpr SkPoint Make(float x, float y)