Hello all, just having a stab at getting some SVG capabilities into squeak.
I have uploaded a package to SqueakMap (SVGMorph) that is a first attempt. Not very clean or comprehensive but deals with simple stuff. Inspired by developing for configurations with dodgy display sizes. It seemed best to go with scalable graphics!
Any comments welcome.
Gary Chambers.
Gary Chambers puso en su mail :
Hello all, just having a stab at getting some SVG capabilities into squeak.
I have uploaded a package to SqueakMap (SVGMorph) that is a first attempt. Not very clean or comprehensive but deals with simple stuff.
Inspired by developing for configurations with dodgy display sizes. It seemed best to go with scalable graphics!
Any comments welcome.
Gary Chambers.
Gary: Code load but maybe you could add a note what image must have XML-Parser.st. And maybe I missing some more , as I have several .svg files and morph only show lines.
Edgar
___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar
Chris Schreiner wrote:
Code load but maybe you could add a note what image must have XML-Parser.st. And maybe I missing some more , as I have several .svg files and morph only show lines.
Edgar
In which package can you find that XML-Parser.st ?
Found one in YAXO, is this ok to use? It does render nicely, but rotation does not work properly yet. Nice piece of work, hopefully I can learn something from this.
Chris
Chris Schreiner puso en su mail :
Code load but maybe you could add a note what image must have XML-Parser.st. And maybe I missing some more , as I have several .svg files and morph only show lines.
Edgar
In which package can you find that XML-Parser.st ?
I try on Squeak3.9a-6678.image, I must tell .
As I have many .images and all kind of test, I have several classes as .st files.
But now Squeak have "basic" and "full" version of each. For the record , in official Squeak3.8-6665.image , I see after of loading Monticello, XML-Parser-mir.2 as package what seems the first I load continuing.
Edgar
___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar
Tested on a (win32) 3.7 (Squeak3.7-5989-full) and 3.8 (Squeak3.8-6665full) full image.
It looks like the XML parser is by 'mir' and is included in each release I think.
I am currently woking on some text support, not very pretty I'm afraid! The example svg you provided looks ok(ish) now!
New release coming soon....
Thanks for the encouragement!
squeak-dev@lists.squeakfoundation.org