摘要 |
A stretch controller and a repeat controller allow for manipulation of graphical shapes in arbitrary angles. To stretch the graphic shape, a stretch distance and a stretch direction are received from a user. When the stretch direction is positive, then a determination is made as to vertices of the graphic shape are on a first side of a control line. The control line is at an arbitrary angle. This means that the control line does not have to be parallel to or orthogonal to an x-axis, but can be placed at a range of angles from 0 degrees to 180 degrees with respect to the x-axis. The vertices of the graphic shape, which are on the first side of the control line are moved the stretch distance in a direction orthogonal to the control line.
|