⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glib.h

📁 三星s3c2460开发板完整功能测试代码
💻 H
字号:
/*****************************************
  NAME: glib.h
  DESC: header file for graphic codes
  HISTORY: 2002.03.13:draft ver 0.0
 *****************************************/
 
#ifndef __GLIB_H__
#define __GLIB_H__

#ifdef __cplusplus
extern "C"{
#endif

void _PutPixel1Bit(unsigned int x, unsigned int y, unsigned int c);
void _PutPixel2Bit(unsigned int x, unsigned int y, unsigned int c);
void _PutPixel4Bit(unsigned int x, unsigned int y, unsigned int c);
void _PutPixel8Bit(unsigned int x, unsigned int y, unsigned int c);
void _PutPixel16Bit(unsigned int x, unsigned int y, unsigned int c);
void _PutPixel18Bit(unsigned int x, unsigned int y, unsigned int c);
void _PutPixel24Bit(unsigned int x, unsigned int y, unsigned int c);

void GlibInit(unsigned int displaytype, unsigned int whichframebuffer);
void GlibLine(int x1,int y1,int x2,int y2,int color);
void GlibRectangle(int x1,int y1,int x2,int y2,int color);
void GlibFilledRectangle(int x1,int y1,int x2,int y2,int color);
void GlibClearScr(unsigned int c);

extern void (*PutPixel)(unsigned int,unsigned int,unsigned int);

#ifdef __cplusplus
}
#endif

#endif //__GLIB_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -