DXBLTOPTIONS enumeration

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;

Constants

  • 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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl