The PtVisible function indicates whether the specified point is within the clipping region of a device context.
BOOL PtVisible(
HDC hdc, |
// handle of device context |
int X, |
// x-coordinate of point |
int Y |
// y-coordinate of point |
); |
If the specified point is within the clipping region of the device context, the return value is nonzero.
If the specified point is not within the clipping region of the device context, the return value is zero.