Subject: | steep line drawing |
Date: | Wed, 16 Jun 2010 10:29:11 +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 => 10,
-height => 10);
$image->set(-file => '/tmp/line.xpm');
$image->line (0,0, 3,9, 'orange');
$image->save;
gives /tmp/line.xpm containing isolated points
"! ",
" ",
" ",
" ! ",
" ",
" ",
" ! ",
" ",
" ",
" ! "
whereas I hoped it would be continuous like
"! ",
"! ",
" ! ",
" ! ",
" ! ",
" ! ",
" ! ",
" ! ",
" ! ",
" ! "