The CompositingMode enumeration specifies how rendered colors are combined with background colors. This enumeration is used by the GdipGetCompositingMode and GdipSetCompositingMode functions.
C++ Syntax
typedef enum {
CompositingModeSourceOver,
CompositingModeSourceCopy
} CompositingMode;
FreeBASIC 语法
enum
CompositingModeSourceOver = 0
CompositingModeSourceCopy = 1
end enum
常数
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.