Should anyone out there have a need to do offscreen rendering to a
Windows memory DC, I have managed to have some success doing so. The
actual code I wrote is fairly tiny (less than 10 lines). What I
basically do is "simulate" the update process for a window and create a
rendering context that uses my memory DC instead.
It works reasonably well for my purposes. My only real problem is just
that Mozilla appears to have no concept of "done" when rendering and so
it's sometimes difficult to catch things when it's a good time to take a
"snapshot".
As I said, it's a HACK, really and truly, but if anyone else out there
would find it useful I'm more than happy to pass it along till there is
a better solution.
Erik
- Re: offscreen rendering (a hack) Erik Walter
- Re: offscreen rendering (a hack) Steve Williams
- Re: offscreen rendering (a hack) Erik Walter
- Re: offscreen rendering (a hack) Steve Williams
- Re: offscreen rendering (a hack) Steve Williams
