]> git.imager.perl.org - imager.git/blobdiff - Imager.pm
Doc patch so people know where to look for new().
[imager.git] / Imager.pm
index 8e2502f7d1ba1deda741210d3400bb93f89e8bb9..805d01e05b2556fd9c0ba871c402ace89ece1324 100644 (file)
--- a/Imager.pm
+++ b/Imager.pm
@@ -2039,7 +2039,7 @@ sub line {
   $opts{antialias} = $opts{aa} if defined $opts{aa};
   if ($opts{antialias}) {
     i_line_aa($self->{IMG},$opts{x1}, $opts{y1}, $opts{x2}, $opts{y2},
-              $color);
+              $color, $opts{endp});
   } else {
     i_line($self->{IMG},$opts{x1}, $opts{y1}, $opts{x2}, $opts{y2},
            $color, $opts{endp});
@@ -2074,7 +2074,7 @@ sub polyline {
   if ($opts{antialias}) {
     for $pt(@points) {
       if (defined($ls)) { 
-        i_line_aa($self->{IMG},$ls->[0],$ls->[1],$pt->[0],$pt->[1],$color);
+        i_line_aa($self->{IMG},$ls->[0],$ls->[1],$pt->[0],$pt->[1],$color, 1);
       }
       $ls=$pt;
     }
@@ -2706,6 +2706,7 @@ This document - Synopsis Example, Table of Contents and Overview.
 
 =item Imager::ImageTypes
 
+Basics of constructing image objects with C<new()>:
 Direct type/virtual images, RGB(A)/paletted images, 8/16/double
 bits/channel, color maps, channel masks, image tags, color
 quantization.  Also discusses basic image information methods.
@@ -2785,6 +2786,9 @@ In cases where no image object is associated with an operation
 C<$Imager::ERRSTR> is used to report errors not directly associated
 with an image object.
 
+The C<Imager-><gt>new> method is described in detail in the 
+Imager::ImageTypes manpage.
+
 =head1 SUPPORT
 
 You can ask for help, report bugs or express your undying love for