Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagick committed Apr 2, 2005
1 parent 6759166 commit 9a4c079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/ex/affine_transform.rb
Expand Up @@ -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)

Expand Down

0 comments on commit 9a4c079

Please sign in to comment.