RE: z in d attribute of path element

Hi Kevin.
> The short answer is "yes".
> 
> The slightly longer answer is that the first preceding 
> (working backwards
> from the closepath) "m", "M", "z", "Z" command determines the 
> start point of
> the current sub-path.  Absolute moveto, as in your example, 
> is the easiest
> case to determine the starting point.  The other cases can be tricky,
> especially if they are preceded by relative path commands.

So when I convert such a relative path to absolute,
Same logic applies? Search back (in the converted attribute) for last M|m
z|z command
and use those coords? 

E.g I've converted a relative lot to
M 6 , 9876C 20, 9883 56, 9890 110, 9891 
164, 9893 208, 9881 217, 9877 231, 9866 227, 9814 272, 9783 
317, 9752 350, 9729 362, 9689 373, 9650 326, 9623 303, 9638 
279, 9653 270, 9664 261, 9675 261, 9675 275, 9609 261, 9610 
241, 9612 173, 9618 103, 9618 34, 9618 -11, 9614 -35, 9611 
-52, 9622 -36, 9706 -23, 9772 -3, 9865 -13, 9869 6, 9876 

and want to convert a z to absolute,
my options are L 6,9876 which appears to match your above
criteria.

Is that the right logic please? Then if I have a later z
it will still 'go home' to the same point, since the later z
reflects the first M coords?

Regards DaveP

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

14th June 2002 is RNIB Look Loud Day - visit http://www.lookloud.org.uk to
find out all about it.

Received on Thursday, 11 April 2002 11:14:29 UTC