int main(int arvc,int* argv[]) { struct MyImage* p_img =CreatImage(800,800); if(p_img != NULL) { printf("not null\n"); } FillImage(p_img,0xaa);//最大为全白 最小为全黑 DrawImage(p_img,300); SaveImage(p_img,"../bagua.pgm"); DestoryImage(p_img); return 1; }
CPngListBox::~CPngListBox() { DestoryImage(); }