DXOVERSAMPLEDESC structure

Describes a pixel to blend over another pixel.

Syntax

typedef struct tagDXOVERSAMPLEDESC {
  POINT      p;
  DXPMSAMPLE Color;
} DXOVERSAMPLEDESC;

Members

  • p
    Structure of type POINT that indicates the x-axis and y-axis positions of the pixel to blend.

  • Color
    Structure of type DXPMSAMPLE that indicates the alpha premultiplied color of the source pixel before blending.

Remarks

The IDXARGBReadWritePtr::OverSample method uses this structure to alpha blending one pixel over another, weighted by the alpha channel.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

See also

Reference

DXPMSAMPLE

IDXARGBReadWritePtr::OverSample