Definition at line 42 of file TextBlobTest.cpp.
◆ TestBounds()
Definition at line 127 of file TextBlobTest.cpp.
127 {
130
131
132 {
135 }
136
137 {
142 }
143
144 {
149 }
150
151 {
156 }
157
158 {
162
166
169 }
170
171 {
174 }
175
176
177
178 {
179
180
182
183 const char*
txt =
"BOOO";
184 const size_t txtLen = strlen(
txt);
187
189
193 }
194 }
@ kUTF8
uses bytes to represent UTF-8 or ASCII
#define REPORTER_ASSERT(r, cond,...)
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 to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
font
Font Metadata and Metrics.
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
◆ TestBuilder()
Definition at line 46 of file TextBlobTest.cpp.
46 {
48
49
51
52 RunDef set1[] = {
54 };
56
57 RunDef set2[] = {
59 };
61
62 RunDef set3[] = {
64 };
66
67 RunDef set4[] = {
71 };
73
74 RunDef set5[] = {
78 };
79 RunDef mergedSet5[] = {
82 };
85
86 RunDef set6[] = {
90 };
91 RunDef mergedSet6[] = {
93 };
96
97 RunDef set7[] = {
110 };
111 RunDef mergedSet7[] = {
121 };
124 }
@ kHorizontal_Positioning
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
◆ TestPaintProps()
Definition at line 197 of file TextBlobTest.cpp.
197 {
199
201 font.setScaleX(4.2f);
203 font.setSkewX(0.42f);
206 font.setEmbolden(
true);
207 font.setLinearMetrics(
true);
208 font.setSubpixel(
true);
209 font.setEmbeddedBitmaps(
true);
210 font.setForceAutoHinting(
true);
211
212
226
233
235 while (!it.done()) {
237 it.next();
238 }
239
240 }
@ kFull
modifies glyph outlines for maximum constrast
static constexpr SkFontStyle Bold()
SkTypeface * getTypeface() const
SkFontHinting getHinting() const
bool isForceAutoHinting() const
bool isLinearMetrics() const
bool isEmbeddedBitmaps() const
SkScalar getScaleX() const
SkScalar getSkewX() const
@ kSubpixelAntiAlias
glyph positioned in pixel using transparency
static constexpr SkPoint Make(float x, float y)
The documentation for this class was generated from the following file: