📄 ftxgasp.h
字号:
/******************************************************************* * * ftxgasp.h 1.0 * * Gasp table support API extension * * Copyright 1996-1999 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. */ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -