Shape Transformations
In this subclause, we describe the transformation pipeline for a shape. To summarize, the shape transformation for a shape is defined as the following sequence of operations:
The translation and scaling required to transform its original bounding box to a rectangle specified by the offset and extents.
A flip across the center of the bounding box according to
@flipH
and@flipV
.A rotation about the center of the bounding box according to the
@rot
attribute.
To render a shape that is not inside a group (§5.7.4), the renderer simply applies the shape transformation to the original shape.