On 04/21/2013 03:34 PM, rosea.grammostola wrote:
On 04/21/2013 03:32 PM, ed44 wrote:
ps. i did a simple test with cairo...it can draw 1000+ cells ( rects,
filled and stroked, like in the pattern view ) in 0.04 sec's. So things
can be faster than what i have right now.
Non-sequencer doesn't play well with latest ntk iirc. There is a new
version of non-sequencer in the making (looks really cool), but you
probably need some patience for it. (There is special branch for that
new one in git, very early preview).
\r
Thanks for your reply.
In fact, the time given above includes writing the image to a png ( to
check ).
If i leave out the png write, times are around 0.007 - 0.01 seconds.
I checked out the new seq. branch but it is not possible yet to see the
improvements.
When i have time i'm going to try some improvements myself.
The prob. with the current code is that it draws every cell apart while
giving cairo the full path of all cells and draw them with a single fill
and stroke
is much faster.
Also a method of creating a "rubberstamp" for every possible cell and
"stamping" them on
their positions is equally fast. I tested both ways with the above
mentioned result.
If i have something better than talk i'll post it here.
Cheers,
Ed.
Also