projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d155527
)
Extra ways of calling translate(), shear()
author
Tony Cook
<tony@develop=help.com>
Wed, 26 Dec 2007 10:33:35 +0000
(10:33 +0000)
committer
Tony Cook
<tony@develop=help.com>
Wed, 26 Dec 2007 10:33:35 +0000
(10:33 +0000)
lib/Imager/Matrix2d.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Imager/Matrix2d.pm
b/lib/Imager/Matrix2d.pm
index 06cb9c7be6f0d670aa2ac1358c2a49e473774964..a1000092ea45a01e0eac87b9ce9705a013f025f5 100644
(file)
--- a/
lib/Imager/Matrix2d.pm
+++ b/
lib/Imager/Matrix2d.pm
@@
-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