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.

CombineMode enumeration

Applies to: desktop apps only

The CombineMode enumeration specifies how a new region is combined with an existing region.

Syntax

typedef enum  {
  CombineModeReplace,
  CombineModeIntersect,
  CombineModeUnion,
  CombineModeXor,
  CombineModeExclude,
  CombineModeComplement 
} CombineMode;

Constants

CombineModeReplace

Specifies that the existing region is replaced by the new region.

CombineModeIntersect

Specifies that the existing region is replaced by the intersection of itself and the new region.

CombineModeUnion

Specifies that the existing region is replaced by the union of itself and the new region.

CombineModeXor

Specifies that the existing region is replaced by the result of performing an XOR on the two regions. A point is in the XOR of two regions if it is in one region or the other but not in both regions.

CombineModeExclude

Specifies that the existing region is replaced by the portion of itself that is outside of the new region.

CombineModeComplement

Specifies that the existing region is replaced by the portion of the new region that is outside of the existing region.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusenums.h (include Gdiplus.h)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show: