home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
FSGFX.ZIP
/
G_DOTERS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-06
|
267b
|
18 lines
/* g_doters.c */
/* erase a graphics dot */
#include "mygraph.h"
int g_doters(x,y)
int x;
int y;
{
int spot;
unsigned char uchar;
spot = (80 * y) + (x/8);
uchar = (0x80 >> (x % 8)) ^ 0xff;
*(pchscreen+spot) = *(pchscreen+spot) & uchar;
}