Scaling an Object

Pressing Mouse-Button-1 in any of the points surrounding the selected object, invokes the commands to scale the object.

The method in which rectangles and polygon type objects are scaled is the same. Circles are slightly different.

Scaling Rectangles and Polygons

Points 1,3,6 and 8
Allow scaling in both the x- and y- planes. The anchor position for the scaling calculation is the diagonally opposite corner.
Points 2 and 7
Allow scaling in the y-plane only. The anchor position for the scaling calculation is the y-coordinate of the opposite side of the bounding-box.
Points 4 and 5
Allow scaling in the x-plane only. The anchor position for the scaling calculation is the x-coordinate of the opposite side of the bounding-box.

Scaling Circles

Points 1,3,6 and 8
These carry out no function on circles. This is in order to preserve the aspect-ratio.
Point 2
If this point is selected, point 8 is the anchor point for the scaling function. The circle is scaled in accordance with movements in the y-direction.
Point 4
As with Point 2, but with scaling in accordance with movements in the x-direction.
Point 5
If this point is selected, point 1 is the anchor point for the scaling function. The circle is scaled in accordance with movements in the x-direction.
Point 7
As with Point 5, but with scaling in accordance with movements in the y-direction.

---

Gudge.