lib/prawn/svg/elements/circle.rb in prawn-svg-0.24.0 vs lib/prawn/svg/elements/circle.rb in prawn-svg-0.25.0
- old
+ new
@@ -4,10 +4,10 @@
def parse
require_attributes 'r'
@x = x(attributes['cx'] || "0")
@y = y(attributes['cy'] || "0")
- @r = distance(attributes['r'])
+ @r = pixels(attributes['r'])
require_positive_value @r
end
def apply