Region::Equals method (gdiplusheaders.h)

The Region::Equals method determines whether this region is equal to a specified region.

Syntax

BOOL Equals(
  const Region   *region,
  const Graphics *g
);

Parameters

region

Type: const Region*

Pointer to a Regionobject to test against this Regionobject.

g

Type: const Graphics*

Pointer to a Graphics object that contains the world and page transformations required to calculate the device coordinates of this region and the region that is specified by the region parameter.

Return value

Type: BOOL

If this region is identical to the specified region, 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 gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Graphics

Rect

Region