Great !


On Tue, Jun 24, 2014 at 1:43 PM, Natalia Tymchuk <natalia.tymchuk@unikernel.net> wrote:
Hello.
Thank you very much. I have implemented polygon shape and now we can draw everything we want.


Best regards,
Natalia

On Jun 13, 2014, at 2:58 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:

Hi Natalia,

Voronoi is a wonderful visual shape. It would be great to have it in Roassal and this is feasible.

I would first start from having a TRPolygonShape class in Trachel. This class should simply takes a list of points and draw a polygon. To draw the polygon, you need to directly talk to Athens. Your TRPolygonShape should redefine the method computePath and use the right sequence of invocation on the Athens API. Maybe an easy-to-adapt example is the class TRDiamondShape. 

Once you have this class working, you can then think about a RTPolygon class, in Roassal.

Let us know how it goes

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jun 13, 2014, at 8:52 AM, Natalia Tymchuk <natalia.tymchuk@unikernel.net> wrote:

Hello, everyone.
I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
Best regards,
Natalia



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/