Re: Normalizing a 'z' or 'Z' command

On Thu, 08 May 2008 08:38:11 +0200, Andreas Neumann <a.neumann@carto.net>  
wrote:

> Hi,
>
> I would also vote against normalizing the close (z|Z) case with a lineto
> command.
>
> In the spec it says "When a subpath ends in a 'closepath', it differs in
> behavior from what happens when "manually" closing a subpath via a
> 'lineto' command in how 'stroke-linejoin' and 'stroke-linecap' are
> implemented." [1]

Maybe I wasn't clear enough, I meant a close might be normalized as either  
just close (if the current position is equal to the subpath start  
position), or as a lineto (to the subpath starting position) followed by a  
close. That way a normalized close would mean just "join the path", not  
"draw a line to the subpath start position if current position isn't equal  
to subpath start position, then join the path".

But like I wrote before, I'm fine with normalizing close to be just close.  
I just wanted to clarify what I meant.
Cheers
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed

Received on Thursday, 8 May 2008 07:22:02 UTC