Hi..
thanks for the info,

my purpose is to get all those points in a path rather than just M 
value since i would need to use all the points to put into an array 
for processing later.so i'll need to extract all the points.
path parser has able to extract multiple path and extract 1 point(x 
y) however, in this case i would like to further divide into 2 
different point as in point x and point y to be in an array. i'll 
still give it a try and see how it goes.

thanks again...

--- In svg-developers@yahoogroups.com, Philippe Lhoste <[EMAIL PROTECTED]> 
wrote:
> e2mieluv wrote:
> > It does work great in extracting the points from the path as I 
> > wanted.one thing i would like to know however, will it only 
abstract 
> > the M points and not the rest? since most path drawn by maps 
would 
> > have multiple joints of path in a single drawn path.
> > 
> > thanks again! 
> > i'm trying it as i type =)
> 
> As I understand the way Kevin manipulates paths, each particular 
command 
> gets its command handler, ie. M will be treated by a different 
handler 
> than L or even than m.
> Now, a M 1,1 1,10 10,1 will be treated as M 1,1 L 1,10 L 10,1, I 
think.
> So yes, the movetoAbs handler will get only M points. But if you 
have 
> something like M 1,1 L 1,10 L10,1 z M 5,20 L 20,10 L 10,20 z, you 
will 
> get two calls to movetoAbs handler.
> 
> -- 
> Philippe Lhoste
> --  (near) Paris -- France
> --  http://Phi.Lho.free.fr
> --  For servers mangling my From and Reply-To fields,
> --  please send private answers to PhiLho(a)GMX.net
> --  --  --  --  --  --  --  --  --  --  --  --  --  --





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to