Prev Next

PtVisible info  Overview  Group

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

   );

Parameters

hdc
Identifies the device context.
X
Specifies the logical x-coordinate of the point.
Y
Specifies the logical y-coordinate of the point.

Return Values

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.

See Also

RectVisible