summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-08-21 20:51:44 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-08-21 20:51:44 (GMT)
commit05eee2d0c0be912a3c19c617da9591533effff86 (patch)
tree8dab81224d741c2410d6d187eaa3ac807a707f56 /doc
parent1364a529c92c6e64af2308174eb56b09001e5fa7 (diff)
downloadtk-05eee2d0c0be912a3c19c617da9591533effff86.zip
tk-05eee2d0c0be912a3c19c617da9591533effff86.tar.gz
tk-05eee2d0c0be912a3c19c617da9591533effff86.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