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


    /*----------------------------------------------------------- 
        函数 drawtiny : 向屏幕输出小西文字符串. 
    -----------------------------------------------------------*/ 
    #include  
 
    extern unsigned char _TinyFonts[]; 
 
    void _Cdecl drawxytiny(x,y,color,s) 
    int x;                   /* 字符串显示列坐标(以象素为单位) */ 
    int y;                   /* 字符串显示列坐标(以象素为单位) */ 
    int color;               /* 字符串显示颜色                 */ 
    char *s;                 /* 字符串指针                     */ 
    { 
        while(*s) 
        { 
            _DrawF(x,y,1,8,color,_TinyFonts+((*s)-' ')*8); 
            x += 6; 
            s ++; 
        } 
    }