导航:  GdiPlus Classes > Enumerations >

CombineMode

上一页返回章节概述下一页

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

 

C++ Syntax

 

typedef enum {

CombineModeReplace,

CombineModeIntersect,

CombineModeUnion,

CombineModeXor,

CombineModeExclude,

CombineModeComplement

} CombineMode;

 

FreeBASIC 语法

 

enum

CombineModeReplace      = 0

CombineModeIntersect    = 1

CombineModeUnion        = 2

CombineModeXor          = 3

CombineModeExclude      = 4

CombineModeComplement   = 5

end enum

 

常数

 

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.