Re: path's d attribute - why not use parenthesis?

On Sunday, June 6, 2004, 4:27:51 AM, Nate wrote:

N> I know the idea is to keep the file size as small aspossible but
N> I think if parenthesis were added (or maybe optional would bebest) it
N> wouldn’t add much to the file size and it would help
N> readabilityconsiderably.

N> Example:
N> <path d="M(150,150) l(0,0) a(75,75 0 1,0 150,150) z" />

N> That to me is easier to read, plus coming from PHPbackground the
N> M() and l() look like a function would, which is kind of whatthey are
N> anyway right?

You can use new lines if you are more concerned with readability than
file size.

<path d="M 150,150
l 0,0
a 75,75 0 1,0 150,150
z"/>


-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group

Received on Sunday, 6 June 2004 02:28:21 UTC