2015-06-08 22:06 GMT+02:00 Alexandre Bergel <alexandre.bergel@me.com>:
I am not sure why. I guess this comes from Athens…

Alexandre


Just look at these issues:

Issue 1097: Not all shapes support borderColor/borderWidth
https://code.google.com/p/moose-technology/issues/detail?id=1097

PaintMatrix does not effect strokepaints
change athens EllipseMorph drawing





 

> On Jun 8, 2015, at 3:58 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
>
> Also, why does RTEllipse has different units for the border? I.e. why is there division by 30; if I did that with RTBox I would get quite different results.
>
> Thanks,
> Peter
>
> On Mon, Jun 8, 2015 at 8:57 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
> Interesting; the layout is ignoring the border --- there should be spacing everywhere.
> It seems that the border is not accounted for in encompassingRectangle and/or containsPoint: as RTDraggable also works only on the inner half of the border.
>
> Peter
>
> On Mon, Jun 8, 2015 at 5:19 PM, Natalia Tymchuk <natalia.tymchuk@unikernel.net> wrote:
> Thank you.
>
> Best regards,
> Natalia
> > On 08 Jun 2015, at 17:14, Alexandre Bergel <alexandre.bergel@me.com> wrote:
> >
> > Hi Natalia,
> >
> > You can set the border as:
> >
> > v := RTView new.
> > shape := RTEllipse new
> >       size: 30;
> >       color: Color white;
> >       borderWidth: [ :vv | vv / 30 ];
> >       borderColor: Color black.
> >
> > v addAll: (shape elementsOn: (1 to: 10)).
> > RTGridLayout on: v elements.
> > v
> >
> > You questioned whether ellipse are special. I would say that border are rarely required for an ellipse, but for a box it is often necessary. This is just my feeling.
> >
> > Cheers,
> > Alexandre
> >
> >> On Jun 8, 2015, at 8:03 AM, Natalia Tymchuk <natalia.tymchuk@unikernel.net> wrote:
> >>
> >> Hello,
> >> I noticed that RTEllipse doesn’t have the border. Why it is like that?
> >>
> >> Best regards,
> >> Natalia
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev@iam.unibe.ch
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> > _______________________________________________
> > 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

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




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