- (#<widget> 'scale tagOrId xOrigin yOrigin xScale yScale)
- Rescale all of the items given by tagOrId in canvas coordinate space.
xOrigin and yOrigin identify the origin for the scaling operation and xScale and yScale identify the scale factors for x- and y-coordinates, respectively (a scale factor of 1.0 implies no change to that coordinate).
For each of the points defining each item, the x-coordinate is adjusted to change the distance from xOrigin by a factor of xScale. Similarly, each y-coordinate is adjusted to change the distance from yOrigin by a factor of yScale.
This command returns an empty string.
© Author
| Home
| Sitemap
|