8 canvas->
scale(256.0f / 3900, 256.0f / 3900);
10 for (
int s = 0;
s < 13;
s += 2) {
16 paint.setAntiAlias(
true);
19 "M 0 -120 L 70.5342 97.0819 L -114.127 -37.082 L 114.127 -37.0821 L -70.5342 "
22 for (
int x = 1;
x < 12; ++
x) {
23 for (
int y = 1;
y < 10; ++
y) {
24 if ((
x +
y) % 2 == 0) {
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawIRect(const SkIRect &rect, const SkPaint &paint)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
static bool FromSVGString(const char str[], SkPath *)
REG_FIDDLE(flag_us_1960, 486, 256, false, 0)