Re: Clarification of Path Data

On 18 Aug 1999, Bernhard Herzog wrote:
<snip>
>If relative coordinates are relative to the current point, it seems to
>me that these two statements are contradictory:
>
>a) from section 10.3.1: "The command letter can be eliminated on
>   subsequent commands if the same command is used multiple times in a
>   row"
>
>b) from section 10.3.4 (lineto command): "At the end of the command, the
>   new current point is set to the final set of coordinates provided."
>
>I think a) implies that the command letters can be dropped without
>changing the meaning.
<snip>

I think the underlying confusion in the spec is between two possible
interpretations of the use of multiple sets of arguments after an
instruction: 

(a) Each instruction uses a fixed number of arguments.  If arguments
    appear in path data immediately after one instruction's arguments
    without another instruction letter, then the previous instruction
    is repeated using those arguments.

(b) Instructions that take arguments can take multiple sets of
    arguments.

I would prefer interpretation (a); but 11.2.2 specifies an exception for
"moveto" - subsequent co-ordinate pairs are handled to "lineto"
arguments.

-- 
Any opinions expressed are my own and not necessarily those of Laser-Scan.

Received on Wednesday, 18 August 1999 08:28:06 UTC