9 for (
int i = 1; i < 15; ++i) {
12 path.lineTo(
C + r * cos(
a),
C + r * sin(
a));
23 paint.setAntiAlias(
true);
static const int points[]
#define SkColorSetRGB(r, g, b)
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
static sk_sp< SkPathEffect > Make(SkScalar segLength, SkScalar dev, uint32_t seedAssist=0)
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
#define REG_FIDDLE(NAME, W, H, TEXT, I)
static constexpr SkPoint Make(float x, float y)