On Fri, Apr 28, 2017 at 08:39:33PM +1000, Daniel Prager wrote:
> 
> Now, you may be wondering why I want to keep using 2htdp/image if I already
> have code to directly draw to dc
> 
> 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.

Perhaps make a closure that, when called, does the rendering to dc, 
and treat the closure as a representation for the image?  Then let the 
image and pict combiners operate on the closures to produce more 
closures?

You do have a functional language to work with.  You can use it as 
such.

-- hendrik

-- 
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