4 {
8 canvas->
scale(256.0f / 3900, 256.0f / 3900);
10 for (
int s = 0;
s < 13;
s += 2) {
12 }
16 paint.setAntiAlias(
true);
19 for (
int i = 0;
i < 13; ++
i) {
21 matrix.preRotate((360.0 / 13) *
i);
22 matrix.preTranslate(0, -785);
26 }
27}
28}
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
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)
void concat(const SkMatrix &matrix)
static SkMatrix Translate(SkScalar dx, SkScalar dy)
static bool FromSVGString(const char str[], SkPath *)
unsigned useCenter Optional< SkMatrix > matrix