Hi Chris, On Tue, May 11, 2010 at 9:07 AM, Chris Hatko <[email protected]> wrote: > I'm using webkit cairo build and I'd like to have the webkit render > output into a buffer/byte array (for example in RGBA format) instead > of of drawing to a window. Is there any existing API to do this? Any > pointers on what classes I should look at?
If you are using the Windows Cairo build, you should be able to use the WebFrame's "paintDocumentRectToContext" function (passing it a suitable device context). This won't give you borders/headers/footers for e.g., print preview, but it should give you the page contents. -Brent _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
