[Gimp-developer] Getting information about path length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <trefftzs@xxxxxxxx>
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





[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux