diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2019-03-15 18:41:23 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2019-03-15 18:41:23 (GMT) |
commit | fd50ed0534e4f513c14e01475e5dbfa992ae0c2a (patch) | |
tree | 2e653463082b1fdced52def2447b9b3ac5171f2b /doc | |
parent | 913c2ffec66a261d7cea357c21cdcda60132c0a5 (diff) | |
download | tk-fd50ed0534e4f513c14e01475e5dbfa992ae0c2a.zip tk-fd50ed0534e4f513c14e01475e5dbfa992ae0c2a.tar.gz tk-fd50ed0534e4f513c14e01475e5dbfa992ae0c2a.tar.bz2 |
Make some items have a virtual centre point to move. Much saner behaviour.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/canvas.n | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/canvas.n b/doc/canvas.n index bcd4991..424c3ca 100644 --- a/doc/canvas.n +++ b/doc/canvas.n @@ -983,11 +983,14 @@ anticlockwise, in degrees. (Negative values rotate clockwise.) This command returns an empty string. .RS .PP -Implementation note: not all item types work well with rotations. In -particular, the \fBarc\fR, \fBoval\fR and \fBrectangle\fR types are very -unlikely to work as you expect. Several other item types only have a single -coordinate; this command can move that anchor point, but will not rotate the -item about that anchor point. +Implementation note: not all item types work the same with rotations. In +particular,\fB bitmap\fR,\fB image\fR,\fB text\fR and\fB window\fR items only +rotate their anchor points and do not rotate the items themselves about those +points, and the \fBarc\fR, \fBoval\fR and \fBrectangle\fR types rotate about a +computed center point instead of moving the bounding box coordinates directly. +.PP +Some items (currently \fBarc\R and\fB text\fR) have angles in their options; +this command \fIdoes not\fR affect those options. .RE .VE "8.7, TIP164" .TP |