Important: The information in this document is obsolete and should not be used for new development.
PtInRect
To determine whether a pixel below is enclosed in a rectangle, use thePtInRect
function.
FUNCTION PtInRect (pt:\xDDPoint; r: Rect): Boolean;
pt
- The point to test.
r
- The rectangle to test.
DESCRIPTION
ThePtInRect
function determines whether the pixel below and to the right of the point you specify in thept
parameter is enclosed in the rectangle that you specify in theRect
parameter. ThePtInRect
function returnsTRUE
if it is,FALSE
if it is not.