Discussion:
wxWebView rendering into wxBitmap
David Hansel
2014-01-31 02:38:49 UTC
Permalink
Hi,

I'm looking for a way to render HTML onto a wxBitmap.
I tried wxHtmlDCRenderer via a wxMemoryDC and while that works
it suffers from the limitations of the wxWidgets built-in HTML
renderer.

My question is whether it is possible to use a wxWebView to
achieve this. I tried using a wxWindowDC to copy the rendered
image to a wxMemoryDC via the Blit() function. My hope was that
I could just render to an invisible window and then Blit() the
rendered image. However, it seems to me that it only works if
the window containing the wxWebView is visible.

Any other ideas on how to achieve this? I basically have a
large wxBitmap into parts of which I would like to render
some HTML.

Thanks!

David
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...