15 paint.setAntiAlias(
true);
16 paint.setColor(color2);
17 canvas->
clear(color1);
constexpr SkColor SK_ColorLTGRAY
constexpr SkColor SK_ColorCYAN
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
REG_FIDDLE(checker_board, 256, 256, false, 0)
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void clear(SkColor color)
static SkMatrix Scale(SkScalar sx, SkScalar sy)
static sk_sp< SkPathEffect > Make(const SkMatrix &matrix, const SkPath &path)
unsigned useCenter Optional< SkMatrix > matrix
Optional< SkRect > bounds
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
static constexpr SkRect MakeWH(float w, float h)
static void checkerboard(SkCanvas *canvas, SkColor c1, SkColor c2, int size)