On Apr 26, 2011, at 11:05 AM, Ammar Ahmad Awan wrote: > I am trying to draw svg on Win32 canvas using the WebCore's SVG > classes. e.g, based on user input through a textbox like radius for a > circle, i want to draw svg circles on my canvas. My project has more > complicated tasks but this is just the simplest thing I want to do > before I can proceed any further with webkit.
I'm not sure what a "Win32 canvas" is. WKView/WebView know how to render SVG content into an HWND. You can use WM_PRINT to get the HWND's content into an HDC of your own creation. There shouldn't be any need to use WebCore's classes directly. -Adam _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
