On 2017-11-03 14:19, Mark Waddingham via use-livecode wrote:
My most recent talk at LCG (in October) was 'Building an SVG Widget'
and in order to talk about such a thing, I needed to actually build
one - so I did :)
So, we are now firmly on the road to full SVG support in LiveCode!
For anyone interested in the gory details, I've just submitted the
containing the implementation I did for LCG:
It consists of around 2000 lines of LCS, and 400 lines of LCB, along
a specification text file.
This should be considered a Work-In-Progress - the name is currently
and the persistent state of the widget is not yet stable. The former
updated when we finally decide on a suitable name; the latter will get
when I've finished planning the fine details of the initial set of
The widget itself is really easy to use - you drag one out and set the
property of the widget to the content of an SVG file (i.e. the actual
not a filename). If the SVG has a 'viewBox' top-level attribute, then
of the (SVG) 'canvas' will be scaled to fit into the widget's rect;
canvas will be rendered as defined.
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription