graphic.h
来自「GPS导航系统中」· C头文件 代码 · 共 29 行
H
29 行
/* * line drawing sample program: drawing functions * * Copyright (C) 2002-2003 by Personal Media Corporation */#ifndef GRAPHIC_H#define GRAPHIC_H#include <device/screen.h>typedef struct tagPoint{ long x; //x坐标 long y; //y坐标}POINTSCR, *LPOINTSCR;LOCAL unsigned char GB2312_16X16_FONT_BITMAP[];IMPORT const COLOR colormap[256];IMPORT int in_rect( int, int, RECT* );IMPORT void draw_line( int, int, int, int, int, BMP* );IMPORT void fill_rect( int, int, int, int, int, BMP* );IMPORT void draw_text( char*, int, int, int, BMP* );IMPORT void drawtex_cn_16(char*, int, int, int, BMP*);IMPORT void draw_circle( int, int, int, int, BMP*);IMPORT void draw_wide_line( int, int, int, int, int, int, BMP* );IMPORT void FillPolygon(LPOINTSCR, int, int, BMP*);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?