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.
v add: svg.
^ v~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Peter
On Thu, May 14, 2015 at 10:36 PM, milton mamani <akevalion@gmail.com> wrote:
Try with RTArc:
view := RTView new.shape := RTArc newinnerRadius: [ :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>:
_______________________________________________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.
Bests,Miguel
Moose-dev mailing list
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
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev