智能家居实训第五天 中文字库

版权声明:版权归零零天所有 https://blog.csdn.net/qq_39188039/article/details/83892180

===========中文字库============
你要显示文字的区域
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源代码

猜你喜欢

转载自blog.csdn.net/qq_39188039/article/details/83892180