Bitmap/Flood fill: Difference between revisions
Content added Content deleted
Line 306: | Line 306: | ||
static BYTE newColor; |
static BYTE newColor; |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
/* ***************************************************************************** |
|||
* Input/output routines. |
|||
*/ |
|||
⚫ | |||
{ |
{ |
||
int c; |
int c; |
||
Line 323: | Line 343: | ||
} |
} |
||
readPortableBitMap(FILE* file) |
|||
{ |
{ |
||
int i,j; |
int i,j; |
||
Line 349: | Line 369: | ||
fprintf(file,"%1d", bitmap[i][j]); |
fprintf(file,"%1d", bitmap[i][j]); |
||
fprintf(file,"\n"); |
fprintf(file,"\n"); |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
} |
} |