www.pudn.com > cwin.rar > HOLE.C


    /*----------------------------------------------------------- 
        函数 _Hole : 画立体框 
    -----------------------------------------------------------*/ 
    #include  
 
    void _Hole(x,y,width,high,color1,color2,thickness) 
    int x;                 /* 立体框左上角列坐标(以象素为单位) */ 
    int y;                 /* 立体框左上角行坐标(以象素为单位) */ 
    int width;             /* 立体框宽度(以象素为单位)         */ 
    int high;              /* 立体框高度(以象素为单位)         */ 
    int color1;            /* 立体框左上边颜色                 */ 
    int color2;            /* 立体框右下边颜色                 */ 
    int thickness;         /* 立体框厚度(以象素为单位)         */ 
    { 
        int i; 
 
        for(i=0;i