Hi,

I have posted a bug regarding the perl call to gimp_path_get_poin
ts (it doesn't work in perl -- the number of points is not 
returned, and a final array seems to have zero length), but this 
is only a related question.

Is there a way to find out how long the active path is?  I have 
seen people use error catching in script-fu to detect overruns 
when doing gimp-path-get-point-at-dist, but I would really like 
to know how long the path is so that I can place copies of the 
active selection at equal intervals along it.  Depending on 
error conditions seems clumsy (although I am working on a binary 
search to get the length).  Any ideas?

Thanks,

-- 
--Jeff

Jeff Trefftzs <[EMAIL PROTECTED]>
http://www.tcsn.net/trefftzs                    Home Page
http://gug.sunsite.dk/gallery.php?artist=68     Gimp Gallery
http://members4.clubphoto.com/jeff309574        A photo gallery



_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to