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

📄 guivarbitmap.h

📁 The combined demo is dedicated for S1C33L05, so DMT33L05 should be used to load and run the demo. F
💻 H
字号:
/* $Id: guiVarbitma.h V1.0 2001/09/18 *//***************************************************************** *    This source code has been made available to you by EPSON on an AS-IS *    basis.  Anyone receiving this source is licensed under EPSON *    copyrights to use it in any way he or she deems fit, including *    copying it, modifying it, compiling it, and redistributing it either *    with or without modifications. * *    Any person who transfers this source code or any derivative work *    must include the EPSON copyright notice, this paragraph, and the *    preceding two paragraphs in the transferred software. * *    COPYRIGHT   EPSON  CORPORATION 2001 *    LICENSED MATERIAL  -  PROGRAM PROPERTY OF EPSON ***********************************************************************//***********************************************************  * FILE: guiVarbitma.h  * MODULE:  FONT  *  *  PURPOSE: declaration of variable and macros for  *            varbitmap sysfont  *  *  * AUTHOR(S): Zhaojz  * GROUP: GUI Group  * DATE CREATED: 2001/09/18  * REFERENCE DOCUMENT ID:  * MODIFICATIONS:  *    Date           userName     Description  *    2001/09/18     Zhaojz       Create this file  ***********************************************************/#ifndef GUI_FONT_RAWBITMAP_H    #define GUI_FONT_RAWBITMAP_H#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */typedef struct T_FNT_VBFInfo{    T_CONST T_BYTE  *name;          /* font name */    T_BYTE          max_width;      /* max width in pixels */    T_BYTE          ave_width;      /* average width in pixels */    T_WORD          height;         /* height in pixels */    T_WORD          descent;        /* pixels below the base line */    T_UBYTE         first_char;     /* first character in this font */    T_UBYTE         last_char;      /* last character in this font */    T_UBYTE         def_char;       /* default character in this font */    T_CONST T_UHWORD*offset;        /* character glyph offsets into bitmap data or NULL */    T_CONST T_UBYTE *width;         /* character widths or NULL */    T_CONST T_UBYTE *bits;          /* 8-bit right-padded bitmap data */    T_WORD          font_size;      /* used by mmap */}T_FNT_VBFInfo;   /* informations of various bitmap font */T_EXTERN T_GUI_FontOps  var_bitmap_font_ops;#define SBC_VARFONT_INFO(logfont) ((T_FNT_VBFInfo*)(((T_GUI_DevFont*) (logfont.sbc_devfont))->data))
#define MBC_VARFONT_INFO(logfont) ((T_FNT_VBFInfo*)(((T_GUI_DevFont*) (logfont.mbc_devfont))->data))

#define SBC_VARFONT_INFO_P(logfont) ((T_FNT_VBFInfo*)(((T_GUI_DevFont*) (logfont->sbc_devfont))->data))
#define MBC_VARFONT_INFO_P(logfont) ((T_FNT_VBFInfo*)(((T_GUI_DevFont*) (logfont->mbc_devfont))->data))

#define VARFONT_INFO_P(devfont) ((T_FNT_VBFInfo*)(devfont->data))
#define VARFONT_INFO(devfont) ((T_FNT_VBFInfo*)(devfont.data))
#ifdef _INCOREFONT_SANSSERIFT_EXTERN T_FNT_VBFInfo vbf_SansSerif11x13;#endif#ifdef __cplusplus}#endif  /* __cplusplus */#endif // _GUIVARBITMAP_H

⌨️ 快捷键说明

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