• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Displaying svg image with WebKit - scaling issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying svg image with WebKit - scaling issues


  • Subject: Re: Displaying svg image with WebKit - scaling issues
  • From: Gideon King <email@hidden>
  • Date: Sun, 23 Aug 2009 00:52:40 +1000

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 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 scaling with a CSS transform, but I have no idea how to do this. Does anyone have an example?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Displaying svg image with WebKit - scaling issues (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Displaying svg image with WebKit - scaling issues
  • Next by Date: Re: Table view with multiple columns
  • Previous by thread: Displaying svg image with WebKit - scaling issues
  • Next by thread: Re: Displaying svg image with WebKit - scaling issues
  • Index(es):
    • Date
    • Thread