|
This module is undocumented. This is a list of its definitions.
flipElements :: [Resource] -> Boolean -> <Proc> ()
Mirrors the given diagram elements, around the x axis if the boolean is True
and around the y axis otherwise. The axis passes through the center of mass of
the selection, each element counting the same.
The change is written in a write transaction of its own that is requested
asynchronously, so this returns before the elements have moved. The transaction
marks an undo point, so the flip undoes as one step.
rotateElements :: [Resource] -> Boolean -> <Proc> ()
Rotates the given diagram elements by 90 degrees, clockwise if the boolean is
True and counter-clockwise otherwise. Several elements are rotated together
around the center of mass of the selection; a single element is rotated around
its own center.
The change is written in a write transaction of its own that is requested
asynchronously, so this returns before the elements have moved. The transaction
marks an undo point, so the rotation undoes as one step.
|