RTDoubleArrowedLine

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RTDoubleArrowedLine

abergel
Hi!

With Usman we are pair programming today on Moose and Roassal. We have just implemented the following:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v l e1 e2 eShape |
v := RTView new.
eShape := RTEllipse new size: 8; color: (Color blue alpha: 0.3).
e1 := eShape element.
e2 := eShape element.
e2 translateBy: 50 @ 30.
v add: e1; add: e2.
e1 @ RTDraggable.
e2 @ RTDraggable.

l := (RTDoubleArrowedLine new color: Color red) edgeFrom: e1 to: e2.
v add: l.

v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Yeah, not groundbreaking, but a small and positive step.

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTDoubleArrowedLine

Tudor Girba-2
I still do not quite understand why these arrows are not composable :)

Doru

On Fri, Jul 10, 2015 at 11:26 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

With Usman we are pair programming today on Moose and Roassal. We have just implemented the following:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v l e1 e2 eShape |
v := RTView new.
eShape := RTEllipse new size: 8; color: (Color blue alpha: 0.3).
e1 := eShape element.
e2 := eShape element.
e2 translateBy: 50 @ 30.
v add: e1; add: e2.
e1 @ RTDraggable.
e2 @ RTDraggable.

l := (RTDoubleArrowedLine new color: Color red) edgeFrom: e1 to: e2.
v add: l.

v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Yeah, not groundbreaking, but a small and positive step.

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTDoubleArrowedLine

Peter Uhnak


On Fri, Jul 10, 2015 at 11:30 AM, Tudor Girba <[hidden email]> wrote:
I still do not quite understand why these arrows are not composable :)

No worries, I have it on my list of things to discuss during Camp Roassal :)
(We already have working implementation, but an ugly one).

Peter


Doru

On Fri, Jul 10, 2015 at 11:26 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

With Usman we are pair programming today on Moose and Roassal. We have just implemented the following:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v l e1 e2 eShape |
v := RTView new.
eShape := RTEllipse new size: 8; color: (Color blue alpha: 0.3).
e1 := eShape element.
e2 := eShape element.
e2 translateBy: 50 @ 30.
v add: e1; add: e2.
e1 @ RTDraggable.
e2 @ RTDraggable.

l := (RTDoubleArrowedLine new color: Color red) edgeFrom: e1 to: e2.
v add: l.

v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Yeah, not groundbreaking, but a small and positive step.

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RTDoubleArrowedLine

abergel
In reply to this post by Tudor Girba-2
A nice solution is highly complex to implement.
For example, in Roassal you could say I want my decorator to be at a distance of 0.3 from the start. Again, no big deal if you have a straight line. However, if you have an orthogonal or a bezier curve, then it significantly raise the bar.

Ideally, I would like to stabilize Roassal 2 and focussing on Roassal 3 (which will be on top of Bloc).

Cheers,
Alexandre


> On Jul 10, 2015, at 11:30 AM, Tudor Girba <[hidden email]> wrote:
>
> I still do not quite understand why these arrows are not composable :)
>
> Doru
>
> On Fri, Jul 10, 2015 at 11:26 AM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> With Usman we are pair programming today on Moose and Roassal. We have just implemented the following:
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> | v l e1 e2 eShape |
> v := RTView new.
> eShape := RTEllipse new size: 8; color: (Color blue alpha: 0.3).
> e1 := eShape element.
> e2 := eShape element.
> e2 translateBy: 50 @ 30.
> v add: e1; add: e2.
> e1 @ RTDraggable.
> e2 @ RTDraggable.
>
> l := (RTDoubleArrowedLine new color: Color red) edgeFrom: e1 to: e2.
> v add: l.
>
> v
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> <Screen Shot 2015-07-10 at 11.26.39 AM.png>
> Yeah, not groundbreaking, but a small and positive step.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev