开发者

HTML renderer drop-in, C++ code

I want to drop in an HTML renderer that will basically be used for render-to-texture operations.

If I can render the HTML to an HDC, that would be perfect.

I found HTMLayout, which isn't bad. But it isn't open source. But I'm wondering if there's a way to somehow tap into IE or Moz开发者_Python百科illa/Gecko code, how realisitic/difficult this will be, and possibly some pointers on how to do it.

It will be for a regular straight C++ directx application

Edit

Wow! Mozilla has an embedding kit!


Take a look at WebKit.


Qt can do it, render to a QPainter. See for example http://doc.trolltech.com/4.6/qwebpage.html But not sure if it's easily used if you are not already using Qt.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜