FreeType 1.31.1
This commit is contained in:
53
lib/extend/ftxgasp.h
Normal file
53
lib/extend/ftxgasp.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*******************************************************************
|
||||
*
|
||||
* 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 __cplusplus
|
||||
extern "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 */
|
||||
Reference in New Issue
Block a user