[racket] Snips displaying pdfs

From: Eli Barzilay (eli at barzilay.org)
Date: Mon May 7 20:56:42 EDT 2012

Three hours ago, Michael W wrote:
> 
> I'm not rasterizing to a bitmap% or anything like that. Instead,
> I'm asking poppler to draw directly to the dc<%>'s cairo context
> (Eli and Matthew are probably cringing), which means that you can
> render to arbitrary dc<%> objects at the cost of being much more
> hacky than your version.

I don't know about "hacky" -- it just sounds like it'll invoke the
library for every redraw, which would be overall slower than going
through a bitmap that saves the results.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.