Browse files

Fix bug

  • Loading branch information...
1 parent 6759166 commit 9a4c079b81751f9d62f171b03a0251248c272214 rmagick committed Apr 2, 2005
Showing with 3 additions and 3 deletions.
  1. +3 −3 doc/ex/affine_transform.rb
View
6 doc/ex/affine_transform.rb
@@ -3,11 +3,11 @@
# Demonstrate the Image#affine_transform method
-# Construct a simple affine matrix
-flipflop = Magick::AffineMatrix.new(-1, Math::PI/6, Math::PI/6, -1, 0, 0)
-
img = Magick::Image.read("images/Flower_Hat.jpg").first
+# Construct a simple affine matrix
+flipflop = Magick::AffineMatrix.new(1, Math::PI/6, Math::PI/6, 1, 0, 0)
+
# Apply the transform
img = img.affine_transform(flipflop)

0 comments on commit 9a4c079

Please sign in to comment.