A modest proposal for a new property

Richard Gaskin ambassador at fourthworld.com
Tue Sep 26 19:29:58 EDT 2017


hh wrote:

 > Now solve this simple example:
 >
 > Make a circular arc showing 70% of a pie and then tell us when
 > clicking into the oval which part is hit, the 70% or the transparent
 > 30%.
 >
 > A one-liner?
 >
 > The OP's proposal, for example, would define a series of points along
 > the outline path of the uncomplete pie as hit-region. Good idea.

I don't have a one-liner for that.

Given a set of coordinates describing the hit region as suggested, what 
would be the one-liner to solve it?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the Use-livecode mailing list