Extra ways of calling translate(), shear()
authorTony Cook <tony@develop=help.com>
Wed, 26 Dec 2007 10:33:35 +0000 (10:33 +0000)
committerTony Cook <tony@develop=help.com>
Wed, 26 Dec 2007 10:33:35 +0000 (10:33 +0000)
lib/Imager/Matrix2d.pm

index 06cb9c7..a100009 100644 (file)
@@ -112,6 +112,10 @@ sub rotate {
 
 =item translate(x=>$dx, y=>$dy)
 
+=item translate(x=>$dx)
+
+=item translate(y=>$dy)
+
 Translates by the specify amounts.
 
 =cut
@@ -133,6 +137,10 @@ sub translate {
 
 =item shear(x=>$sx, y=>$sy)
 
+=item shear(x=>$sx)
+
+=item shear(y=>$sy)
+
 Shear by the given amounts.
 
 =cut