Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PtVisible function

The PtVisible function determines whether the specified point is within the clipping region of a device context.

Syntax


BOOL PtVisible(
  _In_ HDC hdc,
  _In_ int X,
  _In_ int Y
);

Parameters

hdc [in]

A handle to the device context.

X [in]

The x-coordinate, in logical units, of the point.

Y [in]

The y-coordinate, in logical units, of the point.

Return value

If the specified point is within the clipping region of the device context, the return value is TRUE(1).

If the specified point is not within the clipping region of the device context, the return value is FALSE(0).

If the HDC is not valid, the return value is (BOOL)-1.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Clipping Overview
Clipping Functions
RectVisible

 

 

Show: