Describes the methods to use when blitting an image onto a DXSurface.
Syntax
typedef enum DXBLTOPTIONS { DXBOF_DO_OVER = (1L << 0), DXBOF_DITHER = (1L << 1) } DXBLTOPTIONS;
Elements
- DXBOF_DO_OVER
- Source samples should be alpha-blended over the samples in the destination DXSurface. Without this flag, the input samples replace the destination samples.
- DXBOF_DITHER
- Output surface samples should be dithered.
Remarks
These flags are used by the IDXSurfaceFactory::BitBlt and DXBitBlt functions.
Some transforms do not support dithered output. To determine whether a transform supports dithering, use the IDXTransform::GetMiscFlags method. If the returned DXTMISCFLAGS value has the DXTMF_DITHER_SUPPORTED flag set, the output can be dithered.
See Also
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.