Go to the source code of this file.
◆ DEF_SIMPLE_GM()
DEF_SIMPLE_GM |
( |
macaa_colors |
, |
|
|
canvas |
, |
|
|
800 |
, |
|
|
500 |
|
|
) |
| |
Definition at line 136 of file mac_aa_explorer.cpp.
136 {
137 const SkColor GRAY = 0xFF808080;
143 };
144 const SkScalar sizes[] = {10, 12, 15, 18, 24};
145
148 const char str[] = "Hamburgefons";
149 const size_t len = strlen(str);
150
152 if (!face) {
154 }
156
158 canvas->save();
159
164
169 for (bool lcd : {false, true}) {
174
175 y +=
font.getSpacing() + 2;
177 }
178 }
180 }
181 canvas->restore();
182 canvas->translate(
width, 0);
183 }
184}
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorWHITE
@ kNormal
glyph outlines modified to improve constrast
@ kNone
glyph outlines unchanged
@ kUTF8
uses bytes to represent UTF-8 or ASCII
@ kAntiAlias
may have transparent pixels on glyph edges
@ kSubpixelAntiAlias
glyph positioned in pixel using transparency
PODArray< SkColor > colors
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 running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
font
Font Metadata and Metrics.