Hi Mark,

that works! Thanks!

But I still hava a problem here.

First the svg does not resive properly while resizing the window. The svg is part of a ComposibleModel
How can I also introduce an animated SVG? Like an svg that changes color during a mouse click?
Are there any particular Models that could be used as a container for this SVGMorphAdapter?

I saw a project that added such funktionalities to SVGs like animations within Pharo, but I can't find it anymore. I assume that's why it wasn't continued?

Thanks
Sebastian


Am 27.01.2015 um 08:02 schrieb Mark Rizun:
Hi,

Not sure if it helps but for morphs you have next "transformation to model":

| morph |
    
    morph := CalendarMorph on: Date today.
    ^ morph asSpecAdapter

Please read details here:
http://spec.st/docs/insert-morph/

Mark

2015-01-27 16:57 GMT+01:00 Sebastian Heidbrink <sheidev@yahoo.de>:
Hi!

Okay so I am currently trying Spec out and I need some advice.

Which is the Model to use for a ASVGMorph ("AthensSvgMorph")?

Is there an example availabel somewhere?

Thanks
Sebastian