Le 14/5/15 22:43, Peter Uhnák a écrit :
You can also use bezier lines or SVG
| v e1 e2 l s p1 p2 path svg| v := RTView new. path := 'M -150 150 Q -75 150 -75 75 Q -75 0 0 0'. svg := RTSVGPath new borderColor: Color red; path: path; element.
I do not understand why roassal still has SVG path in its model.
this code should be
| v e1 e2 l s p1 p2 path svg| v := RTView new. path := 'M -150 150 Q -75 150 -75 75 Q -75 0 0 0'. arc := RTSVGPathImporter new path: path. arc borderColor: Color red; path: path.
To me having svg inside the Roassal domain.
Stef
v add: svg.
^ v
Peter On Thu, May 14, 2015 at 10:36 PM, milton mamani <akevalion@gmail.com <mailto:akevalion@gmail.com>> wrote: Try with RTArc: view := RTView new. shape := RTArc new innerRadius: [ :i | i *15]; externalRadius: [ :i | (i * 15) + 4]; alphaAngle: 45; betaAngle: 135; color: Color black. view addAll: (shape elementsOn: (1 to: 11) ). view Cheers, Milton 2015-05-14 16:26 GMT-04:00 Miguel Campusano <mcampusa@dcc.uchile.cl <mailto:mcampusa@dcc.uchile.cl>>: Hi all, I want to draw curved lines in Roassal but I can't find how to. The image below is an example of what I am trying to do. http://www.aboutbookbinding.com/images/Lines-made-with-Gouges.jpg Bests, Miguel _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev