基于CW32的电压电流表 V1.0.0
一款物联网多功能电压电流表
 
载入中...
搜索中...
未找到
GUI.h
浏览该文件的文档.
1
11#ifndef GUI_H_
12#define GUI_H_
13
14 #include "board.h"
15
16 void Gui_DrawLine(uint16_t x0, uint16_t y0,uint16_t x1, uint16_t y1,uint16_t Color);
17 void Gui_DrawFont_GBK16(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, char *s);
18 void Gui_DrawFont_Num32(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, uint16_t num) ;
19 void showimage_16(const unsigned char *p, uint8_t x1,uint8_t y1);
20 void Show_Logo(uint8_t x1,uint8_t y1);
21 void Gui_DrawFont_Num16(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, uint16_t num);
22
23#endif
void Gui_DrawFont_Num32(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, uint16_t num)
绘制长宽为32像素的数码管字体数字
定义 GUI.c:232
void showimage_16(const unsigned char *p, uint8_t x1, uint8_t y1)
绘制16*16像素的图片
定义 GUI.c:261
void Gui_DrawFont_Num16(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, uint16_t num)
绘制高16像素、宽8像素的数字
定义 GUI.c:206
void Gui_DrawFont_GBK16(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, char *s)
绘制GBK编码高16像素、宽8像素的英文、字符、数字;汉字的高、宽均为16像素
定义 GUI.c:130
void Show_Logo(uint8_t x1, uint8_t y1)
绘制系统LOGO
定义 GUI.c:283
void Gui_DrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t Color)
画线函数,使用Bresenham 画线算法
定义 GUI.c:24