Re: [Pharo-users] SVG Icons

2017-10-06 Thread Sven Van Caekenberghe
That is a very cool example ! Some nit picking (just trying to help make examples/snippets even more sexy). The shortest expression to get to the contents of a URL, using only unary selectors is 'https://s.cdpn.io/3/kiwi.svg' asUrl retrieveContents. XMLDomParser's API also has the option #pa

Re: [Pharo-users] SVG Icons

2017-10-05 Thread Peter Uhnák
Hi, this is not really tested, but you can try to do the following (installation) a) install XMLParser from catalog b) in monticello browser open Pharo/Athens and load latest version of Athens-SVG package (usage) Then you import SVG XML using Converter and paint it on a surface, which you conver

[Pharo-users] SVG Icons

2017-10-05 Thread Steven R. Baker
Heya folks! I need to load SVG images (for icons) in my application. I've searched my 6.1 image for SVG, but haven't found anything. Is there a library for loading SVGs? I'd really like to get them directly into instances of Form if possible, but I'm flexible. :) Thanks! -Steven