用 loadimage() 和 putimage() 插入的图片,程序前期要使用,后期不想要了,想取消插入怎么办啊?
cleardevice() 函数或者
int w = 100;
int h = 100;
IMAGE img;
// Load image and draw it on the screen
loadimage(&img, "image.jpg");
putimage(0, 0, &img);
// Clear image
setfillcolor(WHITE);
fillrectangle(0, 0, w, h);