4REG_FIDDLE(skpaint_corner_path_effects, 256, 256,
false, 0) {
9 for (
int i = 1; i < 7; ++i) {
11 path.lineTo(
C +
R * cos(
a),
C +
R * sin(
a));
20 paint.setAntiAlias(
true);
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 radius)
@ kStroke_Style
set to stroke geometry
#define REG_FIDDLE(NAME, W, H, TEXT, I)