Transformations
Geometrical transformations
The following geometrical transformations are predefined in IPKISS. They can be used to transform (i.e., translate/rotate) geometrical elements and layout instances.
Transform that leaves an object unchanged. |
|
Translation transform: move for a given |
|
Rotation around point |
|
Vertical mirror around an axis or plane with constant y. |
|
Horizontal mirror around an axis or plane with constant x. |
|
Mirror around point |
|
Non-homothetic scaling. |
|
Scaling transformation with respect to a given point |
|
A homothetic transformation that does not distort the item it is applied to (angle conservation) |
Transformable objects
An object type which can be transformed (like a Shape or an Element) is a Transformable. There are a few different types of transformables in IPKISS, depending on whether the object accepts transformations that can distort (magnification) and on whether the transformation is applied directly or rather stored and applied when some attribute of the object is accessed.
object that can be transformed |
|
transformable that stores its transforms |
|
transformable that stores its homothetic transforms |