[webkit-help] webkit 2 queries

Ammar Ahmad Awan ammar.ahmad.awan at gmail.com
Tue Apr 26 11:05:06 PDT 2011

On Tue, Apr 26, 2011 at 8:13 PM, Adam Roben <aroben at apple.com> wrote:
> On Apr 25, 2011, at 11:56 PM, Ammar Ahmad Awan wrote:
> P.S : I tried including SVGclasses from the webcore directly in the
> WinLauncher app but was not successful. When i add the statement
> #include <WebCore/SVGCircleElement.h> in WinLauncher or MiniBrowser,
> the programs do not compile and the error message leads to the file (
> SVGCircleElement.h) where ENABLE ( SVG ) macro is use . It is disabled
> and the source code is shown in gray color. How can I enable that or
> how can I use Webcore classes direcltly in some app like MiniBrowser.
> WebCore does not provide an API that can be used in applications. WebKit
> provides the API.
> What are you trying to do with WebCore's SVG classes?

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.

-- Ammar

More information about the webkit-help mailing list