次の方法で共有


2.1.1.4 CombineMode Enumeration

The CombineMode enumeration defines modes for combining two graphics regions. In the following descriptions, the regions to be combined are referred to as the "existing" and "new" regions.

 typedef  enum 
 {
   CombineModeReplace = 0x00000000,
   CombineModeIntersect = 0x00000001,
   CombineModeUnion = 0x00000002,
   CombineModeXOR = 0x00000003,
   CombineModeExclude = 0x00000004,
   CombineModeComplement = 0x00000005
 } CombineMode;

CombineModeReplace:  Replace the existing region with the new region.

CombineModeIntersect:  Replace the existing region with the intersection of the existing region and the new region.

CombineModeUnion:  Replace the existing region with the union of the existing and new regions.

CombineModeXOR:  Replace the existing region with the XOR of the existing and new regions.

CombineModeExclude:  Replace the existing region with the part of itself that is not in the new region.

CombineModeComplement:  Replace the existing region with the part of the new region that is not in the existing region.

Graphics regions are specified by EmfPlusRegion objects.

See section 2.1.1 for the specification of additional enumerations.