summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-08-24 19:34:15 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-08-24 19:34:15 (GMT)
commit56186d95c6f47d74fa12d9f6e72b5415f60c0d30 (patch)
treeccbf87966dbe61b79af540bed8dcfa57193d63b1
parent0ef3c9007ffca1184323614b7b4bf7d6f8565dbb (diff)
parent1d2aea3dd1418f7c5df97052cd49798a19de43b7 (diff)
downloadtk-56186d95c6f47d74fa12d9f6e72b5415f60c0d30.zip
tk-56186d95c6f47d74fa12d9f6e72b5415f60c0d30.tar.gz
tk-56186d95c6f47d74fa12d9f6e72b5415f60c0d30.tar.bz2
Fix [7c7e8f957e]: Documentation of canvas coords subcommand updated. This patch was proposed by Arjen Markus.
-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