Hi Jannik,
[Jannik is porting his work on DSM from VW to Pharo]
Currently, a view renderer does not understand the message newShape. I am still unconvinced that having this newShape is a good thing. Maybe Doru can tell us a bit more about that. It is not obvious why a ShapeRenderer is necessary. It contains a list of shapes that I cannot clearly figure out what this is useful for.
Cheers, Alexandre
On 5 Mar 2009, at 18:28, Laval Jannik wrote:
Est-il possible d'avoir la méthode newShape dans MOViewRenderer ?
J'ai porté DSM sur Pharo et il a besoin de cette méthode. Je peux le faire si le portge est simple :)
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Hi Alex,
The ShapeRenderer defines a small language for decorating shapes.
Let's take an example:
view newShape rectangle; width: 10; height: 20; withBorder; lineWidth: 4.
This will create a rectangle of size (10,20) and it will surround with a border of width 4.
In the same way you can play with lines:
view newShape line; width: 2; withArrow.
For more examples, you can also take a look at your scripts :) http://moose.unibe.ch/tools/java4moose/mondrianscripts
Cheers, Doru
On 6 Mar 2009, at 10:49, Alexandre Bergel wrote:
Hi Jannik,
[Jannik is porting his work on DSM from VW to Pharo]
Currently, a view renderer does not understand the message newShape. I am still unconvinced that having this newShape is a good thing. Maybe Doru can tell us a bit more about that. It is not obvious why a ShapeRenderer is necessary. It contains a list of shapes that I cannot clearly figure out what this is useful for.
Cheers, Alexandre
On 5 Mar 2009, at 18:28, Laval Jannik wrote:
Est-il possible d'avoir la méthode newShape dans MOViewRenderer ?
J'ai porté DSM sur Pharo et il a besoin de cette méthode. Je peux le faire si le portge est simple :)
Jannik Laval PhD Student - Software Quality - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."