home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGC.ZIP
/
PROGC084.C
< prev
next >
Wrap
Text File
|
1988-04-10
|
414b
|
13 lines
/************************************************************************/
/* C implementation of a box draw algoritm using scanline */
/************************************************************************/
slow_solid_box(x, y, dx, dy, color)
{
int i;
cls();
for (i = 0; i < dy; i++)
scanline(x, x + dx - 1, y + i, color);
}