45 {
46 constexpr struct {
50 { 0xFFFFFFFF, 0x00000000 },
51 { 0xFFFFFFFF, 0x00FF0000 },
52 { 0xFFFFFFFF, 0x00FFFF00 },
53 { 0xFFFFFFFF, 0x00FFFFFF },
54 { 0xFFFF0000, 0x00000000 },
55 { 0xFFFF0000, 0x00FF0000 },
56 { 0xFFFF0000, 0x00FFFF00 },
57 { 0xFFFF0000, 0x00FFFFFF },
58 { 0xFF0000FF, 0x00000000 },
59 { 0xFF0000FF, 0x00FF0000 },
60 { 0xFF0000FF, 0x00FFFF00 },
61 { 0xFF0000FF, 0x00FFFFFF },
62 };
63
65
67
68 for (int doPreMul = 0; doPreMul <= 1; ++doPreMul) {
73 }
76 }
77 }
static const struct @223 gRec[]
static constexpr bool SkToBool(const T &x)
static void draw_grad(SkCanvas *canvas, const SkRect &r, SkColor c0, SkColor c1, bool doPreMul)
void translate(SkScalar dx, SkScalar dy)
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
constexpr float height() const
constexpr float width() const
static constexpr SkRect MakeWH(float w, float h)