lib/squib/graphics/shapes.rb in squib-0.3.0 vs lib/squib/graphics/shapes.rb in squib-0.4.0
- old
+ new
@@ -19,9 +19,10 @@
# :nodoc:
# @api private
def circle(x, y, radius, fill_color, stroke_color, stroke_width)
use_cairo do |cc|
+ cc.move_to(x + radius, y)
cc.circle(x, y, radius)
cc.set_source_squibcolor(stroke_color)
cc.set_line_width(stroke_width)
cc.stroke
cc.circle(x, y, radius)