2015-09-06 16:20 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com>:
There were problems with the border having uneven size for ellipses (thicker on the shorter side and thinner on the longer side (or maybe the other way around)).
I'll try to dig up the mails later, because it was discussed last year I think...

You have to change the consturction of the ellipse. Instead of drawing a non-uniform scaled circle, build the ellipse from
multiple arcs. (See how Athens-Morphic constructs the ellipse path for EllipseMorph>>#drawOnAthensCanvas: )

 

Peter

On Sun, Sep 6, 2015 at 4:03 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Funny. It appears like the border of an ellipse is proportional to its size :). Do you know why?

Doru




On Sun, Sep 6, 2015 at 3:35 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
It works but there are issues with border width... I don't quite remember what was the original problem (I think that it doesn't scale properly or something like that).
This was discussed several times over the mailing list, I should probably dig it up.

~~~~~~~~~~~~~~~~~~~~~
|v|
v := RTMondrian new.
v shape ellipse.
v shape borderColor: Color red.
v shape borderWidth: 0.3.
v nodes: #(1 2 3).
v
~~~~~~~~~~~~~~~~~~~~~

Peter

On Sun, Sep 6, 2015 at 1:32 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,

The ellipse border color does not seem to work. Is this an Athens problem, or just a missing implementation? Could someone take a look?

For example:

view := RTMondrian new.
view shape ellipse borderColor: Color red.
view nodes: #( 1 2 3 ).
view

Produces:
Inline image 1

Cheers,
Doru

--

"Every thing has its own flow"

_______________________________________________
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




--

"Every thing has its own flow"

_______________________________________________
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