Re: Displaying svg image with WebKit - scaling issues

2009-08-22 Thread Peter Zegelin
Too Easy! Works perfectly in the MiniBrowser demo project. Many thanks! Peter On 23/08/2009, at 1:15 AM, Jean-Daniel Dupas wrote: Le 22 août 2009 à 16:27, Peter Zegelin a écrit : Hi, I would like to display a simple svg image in my app using webkit. Unfortunately I also need to be ab

Re: Displaying svg image with WebKit - scaling issues

2009-08-22 Thread Jean-Daniel Dupas
Le 22 août 2009 à 16:27, Peter Zegelin a écrit : Hi, I would like to display a simple svg image in my app using webkit. Unfortunately I also need to be able to scale the image to the size of the view. The webview class has makeTextLarger and makeTextSmaller which works, but limits the s

Re: Displaying svg image with WebKit - scaling issues

2009-08-22 Thread Gideon King
II saw an NSSVGImageRep in webcore - I would have thought that you could use that with NSImage and do the normal scaling there. I haven't tried it, and could make use of it myself if it works, so would be interested if anyone else has had experience using it. Gideon I would like to displ

Displaying svg image with WebKit - scaling issues

2009-08-22 Thread Peter Zegelin
Hi, I would like to display a simple svg image in my app using webkit. Unfortunately I also need to be able to scale the image to the size of the view. The webview class has makeTextLarger and makeTextSmaller which works, but limits the scaling to about 10 'steps'. Apparently you can do