Subject: | polygon should include all endpoints |
Most, if not all, drawing methods will include the endpoints, but
polygon does not and it seems that it should to be consistent (and
easier to use for my purposes). If I draw a polygon with endpoints at
1,1 1,10 10,10 10,1, I get a 9x9 box. If I draw a box with xmin=1
xmax=10 ymin=1 ymax=10, I get a 10x10 box. If I use polyline with the
same args as polygon, I get a 10x10 box.
I have tried to resolve my issue by drawing a polyline on top of
polygon, but the ansi-aliasing causes problems.
I am using Imager .93 with Perl 5.12.
Thanks!