| Herd Software Development
|=
DaVinci Graphics Library
|==
DaVinci Documentation Home Search Order


Leonardo: The RWGetLineRGB16 function

This function retrieves the RGB color values of several pixels with the same y coordinate from the point defined by the parameters xstart and y.

void API RWGetLineRGB16(
HDIBRW hDibRW,
int xstart,
int y,
int xwidth,
LPRGBQUAD16 lpRgbQuad16);

hDibRW HDIBRW Handle for DIB access returned by RWOpenDIB

xstart int Horizontal coordinate of the first pixel to be retrieved; i.e. the number of the pixels from the left edge of the DIB to the desired pixel.

y int Vertical coordinate of the pixels to be retrieved; i.e. the number of the pixels from the bottom edge to the desired pixel. (0 in this function points to the bottom row of pixels, rather than the top row.)

xwidth int Number of the points to be recalled

lpRgbQuad16 LPRGBQUAD16 Pointer to an array of RGBQUAD16 structures in which the RGB tristimulus values of the pixels will be stored.