Drawing a Graphice Segment

BNig bernd.niggemann at uni-wh.de
Mon Jul 27 20:16:38 CEST 2015


Hi Mike, Terence,

a bit of a hack but it works:

give the segments a radial stroke gradient of e.g. black with black at the
left and black at the right. Set the blendlevel of both black to just under
full, by selecting one after the other the black little symbol in the
gradient setting and slider to almost right.

change the intersect part of the code to 

---------------------------
if intersect(grc "mousepoint",grc i,"opaque pixels") then -- cycle through
the graphics and check for intersect
--------------------------- 

of course this only works if the fill of the segments is fully opaque, which
it is in Mike's example and now the border of the segments is not part of
the segment.

Kind regards
Bernd



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-Graphice-Segment-tp4694331p4694376.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list