Hi Hugh,
to get the area of a oval graphic with a startangle and an acrangle set and
opaque to true you could use the new 5.0 intersect(object,object,"pixel")
syntax.
You would have to cheat though in that you create a hidden polygon graphic
"hidden" and call your start/arcangle graphic "halfCircle" plus any field
for feedback
The script of graphic "halfCircle" could be:
------------------------------------------------
on mouseWithin
put the mouseLoc into tLoc
put item 1 of tLoc - 1 & comma & item 2 of tLoc - 1 & comma & \
item 1 of tLoc +1 & comma & item 2 of tLoc + 1 into tRect
set the rect of grc "hidden" to tRect
if intersect(graphic "halfCircle", grc "hidden", "pixels") then
put the milliseconds into field 1
else
put "" into field 1
end if
end mouseWithin
-----------------------------------------------
it works but it is a more of a hack.
maybe someone has a better solution...
Kind regards
Bernd
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/mouse-within-oval-filled-area-tp4034252p4035498.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode