$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});
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;
}
=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.
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