home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: SysTools
/
SysTools.zip
/
ft-beta.zip
/
freetype
/
lib
/
extend
/
ftxgasp.h
next >
Wrap
C/C++ Source or Header
|
1997-10-06
|
2KB
|
56 lines
/*******************************************************************
*
* ftxgasp.h 1.0
*
* Gasp table support API extension
*
* Copyright 1996, 1997 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.
*
* The additional API functions are defined in the file "ftxgasp.h"
* while they're implemented in "ttgasp.c"
*
******************************************************************/
/* You must include this file after "freetype.h" */
#ifndef FREETYPE_H
#error freetype.h was not included
#endif
#ifndef FTXGASP_H
#define FTXGASP_H
#ifdef __cplusplus
extern "C" {
#endif
TT_Error TT_Get_Face_Gasp_Flags( TT_Face face,
int point_size,
int* grid_fit,
int* smooth_font );
/* 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 returned TT_Err_Table_Missing if */
/* the font file doesn't contain any gasp table */
#ifdef __cplusplus
}
#endif
#endif /* FTGASP_H */