summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-08-24 19:33:49 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-08-24 19:33:49 (GMT)
commit1d2aea3dd1418f7c5df97052cd49798a19de43b7 (patch)
tree5b1ba0bc481e778628829bf56db5a3b99bd83233 /doc
parentdff4ae6a604838f20e92f3c15f476ea05bd38fec (diff)
parent05eee2d0c0be912a3c19c617da9591533effff86 (diff)
downloadtk-1d2aea3dd1418f7c5df97052cd49798a19de43b7.zip
tk-1d2aea3dd1418f7c5df97052cd49798a19de43b7.tar.gz
tk-1d2aea3dd1418f7c5df97052cd49798a19de43b7.tar.bz2
Fix [7c7e8f957e]: Documentation of canvas coords subcommand updated. This patch was proposed by Arjen Markus.
Diffstat (limited to 'doc')
-rw-r--r--doc/canvas.n8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/canvas.n b/doc/canvas.n
index 38697cd..6d22f27 100644
--- a/doc/canvas.n
+++ b/doc/canvas.n
@@ -547,6 +547,14 @@ If coordinates are specified, then they replace the current
coordinates for the named item.
If \fItagOrId\fR refers to multiple items, then
the first one in the display list is used.
+.RS
+.PP
+Note that for rectangles, ovals and arcs the returned list of coordinates
+has a fixed order, namely the left, top, right and bottom coordinates,
+which may not be the order originally given. Also the coordinates are always
+returned in screen units with no units (that is, in pixels). So if the
+original coordinates were specified for instance in centimeters or inches,
+the returned values will nevertheless be in pixels.
.TP
\fIpathName \fBcreate \fItype x y \fR?\fIx y ...\fR? ?\fIoption value ...\fR?
.TP