Re: Rendering order

Steve,

At 12:42 PM 3/6/00 -0800, Steve Dickson wrote:
>In the SVG spec of 2000/03/03, section 4.3 reads:
>
>"Elements in an SVG document fragment have an implicit drawing order, with
>the first elements in the SVG document fragment getting "painted" first.
>Subsequent elements are painted on top of previously painted elements."
>
>However, section 4.5.1 reads:
>
>"For certain types of shapes, marker symbols (...) can be drawn at
>selected vertices. Each marker symbol is painted as if its graphical
>content were expanded into the SVG document tree just  _above_  [my
>emphasis added] the shape object which is using the given marker symbol
>... The fill is painted first, then the stroke, and then the marker
>symbols. "

There are two possible definitions of "above": position in the parse tree
(above means lexically before) and relative position in drawing order
(above means lexically after). The word "above" is thus ambiguous.

The word "above" should be replaced by the word "after". The marker is
rendered after the shape object is filled and stroked.

Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated

>
>This seems self-contradictory.  If a symbol is inserted above the shape
>being rendered then, by rule 4.3, it will be rendered before the shape. 
>However, the last quoted sentence in 4.5.1 indicates that the shape should
>be rendered first and then the marker symbols.
>
>Can you please clarify the intended meaning?
>
>Thanks.
>
>S.
> 

Received on Monday, 6 March 2000 16:58:21 UTC