Important: The information in this document is obsolete and should not be used for new development.
PtInRgn
To determine whether a pixel is within a region, use thePtInRgn
function.
FUNCTION PtInRgn (pt:\xDDPoint; rgn:\xDDRgnHandle):\xDDBoolean;
pt
- The point whose pixel is to be checked.
rgn
- A handle to the region to test.
DESCRIPTION
ThePtInRgn
function checks whether the pixel below and to the right of the point you specify in thept
parameter is within the region whose handle you pass in thergn
parameter. ThePtInRgn
function returnsTRUE
if so orFALSE
if not.