Look and Feel in LC8

RM richmondmathewson at gmail.com
Sat Mar 12 11:01:48 EST 2016


Until LiveCode "just does" SVG images, a clever person who understands 
Java might be able to do
something with this to break down an SVG image into its components so 
that they could be imported individually:

http://stackoverflow.com/questions/10621118/split-groups-in-svg-into-sub-images-positioned-around-the-contents

Richmond.

On 12.03.2016 00:12, Sannyasin Brahmanathaswami wrote:
> On March 11, 2016 at 11:57:25 AM, Peter TB Brett (peter.brett at livecode.com<mailto:peter.brett at livecode.com>) wrote:
> I really encourage you to take a look again at the widgets in the next
> LiveCode 8.0 DP release,
>
>
> Will there be more robust SVG support in the current SVG widget?
>
> We would like to make small things in Illustrator and then bring them into LC  but the SVG widget is super primitive...we need  support for more than one path.  even a simple thing like this  (see below) cannot be imported... in fact.. be careful... it will hang LC if you paste this into the widget path and fiddle with it. The SVG widget parser will choke and you may be forced to reboot LC (see http://quality.livecode.com/show_bug.cgi?id=17109)
>
> <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 117.86 108.73"><title>SivaSivaLogo2-red-white</title><rect width="117.86" height="58.93" fill="red"/><path d="M13.27,41.39a16.14,16.14,0,0,0,8.22,2.28c4.72,0,7.48-2.44,7.48-6,0-3.34-1.91-5.3-6.74-7.11-5.83-2-9.44-5.09-9.44-10.08,0-5.57,4.61-9.71,11.56-9.71a16.72,16.72,0,0,1,7.85,1.7l-1.27,3.82a13.22,13.22,0,0,0-6.74-1.7c-4.88,0-6.74,2.92-6.74,5.36,0,3.29,2.17,4.93,7.11,6.84,6,2.39,9.07,5.25,9.07,10.5,0,5.46-4,10.29-12.46,10.29A18.45,18.45,0,0,1,12,45.21Z" fill="#fff"/><path d="M44.61,11.26V47H39.95V11.26h4.67Z" fill="#fff"/><path d="M60.52,47L48.8,11.26h5l5.57,17.61c1.49,4.83,2.81,9.23,3.82,13.37h0.11c1-4.14,2.44-8.65,4.08-13.31l6-17.66H78.4L65.62,47H60.52Z" fill="#fff"/><path d="M85,35.76L81.31,47H76.54L88.69,11.26h5.57L106.46,47h-4.93L97.7,35.76H85Zm11.72-3.61L93.2,21.87c-0.74-2.33-1.27-4.46-1.8-6.52H91.23c-0.48,2.07-1.06,4.3-1.75,6.47L86,32.16H96.75Z" fill="#fff"/><path d="M13.3,102.54a16.33,16.33,0,0,0,8.3,2.29c4.76,0,7.55-2.46,7.55-6.08,0-3.36-1.93-5.34-6.8-7.15-5.89-2-9.53-5.12-9.53-10.14,0-5.6,4.66-9.76,11.67-9.76a16.93,16.93,0,0,1,7.92,1.71l-1.28,3.84a13.39,13.39,0,0,0-6.8-1.71c-4.92,0-6.8,2.93-6.8,5.39,0,3.31,2.19,5,7.17,6.88,6.1,2.4,9.15,5.28,9.15,10.57,0,5.5-4.07,10.35-12.58,10.35a18.67,18.67,0,0,1-9.21-2.35Z" fill="red"/><path d="M44.93,72.23v36H40.22v-36h4.71Z" fill="red"/><path d="M61,108.19l-11.83-36h5.09l5.62,17.72c1.5,4.86,2.84,9.28,3.85,13.45h0.11c1-4.16,2.46-8.7,4.12-13.39l6.1-17.77h5l-12.9,36H61Z" fill="red"/><path d="M85.72,96.88L82,108.19H77.15l12.26-36H95l12.31,36h-5L98.51,96.88H85.72Zm11.83-3.63L94,82.9c-0.75-2.35-1.28-4.48-1.82-6.56H92c-0.48,2.08-1.07,4.32-1.77,6.51L86.68,93.25H97.55Z" fill="red"/></svg>
>
>
> Any other way to get this into LC?
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list