Problem with mask.

Ben Rubinstein benr_mc at cogapp.com
Wed Oct 22 15:24:34 EDT 2008


James Hurley wrote:
>> I wonder if it is some kind of OS standard, since the screenrect is
>> documented with the same behavior:
>>
>> "The virtual co-ordinates of a screen a quadruple of four integers
>> specifying the left, top, right and bottom of the rectangle. The right
>> and bottom edges are not included in the screen's area."
>>
>> -- Jacqueline Landman Gay
> 
> 
> Thanks Jacque. Apparently there is method to this madness. I am curious 
> what it might be.

I believe that the coordinates do not reference the pixels, but the lines 
between the pixels.  Hence for example (0,0) to (1,1) enclose a single pixel, 
not four pixels.

- Ben




More information about the use-livecode mailing list