CDC::PtVisible

Syntax

BOOL PtVisible( int x, int y ) const;

BOOL PtVisible( POINT point ) const;

Parameters

x

Specifies the logical x-coordinate of the point.#ICDC;specifying whether point is in clipping region, CDC::PtVisible

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.

Remarks

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

Return Value

TRUE if the specified point is within the clipping region; otherwise FALSE.

See Also

CPoint, ::PtVisible