intersect . . . invisible images

J. Landman Gay jacque at hyperactivesw.com
Fri Jul 14 14:51:12 EDT 2017


On 7/14/17 12:22 PM, Richmond Mathewson via use-livecode wrote:
> If intersect looks for existence rather than appearance why does it tale 
> transparency levels into consideration?

That just exchanges the dimensions of the object rectangle for the 
position of its "visible" outline. It is still checking for 
position/existence -- the existence of visible pixels.

The ability to check for the actual position of the object outline is a 
newer addition; the original intersect function only looked at the 
object rectangle. Likely the addition of the visible pixels parameter, 
which is very useful, confuses the concept which is still purely positional.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list