doc/ex/RotateScale.rb in rmagick-1.8.3 vs doc/ex/RotateScale.rb in rmagick-1.9.0
- old
+ new
@@ -1,8 +1,7 @@
require 'rvg/rvg'
-include Magick
-rvg = RVG.new(400, 120) do |canvas|
+rvg = Magick::RVG.new(400, 120) do |canvas|
canvas.desc = 'Example RotateScale - Rotate and scale transforms'
canvas.background_fill = 'white'
canvas.g.styles(:fill=>'none', :stroke=>'black', :stroke_width=>3) do |grp|
# Draw the axes of the original coordinate system
grp.line(0, 1.5, 400, 1.5)