ftxgasp.h

来自「字体缩放显示」· C头文件 代码 · 共 54 行

H
54
字号
/******************************************************************* * *  ftxgasp.h                                                   1.0 * *    Gasp table support API extension * *  Copyright 1996-2001 by *  David Turner, Robert Wilhelm, and Werner Lemberg. * *  This file is part of the FreeType project, and may only be used *  modified and distributed under the terms of the FreeType project *  license, LICENSE.TXT. By continuing to use, modify, or distribute *  this file you indicate that you have read the license and *  understand and accept it fully. * * *  The gasp table is currently loaded by the core engine, but the *  standard API doesn't give access to it.  This file is used to *  demonstrate the use of a simple API extension. * ******************************************************************/#ifndef FTXGASP_H#define FTXGASP_H#include "freetype.h"#ifdef __cplusplusextern "C" {#endif  /* This function returns for a given 'point_size' the values of the */  /* gasp flags 'grid_fit' and 'smooth_font'.  The returned values    */  /* are booleans (where 0 = NO, and 1 = YES).                        */  /* Note that this function will return TT_Err_Table_Missing if      */  /* the font file doesn't contain any gasp table.                    */  FT_EXPORT_DEF( TT_Error )  TT_Get_Face_Gasp_Flags( TT_Face    face,                          TT_UShort  point_size,                          TT_Bool*   grid_fit,                          TT_Bool*   smooth_font );#ifdef __cplusplus}#endif#endif /* FTXGASP_H *//* END */

⌨️ 快捷键说明

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