rjd318 at gmail.com
Sun Jun 19 13:29:24 EDT 2016
Ah! What's the library stack that does the svg path conversion?
Sent from my iPhone
> On Jun 19, 2016, at 8:44 AM, James Hale <james at thehales.id.au> wrote:
> My app had some 20 or so buttons, each with a carefully drawn and saved png (in multiple sizes) that sorted of looked ok in LC7.
> Once I moved over to LC8 I immediately went looking for svg icons, modifying them or making my own. Extracted the path (really not that difficult, there is even a library stack now that will do it for you) and replaced all my png'd buttons with SVG widgets.
> The widgets, quite happily respond to the mouseup handlers and now I have really nice looking icons that respond to user interaction and will look great no matter what the screen resolution of the device they are being shown on.
> Sure they are monochrome, but I actually prefer them that way.
> I will take monochrome clarity over a colored blur any day ;-)
> Richard, in replying to...
>> Sannyasin Brahmanathaswami who wrote:
>>> With images we can import a raster "object" and then set the icon
>>> of a button to that image.
>>> Wouldn't it be nice to be able to do the same with a SVG file?
>> We can't?
>> What's the point of an SGV Icon object if it can't be used as an icon?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode