This documentation is archived and is not being maintained.

CDC::PtVisible 

Determines whether the given point is within the clipping region of the device context.


virtual BOOL PtVisible(
   int x,
   int y 
) const;
BOOL PtVisible(
   POINT point 
) const;

Parameters

x

Specifies the logical x-coordinate of the point.

y

Specifies the logical y-coordinate of the point.

point

Specifies the point to check in logical coordinates. You can pass either a POINT structure or a CPoint object for this parameter.

Nonzero if the specified point is within the clipping region; otherwise 0.

Show: