68 {
71 }
72
73
75
77 { fixed * 4 / 5, fixed * 4 / 5 },
78 { fixed * 4 / 5, fixed * 4 },
79 { fixed * 4, fixed * 4 / 5 },
80 { fixed * 4, fixed * 4 }
81 };
82
84
87
90 for (int iy = 0; iy < 2; ++iy) {
91 for (int ix = 0; ix < 2; ++ix) {
96 }
97 }
99 }
100 }
void translate(SkScalar dx, SkScalar dy)
void drawImageNine(const SkImage *image, const SkIRect ¢er, const SkRect &dst, SkFilterMode filter, const SkPaint *paint=nullptr)
virtual GrRecordingContext * recordingContext() const
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
virtual bool isValid(GrRecordingContext *context) const =0
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< SkImage > make_image(SkCanvas *root, SkIRect *center)
constexpr int32_t width() const
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)