|
|
|
|
DrawColorPattScanList
Draws a list of color patterned scanlines.
Declaration
void NAPI GA_2DRenderFuncs::DrawColorPattScanList(
N_int32 y,
N_int32 length,
N_int16 *scans)
Prototype In
snap/graphics.h
Parameters
y |
Y coordinate for scanline |
length |
Number of scanlines in the list |
scans |
Pointer to an array of scanline data |
Description
This function renders a list of color patterned scanlines starting at the specified location with the currently active mix and color pattern. The scanline coordinates are passed as an array of 16-bit integer coordinates, packed with the X1 coordinate followed by the X2 coordinate and so on. For each scanline in the list, this routine will render a scanline from X1 to X2 (exclusive) at increasing Y coordinates. For scanlines where X2 < X1, the X1 and X2 coordinates will be swapped, and for scanlines where X1 = X2, the scanline will be skipped and nothing will be drawn.
See Also
DrawScan, DrawScanList, DrawColorPattScanList, Set8x8ColorPattern, Use8x8ColorPattern
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com