doc/ex/rotate.rb in rmagick-2.8.0 vs doc/ex/rotate.rb in rmagick-2.9.0
- old
+ new
@@ -26,9 +26,11 @@
gc.line(-max_x, 0, max_x, 0)
gc.line( max_x, 0, max_x-10, -10)
gc.line( max_x, 0, max_x-10, 10)
# Add labels
+gc.font_weight(Magick::NormalWeight)
+gc.font_style(Magick::NormalStyle)
gc.fill('black')
gc.stroke('transparent')
gc.text(8, 15, "'0,0'")
gc.text(110, 16, "x")