Region.IsVisible(const PointF, const Graphics*) method

Applies to: desktop apps only

The Region::IsVisible method determines whether a point is inside this region.

Syntax

BOOL IsVisible(
  [in, ref]  const PointF &point,
  [in]       const Graphics *g
) const;

Parameters

  • point [in, ref]
    Type: const PointF

    Reference to a point to test.

  • g [in]
    Type: const Graphics*

    Optional. Pointer to a Graphics object that contains the world and page transformations required to calculate the device coordinates of this region and the point. The default value is NULL.

Return value

Type:

Type: BOOL

If the point is inside this region, this method returns TRUE; otherwise, it returns FALSE.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusheaders.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

Region

Graphics

Point

Status

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012