On Friday, April 28, 2017 at 6:40:06 PM UTC+8, Daniel Prager wrote:

> The reason is that what I really want to do is more complex layouts, for 
> which 2htdp/image or pict combiners make life a lot easier.

The code to convert to bitmap allocates the bitmap and draws to the bitmap.  In 
the actual application you can draw directly to the canvas DC in the on-paint 
method, which would save a bitmap allocation and an intermediate draw step.

> 
> Some work-in-progress ...
> 
> The idea of Quilt Explorer is to use symmetry and randomness, combined with 
> some user selection to create original quilt designs.

looking at these designs, I think by the time you're done writing code that 
draws directly to a dc, the code will be just as slow as the pict code, and 
probably with more bugs.

Also, it seems you are rendering about 20 designs on the page.

How long does it take to render an actual quilt design?

Best Regards,
Alex.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to