2015-06-29 12:55 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com>:
On Mon, Jun 29, 2015 at 12:16 PM, Stephan Eggermont <stephan@stack.nl> wrote:
On 29-06-15 10:26, Hannes Hirzel wrote:
Thank you, Stephan, for providing a well worked out example continuing where Morphic tutorials normally end. This is a real need to unearth functions which have been there fore years but mostly unused.
The two video clips document the use cases of the code nicely.
A question not answered yet is: How do I export the panel with the cards as an SVG file?
Hmm. What would be the best way to do that? - I assume in Bloc with Cairo I should be able to use an SVGCanvas?
I thought that this was already possible with Morph>>drawOnAthensCanvas:
That does not imply it can be used to generate svg elements on the fly. Athens backend is based on a vector "drawing" library that does not mean it can generate any vector drawing files ... luckily, cairo can ! And with just a couple of native function calls, we can add this support to athens (see attached svg images)