]> git.imager.perl.org - imager.git/commitdiff
- the order of the returned values for Imager::Font's align() method
authorTony Cook <tony@develop=help.com>
Sat, 26 Nov 2005 13:00:14 +0000 (13:00 +0000)
committerTony Cook <tony@develop=help.com>
Sat, 26 Nov 2005 13:00:14 +0000 (13:00 +0000)
  was incorrect.

Changes
lib/Imager/Font.pm

diff --git a/Changes b/Changes
index d6cf78a505bb4a6205a1b69b7983181c32c68dff..54777a9fae8aa2d2dc8efd6e834f823c2ee049ca 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1183,6 +1183,8 @@ Revision history for Perl extension Imager.
 - arc(..., fill=> ...) wasn't handling concave areas correctly
 - arc(..., color=>...) wasn't properly filling it's area
 - added experimental antialiased support to arc()
+- the order of the returned values for Imager::Font's align() method
+  was incorrect.
 
 =================================================================
 
index d6e802bc9bce6ef1a6c88cbf7705bf2b47d2eb61..592ca2c63e597c9c3f4bfa62349dc71fda573269 100644 (file)
@@ -592,7 +592,7 @@ Higher level text output - outputs the text aligned as specified
 around the given point (x,y).
 
   # "Hello" centered at 100, 100 in the image.
-  my ($left, $top, $bottom, $right) = 
+  my ($left, $top, $right, $bottom) = 
     $font->align(string=>"Hello",
                  x=>100, y=>100, 
                  halign=>'center', valign=>'center',