Click to Rate and Give Feedback
MSDN
MSDN Library
GDI+
GDI+ Reference
Enumerations
 CompositingMode Enumerated Type

  Switch on low bandwidth view
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

HeaderDeclared in Gdiplusenums.h, include gdiplus.h
Import librarygdiplus.lib
Minimum availabilityGDI+ 1.0
Minimum operating systems Windows 98/Me, Windows XP, Windows 2000, Windows NT 4.0 SP6

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker