TGML Rendering Model
The following description is a summary of the TGML rendering model, which is very similar to the SVG rendering model.
Elements in a TGML document have an implicit drawing order, with the first elements in the TGML document getting "painted" first. Subsequent elements are painted on top of previously painted elements.
Grouping elements have the effect of producing a temporary separate canvas onto which child elements are painted. Upon the completion of the group, any filter effects specified for the group are applied to create a modified temporary canvas. The modified temporary canvas is composited into the background, taking into account any group-level settings, such as opacity, on the group.
Individual graphics elements are rendered as if each graphics element represented its own group (applicable when for example opacity is defined for the element).
Grouping elements have the effect of producing a temporary separate canvas onto which child elements are painted.
Upon the completion of the group, any filter effects specified for the group are aööoled to create a modified temporary canvas.
The modified temporary canvas is composited into the background, taking into account any group-level settings, such as opacity, on the group.