home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
ega
/
cega.arc
/
GPRECT.C
< prev
next >
Wrap
Text File
|
1986-02-06
|
216b
|
19 lines
gprect(x2,y2)
int x2,y2;
{
extern int gdcur_x, gdcur_y;
int x1,y1;
x1 = gdcur_x;
y1 = gdcur_y;
gpmove(x1,y1);
gpline(x1,y2);
gpline(x2,y2);
gpline(x2,y1);
gpline(x1,y1);
}