DrawRectExtSW
Draws a rectangle entirely in software to a memory buffer
Declaration
void NAPI REF2D_driver::DrawRectExtSW(
void *buffer,
N_int32 dstPitch,
N_int32 left,
N_int32 top,
N_int32 width,
N_int32 height,
GA_color color,
N_int32 mix)
Prototype In
snap/ref2d.h
Parameters
buffer |
Address of buffer to draw into |
dstPitch |
Scanline pitch of buffer to draw into |
left |
Left coordinate of the rectangle to draw |
top |
Top coordinate of the rectangle to draw |
width |
Width of the rectangle in pixels |
height |
Height of the rectangle in scanlines |
color |
Color to fill the rectangle with |
mix |
Mix to use for drawing the rectangle |
Description
This function is provided to allow the application or shell driver to quickly draw a rectangle in a specific color and mix, anywhere in system memory. The drawing is always done in software, and the buffer can have any starting address and pitch, but all drawing is done in the currently active color depth for the reference rasteriser in use.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com