Subject: | shallow slope line drawing |
Date: | Wed, 16 Jun 2010 10:19:56 +1000 |
To: | bug-Image-Base [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
With recent debian i386 perl 5.10.1, Image::Xpm 1.09 and Image::Base
1.09 a program
use strict;
use warnings;
use Image::Xpm;
my $image = Image::Xpm->new (-width => 20,
-height => 2,
-file => '/tmp/line.xpm');
$image->line (0,0, 6,1, 'orange');
$image->save;
gives /tmp/line.xpm containing
"!!!!!!! ",
" "
which ends at 6,0. I hoped asking for endpoint 6,1 would give something
like
"!!!! ",
" !!! "