Drawing a Graphice Segment
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
> On 28 Jul 2015, at 16:40, BNig <bernd.niggemann at uni-wh.de> wrote:
> And all a little Déjà-vu:
> funny to read this thread from 2011.
> Kind regards
> 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:
More information about the Use-livecode