From: Asumu Takikawa (asumu at ccs.neu.edu) Date: Tue Mar 5 00:04:44 EST 2013 |
|
Hi all, I think I remember seeing a while back that someone was looking for a way to load SVG documents into Racket bitmaps. It turns out that with FFI bindings to the RSVG library it's pretty easy. Code snippet here if anyone's interested: https://gist.github.com/takikawa/5088103 It assumes you have a copy of the Racket SVG shiny logo from here: http://www.eecs.northwestern.edu/~robby/logos/ Thanks to Matthew for the `get-handle` bitmap% method. Cheers, Asumu
Posted on the users mailing list. |
|