/*Add an outline to Sprites and print them to the cmd line. They can be cut/pasted from there. */ <1>/* Graphics Not Rendered in HTML */ <2>/* Graphics Not Rendered in HTML */ <3>/* Graphics Not Rendered in HTML */ <4>/* Graphics Not Rendered in HTML */ <5>/* Graphics Not Rendered in HTML */ <6>/* Graphics Not Rendered in HTML */ <7>/* Graphics Not Rendered in HTML */ <8>/* Graphics Not Rendered in HTML */ <9>/* Graphics Not Rendered in HTML */ <10>/* Graphics Not Rendered in HTML */ <11>/* Graphics Not Rendered in HTML */ <12>/* Graphics Not Rendered in HTML */ #define NUM 12 U8 *in_img[NUM]={<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>}; U0 OutLine() { I64 n,minx,maxx,miny,maxy,w,h,i,j,k,c; U8 *out_img; CDC *dc; for (n=0;ncolor=TRANSPARENT; GrRect(dc,0,0,w,h); Sprite3(dc,-minx+1,-miny+1,0,in_img[n]); for (i=0;icolor=BLACK; GrPlot(dc,j,i); break; } } } out_img=DC2Sprite(dc); '\n'; Sprite(out_img); '\n\n\n\n'; DCDel(dc); Free(out_img); } } OutLine;