]> git.imager.perl.org - imager.git/commitdiff
document setpixel return values
authorTony Cook <tony@develop=help.com>
Sun, 8 Apr 2007 02:59:43 +0000 (02:59 +0000)
committerTony Cook <tony@develop=help.com>
Sun, 8 Apr 2007 02:59:43 +0000 (02:59 +0000)
lib/Imager/Draw.pod

index 925facc118bc0f29e2da3fe36ef4678552033556..3daa9fe9d1b2bad0d9b6539029c87a49a94ae821 100644 (file)
@@ -472,6 +472,12 @@ Default: white.
 
 =back
 
+When called with array parameters, returns the number of pixels
+successfully set, or false if none.
+
+When called with scalars for x and y, return $img on success, false on
+failure.
+
 =item getpixel
 
   my $color = $img->getpixel(x=>50, y=>70);