4REG_FIDDLE(skpaint_line_2d_path_effect, 256, 256,
false, 0) {
11 paint.setAntiAlias(
true);
13 bounds.outset(8.0f, 8.0f);
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void clear(SkColor color)
static sk_sp< SkPathEffect > Make(SkScalar width, const SkMatrix &matrix)
SkMatrix & setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & preRotate(SkScalar degrees, SkScalar px, SkScalar py)
#define REG_FIDDLE(NAME, W, H, TEXT, I)
static constexpr SkRect MakeWH(float w, float h)