zenilib: zenilib/jni/external/freetype2/include/freetype/internal/services/svpfr.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
svpfr.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* svpfr.h */
4 /* */
5 /* Internal PFR service functions (specification). */
6 /* */
7 /* Copyright 2003, 2006 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
15 /* */
16 /***************************************************************************/
17
18
19 #ifndef __SVPFR_H__
20 #define __SVPFR_H__
21
22 #include FT_PFR_H
23 #include FT_INTERNAL_SERVICE_H
24
25
26 FT_BEGIN_HEADER
27
28
29 #define FT_SERVICE_ID_PFR_METRICS "pfr-metrics"
30
31
32 typedef FT_Error
33 (*FT_PFR_GetMetricsFunc)( FT_Face face,
34 FT_UInt *aoutline,
35 FT_UInt *ametrics,
36 FT_Fixed *ax_scale,
37 FT_Fixed *ay_scale );
38
39 typedef FT_Error
40 (*FT_PFR_GetKerningFunc)( FT_Face face,
41 FT_UInt left,
42 FT_UInt right,
43 FT_Vector *avector );
44
45 typedef FT_Error
46 (*FT_PFR_GetAdvanceFunc)( FT_Face face,
47 FT_UInt gindex,
48 FT_Pos *aadvance );
49
50
51 FT_DEFINE_SERVICE( PfrMetrics )
52 {
53 FT_PFR_GetMetricsFunc get_metrics;
54 FT_PFR_GetKerningFunc get_kerning;
55 FT_PFR_GetAdvanceFunc get_advance;
56
57 };
58
59 /* */
60
61 FT_END_HEADER
62
63 #endif /* __SVPFR_H__ */
64
65
66 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_DEFINE_SERVICE
#define FT_DEFINE_SERVICE(name)
Definition: ftserv.h:650
FT_Pos
FT_BEGIN_HEADER typedef signed long FT_Pos
Definition: ftimage.h:59
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
FT_PFR_GetMetricsFunc
FT_Error(* FT_PFR_GetMetricsFunc)(FT_Face face, FT_UInt *aoutline, FT_UInt *ametrics, FT_Fixed *ax_scale, FT_Fixed *ay_scale)
Definition: svpfr.h:33
left
GLint left
Definition: glew.h:7291
FT_PFR_GetAdvanceFunc
FT_Error(* FT_PFR_GetAdvanceFunc)(FT_Face face, FT_UInt gindex, FT_Pos *aadvance)
Definition: svpfr.h:46
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_PFR_GetKerningFunc
FT_Error(* FT_PFR_GetKerningFunc)(FT_Face face, FT_UInt left, FT_UInt right, FT_Vector *avector)
Definition: svpfr.h:40
FT_FaceRec_
Definition: freetype.h:912
face
GLenum face
Definition: gl2ext.h:1490
FT_Vector_
Definition: ftimage.h:75
FT_Fixed
signed long FT_Fixed
Definition: fttypes.h:284
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
right
GLfloat right
Definition: glew.h:13816