智慧家居實訓第五天 中文字型檔
阿新 • • 發佈:2018-11-09
===========中文字型檔============
你要顯示文字的區域
int Clean_Area(int X, //x座標起始點
int Y, //y座標起始點
int width, //繪製的寬度
int height,//繪製的高度
unsigned long color); //往螢幕指定區域填充顏色
你要顯示的文字是什麼
int Display_characterX(unsigned int x, //x座標起始點
unsigned int y, //y座標起始點
unsigned char *string, //GB2312 中文字串
unsigned int color , //字型顏色值
int size); //字型放大倍數 1~8 github原始碼