zenilib: zenilib/jni/external/freetype2/src/autofit/afglobal.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
afglobal.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* afglobal.h */
4 /* */
5 /* Auto-fitter routines to compute global hinting values */
6 /* (specification). */
7 /* */
8 /* Copyright 2003-2005, 2007, 2009, 2011 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */
11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */
16 /* */
17 /***************************************************************************/
18
19
20 #ifndef __AFGLOBAL_H__
21 #define __AFGLOBAL_H__
22
23
24 #include "aftypes.h"
25
26
27 FT_BEGIN_HEADER
28
29
30 /************************************************************************/
31 /************************************************************************/
32 /***** *****/
33 /***** F A C E G L O B A L S *****/
34 /***** *****/
35 /************************************************************************/
36 /************************************************************************/
37
38
39 /*
40 * model the global hints data for a given face, decomposed into
41 * script-specific items
42 */
43 typedef struct AF_FaceGlobalsRec_* AF_FaceGlobals;
44
45
46 FT_LOCAL( FT_Error )
47 af_face_globals_new( FT_Face face,
48 AF_FaceGlobals *aglobals );
49
50 FT_LOCAL( FT_Error )
51 af_face_globals_get_metrics( AF_FaceGlobals globals,
52 FT_UInt gindex,
53 FT_UInt options,
54 AF_ScriptMetrics *ametrics );
55
56 FT_LOCAL( void )
57 af_face_globals_free( AF_FaceGlobals globals );
58
59 FT_LOCAL_DEF( FT_Bool )
60 af_face_globals_is_digit( AF_FaceGlobals globals,
61 FT_UInt gindex );
62
63 /* */
64
65
66 FT_END_HEADER
67
68 #endif /* __AFGLOBAL_H__ */
69
70
71 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
FT_Bool
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
af_face_globals_new
af_face_globals_new(FT_Face face, AF_FaceGlobals *aglobals)
Definition: afglobal.c:180
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
AF_ScriptMetricsRec_
Definition: aftypes.h:249
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
AF_FaceGlobals
typedefFT_BEGIN_HEADER struct AF_FaceGlobalsRec_ * AF_FaceGlobals
Definition: afglobal.h:43
FT_LOCAL_DEF
#define FT_LOCAL_DEF(x)
Definition: ftconfig.h:467
FT_FaceRec_
Definition: freetype.h:912
face
GLenum face
Definition: gl2ext.h:1490
af_face_globals_free
af_face_globals_free(AF_FaceGlobals globals)
Definition: afglobal.c:211
aftypes.h
af_face_globals_is_digit
af_face_globals_is_digit(AF_FaceGlobals globals, FT_UInt gindex)
Definition: afglobal.c:309
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
af_face_globals_get_metrics
af_face_globals_get_metrics(AF_FaceGlobals globals, FT_UInt gindex, FT_UInt options, AF_ScriptMetrics *ametrics)
Definition: afglobal.c:245