DrawFlags Enumeration (Microsoft.DirectX.DirectDraw)

Warning: This enum is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

A combination of flags that determine the valid members of the associated DrawEffects structure, specify color-key information, or request special behavior from the method. Deprecated.


Visual Basic Public Enum DrawFlags
C# public enum DrawFlags
C++ public enum class DrawFlags
JScript public enum DrawFlags


Member Value Description
DoNotWait 134217728
DepthFill 33554432
Wait 16777216
RotationAngle 262144
RasterOperation 131072
KeySourceOverride 65536
KeySource 32768
KeyDestinationOverride 16384
KeyDestination 8192
RasterOperations 4096
Effects 2048
ColorFix 1024
Async 512
AlphaSourceSurfaceOverride 256
AlphaSourceNegative 128
AlphaSourceConstOverride 64
AlphaSource 32
AlphaEdgeBlend 16
AlphaDestinationSurfaceOverride 8
AlphaDestinationNegative 4
AlphaDestinationConstOverride 2
AlphaDestination 1

Enumeration Information

Namespace Microsoft.DirectX.DirectDraw
Assembly Microsoft.DirectX.DirectDraw (microsoft.directx.directdraw.dll)
Strong Name Microsoft.DirectX.DirectDraw,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492