仅供参考:
CompositingMode Enumerated Type
--------------------------------------------------------------------------------
The CompositingMode enumeration specifies how rendered colors are combined with background colors. This enumeration is used by the GetCompositingMode and SetCompositingMode methods of the Graphics class.
Syntax
typedef enum {
CompositingModeSourceOver,
CompositingModeSourceCopy
} CompositingMode;
Constants
CompositingModeSourceOver
Specifies that when a color is rendered, it is blended with the background color. The blend is determined by the alpha component of the color being rendered.
CompositingModeSourceCopy
Specifies that when a color is rendered, it overwrites the background color. This mode cannot be used along with TextRenderingHintClearTypeGridFit.
Enumerated Type Information
Header Declared in Gdiplusenums.h, include gdiplus.h
Import library gdiplus.lib
Minimum availability GDI+ 1.0
Minimum operating systems Windows 98/Me, Windows XP, Windows 2000, Windows NT 4.0 SP6
See Also
Graphics::GetCompositingMode, Graphics::SetCompositingMode, TextRenderingHint
--------------------------------------------------------------------------------