DXPtrFillInfo Structure

Describes a fill operation that should be performed on a procedural surface. It is used by the CDXBaseARGBPtr::FillSamples function.

Syntax

struct DXPtrFillInfo
{
    DXBASESAMPLE *  pSamples;
    ULONG           cSamples;
    ULONG           x;
    ULONG           y;
    BOOL            bPremult;
};

Members

pSamples
Pointer to the memory location to be filled.
cSamples
Number of samples to be filled.
x
Position along the x-axis within the procedural surface's coordinate space. This is used for horizontal pattern alignment.
y
Position along the y-axis within the procedural surface's coordinate space. This is used for vertical pattern alignment.
bPremult
Boolean value that specifies whether the samples being written should be premultiplied by alpha. If TRUE, the output samples are in PMARGB32 format; if FALSE, the output format is ARGB32.

See Also

CDXBaseARGBPtr


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