rawbitmap.h

来自「在ecos 下mingui 的移植开发」· C头文件 代码 · 共 47 行

H
47 行
字号
//// $Id: rawbitmap.h,v 1.5 2000/07/12 01:48:57 weiym Exp $//// rawbitmap.h: the head file of raw bitmap font operation set.//// Copyright (C) 2000, Wei Yongming.// Copyright (C) 2000, BluePoint Software.//#ifndef GUI_FONT_RAWBITMAP_H    #define GUI_FONT_RAWBITMAP_H#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */typedef struct{    CHARSETOPS* charset_ops;    int nr_chars;    int width;    int height;    char* font;    long font_size;} RBFINFO;extern FONTOPS raw_bitmap_font_ops;BOOL LoadRawBitmapFont (const char* file, RBFINFO* RBFInfo);void UnloadRawBitmapFont (RBFINFO* RBFInfo);#define SBC_RBFONT_INFO(logfont) ((RBFINFO*)(((DEVFONT*) (logfont.sbc_devfont))->data))#define MBC_RBFONT_INFO(logfont) ((RBFINFO*)(((DEVFONT*) (logfont.mbc_devfont))->data))#define SBC_RBFONT_INFO_P(logfont) ((RBFINFO*)(((DEVFONT*) (logfont->sbc_devfont))->data))#define MBC_RBFONT_INFO_P(logfont) ((RBFINFO*)(((DEVFONT*) (logfont->mbc_devfont))->data))#define RBFONT_INFO_P(devfont) ((RBFINFO*)(devfont->data))#define RBFONT_INFO(devfont) ((RBFINFO*)(devfont.data))#ifdef __cplusplus}#endif  /* __cplusplus */#endif // GUI_FONT_RAWBITMAP_H

⌨️ 快捷键说明

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