Partager via


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.

Return Value

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

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::RectVisible

CDC::SelectClipRgn

CPoint Class

PtVisible

POINT Structure