62 {
67
70 paint.setARGB(0xff, 0x66, 0x11, 0x11);
72
76
77 paint.setARGB(0xff, 0xbb, 0x77, 0x77);
79
81 paint.setARGB(0xff, 0xcc, 0xcc, 0xff);
83
84 paint.setARGB(0xff, 0x88, 0x88, 0xbb);
86
88 SkPoint pts[] = { { 0, 0 }, { 1, 0 } };
95
102
104}
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorGREEN
constexpr SkColor SK_ColorWHITE
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
@ kAlias
no transparent pixels on glyph edges
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
void setColorFilter(sk_sp< SkColorFilter > colorFilter)
Optional< SkRect > bounds
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
static sk_sp< SkColorFilter > Make(const SkHighContrastConfig &config)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)