Drawing a Graphice Segment

Terence Heaford t.heaford at icloud.com
Wed Jul 29 03:55:43 EDT 2015


Yes as I am new to LC I was not aware of this although “the solution” does not work correctly.

It does not limit itself to the filled area of a segment.

If there are other graphics on the page that align with a segment but are beyond the arc of the segment it still displays as selected because it limits its test to the angle from the centre of the arc only.
It does not test for a mouseLoc only being within the radius of the arc.

That would be todays challenge. How to limit the test to within the arc radius :)

If there are no other objects on the page then all is fine.

All the best

Terry



> On 28 Jul 2015, at 16:40, BNig <bernd.niggemann at uni-wh.de> wrote:
> 
> And all a little Déjà-vu:
> 
> http://runtime-revolution.278305.n4.nabble.com/mouse-within-oval-filled-area-td4034252.html
> 
> http://runtime-revolution.278305.n4.nabble.com/Re-mouse-within-oval-filled-area-A-solution-using-geometry-td4037520.html
> 
> funny to read this thread from 2011. 
> 
> Kind regards
> Bernd
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-Graphice-Segment-tp4694331p4694408.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list