图形旋转的 C 语言源程序 /*****************************************************************/ /* CONVOLVE
C - Turbo C 2
0 implementation of image convolution */ /* ---------- by Wesley G
All code is "as is"
There */ /* is NO copyright
Use this code as you will, and if you make */ /* money at it, good for you
*/ /*****************************************************************/ #include #include #include #include #include int load_cut(char *fname); int load_convolution_matrix(char *fname); int convolve_image(void); int swap_pictures(void); int minx,maxx,miny,maxy; int LOADPAGE=0; int ENHANCEPAGE=1; int *cmat, *pmat, *vmat; int cmx,cmy,cmnum; struct palettetype palette,newpal; int driver,mode; int cleancut=-1; int init_graphics(void) { driver=DETECT; mode=0; detectgraph(&driver,&mode); if(dr