[Gimp-developer] How many points can be drawn with one call to gimp-paintbrush?

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

 



I'm working with L-Systems, using the GIMP as the image visualization engine, 
and doing the actual string rewriting, etc. in perl-fu.  My test images tend 
to get pretty complicated pretty fast - the one running now is interpreting 
88,940 symbols in the l-system.  While the number of lines that gets drawn 
isn't quite this large, we're still talking in terms of tens of thousands of 
calls to gimp_paintbrush.  At the moment I call gimp_paintbrush once for each 
line segment, as it gets processed from the command string (those 88,940 
symbols I mentioned earlier).  I was wondering if there might be a noticeable 
performance improvement if I were to accumulate a large number of line 
segments (saving their coordinates in an array), and making one call to 
gimp_paintbrush with some large number of line segments.   Is there a known 
upper limit to the number of end points that can go into the array passed to 
gimp_paintbrush?


-- 
--Jeff

Jeff Trefftzs <trefftzs@xxxxxxxx>
http://www.tcsn.net/trefftzs			Home Page
http://gug.sunsite.dk/gallery.php?artist=68	Gimp Gallery
http://trefftzs.topcities.com/home.html		Photo galleries





[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