📄 minitype.h
字号:
/***************************************************************************/
/* */
/* minitype.h */
/* */
/* MiniType driver component. */
/* */
/* Copyright 2000-2015, 2003 by */
/* Zhou Hongquan, Shanghai Hanfeng Information Technology Co.,Ltd. */
/* EnMedia System Co., */
/* This file is part of the MiniType project, and may only be used */
/* to demostration minitype fonts. */
/***************************************************************************/
#ifndef __MINITYPE_H__
#define __MINITYPE_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef int
(*lpInitFuncs)(char *lpfont); //初始化字体库
typedef void
(*lpFreeFuncs)(); //释放字体库
typedef int
(*lpSetParam)(int m_points);
typedef int
(*lpShowText)(int index,unsigned char* buffer);
//the buffer size is m_points*m_points;
typedef struct MiniType_Font_Funcs_
{
lpInitFuncs init;
lpSetParam setparam;
lpShowText showtext;
lpFreeFuncs free;
}Minitype_Font_Funcs;
#ifndef MINITYPE_EXPORT_VAR
#define MINITYPE_EXPORT_VAR( x ) extern x
#endif
MINITYPE_EXPORT_VAR( const Minitype_Font_Funcs ) mt_font_funcs;
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -