diff options
Diffstat (limited to 'doc/canvas.n')
-rw-r--r-- | doc/canvas.n | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/canvas.n b/doc/canvas.n index 6a41aaf..daa7a72 100644 --- a/doc/canvas.n +++ b/doc/canvas.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: canvas.n,v 1.42 2009/01/03 14:41:51 dkf Exp $ +'\" RCS: @(#) $Id: canvas.n,v 1.43 2009/05/05 09:18:08 dkf Exp $ '\" .so man.macros .TH canvas n 8.3 Tk "Tk Built-In Commands" @@ -949,8 +949,8 @@ use as a replacement). The other items ignore this operation. .TP \fIpathName \fBscale \fItagOrId xOrigin yOrigin xScale yScale\fR . -Rescale all of the items given by \fItagOrId\fR in canvas coordinate -space. +Rescale the coordinates of all of the items given by \fItagOrId\fR in canvas +coordinate space. \fIXOrigin\fR and \fIyOrigin\fR identify the origin for the scaling operation and \fIxScale\fR and \fIyScale\fR identify the scale factors for x- and y-coordinates, respectively (a scale factor of @@ -961,6 +961,12 @@ of \fIxScale\fR. Similarly, each y-coordinate is adjusted to change the distance from \fIyOrigin\fR by a factor of \fIyScale\fR. This command returns an empty string. +.RS +.PP +Note that some items have only a single pair of coordinates (e.g., text, +images and windows) and so scaling of them by this command can only move them +around. +.RE .TP \fIpathName \fBscan\fR \fIoption args\fR . @@ -1903,4 +1909,5 @@ bind(n), font(n), image(n), scrollbar(n) canvas, widget '\" Local Variables: '\" mode: nroff +'\" fill-column: 78 '\" End: |