SCALE
A transformation that scales positions about a centre.
Syntax
SCALE(centre,[sx,sy])
| Argument | Meaning |
|---|---|
| centre | The position that stays where it is. |
| [sx,sy] | How much to scale across and up: [2,2] doubles, [1,-1] flips upside down. |
Result
A transformation.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
P2*SCALE(P0,[0.5,0.5]) |
[250,150] |
P2*SCALE(P0,[2,1]) |
[1000,300] |
Notes
A transformation is used by multiplying a position by it: P1*ROTATE(P0,90). The Transform tool writes these.