9 path.conicTo(10, 90, 50, 90, 0.9f);
13 paint.setAntiAlias(
true);
22 matrix.setTranslate(10, 10);
REG_FIDDLE(Canvas_drawDrawable, 256, 100, false, 0)
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawDrawable(SkDrawable *drawable, const SkMatrix *matrix=nullptr)
void drawPath(const SkPath &path, const SkPaint &paint)
unsigned useCenter Optional< SkMatrix > matrix
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
void onDraw(SkCanvas *canvas) override
SkRect onGetBounds() override
static constexpr SkRect MakeWH(float w, float h)