Vector Images and the SVGL stack

Bob Sneidar bobsneidar at iotecdigital.com
Mon Nov 9 17:38:40 EST 2015


Ah! I was under the impression that Alejandro had come up with a comprehensive library of SVG routines. As an aside, from what I am reading, SVG seems to be vector graphics for those of us who don't want to license Postscript. I've never worked with them before, but my curiosity is piqued.

Bob S


On Nov 9, 2015, at 14:34 , Richard Gaskin <ambassador at fourthworld.com<mailto:ambassador at fourthworld.com>> wrote:

Unless I misunderstand what Alejandro is doing, his work is able to run in v7 and earlier because it translates SVG elements into LC graphics.  He does a very good job of it, but SVG includes primitives beyond what LC offers.

We have ovals, lines, polygons, roundRects, and rects, but SVG also allows paths that can consist of straight lines, curves, and even Beiziers.

At a fixed size it's possible to use polygons for nicely-rendered emulation of SVG paths, as Alejandro has done, but at higher resolution (such as when printing) or if resized sufficiently large, any emulated path using elements not found in LC will show some jagged edges where true SVG rendering will remain smooth at any resolution.

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web




More information about the use-livecode mailing list