GraphicsPath::IsVisible method

The GraphicsPath::IsVisible method determines whether a specified point lies in the area that is filled when this path is filled by a specified Graphics object.

Syntax

BOOL IsVisible(
  IN REAL           x,
  IN REAL           y,
  IN const Graphics *g
);

Parameters

x

Type: REAL

Real number that specifies the x-coordinate of the point to be tested.

y

Type: REAL

Real number that specifies the y-coordinate of the point to be tested.

g

Type: const Graphics*

Optional. Pointer to a Graphics object that specifies a world-to-device transformation. If the value of this parameter is NULL, the test is done in world coordinates; otherwise, the test is done in device coordinates. The default value is NULL.

Return Value

Type: Type: BOOL

If the test point lies in the interior of this path, this method returns TRUE; otherwise, it returns FALSE.

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdipluspath.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See Also

Clipping with a Region

Constructing and Drawing Paths

Creating a Path Gradient

Graphics

GraphicsPath

IsOutlineVisible Methods

IsVisible Methods

Paths

PointF