Re: [Pharo-dev] SVG described countries in Roassal

2013-11-16 Thread Camillo Bruni
Nice! Though I am a bit confused, what has displaying vector graphics with SVG to do? I don't fully get the interaction from your example :) On 2013-11-16, at 22:39, Tudor Girba wrote: > This is really great! > > Doru > > > On Sat, Nov 16, 2013 at 9:47 PM, Alexandre Bergel > wrote: > Anoth

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-16 Thread Alexandre Bergel
SVG path gives us a list of segment coordinates. We process each coordinate using the camera, which gives translation and zoom. The interaction maybe not that obvious from the example. Having the mouse over a name highlights the country. Cheers, Alexandre > Le 16-11-2013 à 19:28, Camillo Br

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-16 Thread Tudor Girba
I guess the answer to Camillo is that the link between SVG and the picture of Alex is that the map data is available as SVG :). Alex imported the map from SVG and drew it with Roassal. Doru On Sun, Nov 17, 2013 at 12:02 AM, Alexandre Bergel wrote: > SVG path gives us a list of segment coordinat

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-16 Thread Camillo Bruni
ok, makes more sense now :) On 2013-11-17, at 00:11, Tudor Girba wrote: > I guess the answer to Camillo is that the link between SVG and the picture of > Alex is that the map data is available as SVG :). Alex imported the map from > SVG and drew it with Roassal. > > Doru > > > On Sun, Nov 1

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-17 Thread Stéphane Ducasse
vector graphics are cool :) I'm sure that you love athens. Stef On Nov 16, 2013, at 9:47 PM, Alexandre Bergel wrote: >

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-17 Thread Stéphane Ducasse
I see that you have a lt of fun. Now I have the impression that in the future version you should not expose ROSVGPath and others because there are at the importer level not Roassal. So why do you need to wrap them. If there is something missing in SVGPath what is it? Stef > Hi! > > I had

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-17 Thread Stéphane Ducasse
+1 On Nov 16, 2013, at 11:28 PM, Camillo Bruni wrote: > Nice! > > Though I am a bit confused, what has displaying vector graphics with SVG to > do? > I don't fully get the interaction from your example :) > > On 2013-11-16, at 22:39, Tudor Girba wrote: > >> This is really great! >> >> Doru

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-17 Thread Stéphane Ducasse
Alex you should not mix layer. SVG is a format for saving data. I do not understand why - you need to wrapp then to a RO specific objects - why the use need to see and get expose with the underlying svg specific things. you should have an importer SVG and other format to

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-17 Thread Alexandre Bergel
Within Roassal I need to have a svg shape that knows about a path. Currently I do not make use of Athens to draw the SVG, I simply use Athens to draw lines. Within Roassal I can define any SVG path as a shape. For example: view add: (ROSVGPath path: 'M10,10 L30,30') element Why this sh

Re: [Pharo-dev] SVG described countries in Roassal

2013-11-17 Thread Stéphane Ducasse
> Within Roassal I need to have a svg shape that knows about a path. > Currently I do not make use of Athens to draw the SVG, I simply use Athens to > draw lines. But in roassal you do not have the concept of a polylines? Ok I saw that SVGPath are not polyline as I originally thought. NOw I d