DXOVERSAMPLEDESC Structure

Describes a pixel that is to be blended over another pixel.

Syntax

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

Members

p
The x-axis and y-axis positions of the pixel to be blended.
Color
Alpha-premultiplied color of the source pixel (before blending).

Remarks

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

See Also

DXPMSAMPLE, IDXARGBReadWritePtr::OverSample


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.