samples/draw_shapes.rb in squib-0.4.0 vs samples/draw_shapes.rb in squib-0.5.0
- old
+ new
@@ -13,7 +13,12 @@
line x1: 50, y1: 550,
x2: 150, y2: 650,
stroke_width: 25.0
+ curve x1: 50, y1: 850, cx1: 150, cy1: 700,
+ x2: 625, y2: 900, cx2: 150, cy2: 700,
+ stroke_width: 12.0, stroke_color: :cyan,
+ fill_color: :burgundy
+
save_png prefix: 'shape_'
end