Subject: | Bug in $canvas->createRectangle |
Date: | Tue, 18 Jan 2011 17:28:55 +0100 |
To: | bug-Tk [...] rt.cpan.org |
From: | "K. Wittrock" <KWittrock [...] web.de> |
The attached program shows a problem with $canvas->createRectangle:
The displayed rectangle is correct with option -width => 1. Whenever -width is increased by 1, the total width of the rectangle is increased by 1, while the interior is reduced by 1. Please remember that option -width sets the line width of the outline, not the width of the rectangle itself. The values returned by method coords are correct, but the display is wrong.
I also include a section of a screendump taken from a magnified view of the canvas.
Version info:
OpenSuse 11.1, perl v5.10.0 built for x86_64-linux-thread-multi, $Tk::VERSION 804.028.
Windows XP with SP3, perl v5.10.1 built for MSWin32-x86-multi-thread, $Tk::VERSION 804.028.
Kind regards
Klaus Wittrock
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.