Nesting Transformations
The following example illustrates the rendering procedure described at the end of the introduction to §5.7.4, which differs from a conventional transformation pipeline in any case where a scaled group contains a rotated child.
[Example: In this example, the diagram on the left side is a group that comprises a rotated red square centered inside a non-rotated blue square. The diagram on the right side is the same group, scaled horizontally. The red square scales along an axis parallel to its own edges instead of an axis parallel to the edges of the blue square.