zenilib: zenilib/jni/external/freetype2/include/freetype/internal/services/svgxval.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
svgxval.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* svgxval.h */
4 /* */
5 /* FreeType API for validating TrueTypeGX/AAT tables (specification). */
6 /* */
7 /* Copyright 2004, 2005 by */
8 /* Masatake YAMATO, Red Hat K.K., */
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 /* */
21 /* gxvalid is derived from both gxlayout module and otvalid module. */
22 /* Development of gxlayout is supported by the Information-technology */
23 /* Promotion Agency(IPA), Japan. */
24 /* */
25 /***************************************************************************/
26
27
28 #ifndef __SVGXVAL_H__
29 #define __SVGXVAL_H__
30
31 #include FT_GX_VALIDATE_H
32 #include FT_INTERNAL_VALIDATE_H
33
34 FT_BEGIN_HEADER
35
36
37 #define FT_SERVICE_ID_GX_VALIDATE "truetypegx-validate"
38 #define FT_SERVICE_ID_CLASSICKERN_VALIDATE "classickern-validate"
39
40 typedef FT_Error
41 (*gxv_validate_func)( FT_Face face,
42 FT_UInt gx_flags,
43 FT_Bytes tables[FT_VALIDATE_GX_LENGTH],
44 FT_UInt table_length );
45
46
47 typedef FT_Error
48 (*ckern_validate_func)( FT_Face face,
49 FT_UInt ckern_flags,
50 FT_Bytes *ckern_table );
51
52
53 FT_DEFINE_SERVICE( GXvalidate )
54 {
55 gxv_validate_func validate;
56 };
57
58 FT_DEFINE_SERVICE( CKERNvalidate )
59 {
60 ckern_validate_func validate;
61 };
62
63 /* */
64
65
66 FT_END_HEADER
67
68
69 #endif /* __SVGXVAL_H__ */
70
71
72 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_DEFINE_SERVICE
#define FT_DEFINE_SERVICE(name)
Definition: ftserv.h:650
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
gxv_validate_func
FT_Error(* gxv_validate_func)(FT_Face face, FT_UInt gx_flags, FT_Bytes tables[FT_VALIDATE_GX_LENGTH], FT_UInt table_length)
Definition: svgxval.h:41
FT_VALIDATE_GX_LENGTH
#define FT_VALIDATE_GX_LENGTH
Definition: ftgxval.h:94
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_FaceRec_
Definition: freetype.h:912
ckern_validate_func
FT_Error(* ckern_validate_func)(FT_Face face, FT_UInt ckern_flags, FT_Bytes *ckern_table)
Definition: svgxval.h:48
face
GLenum face
Definition: gl2ext.h:1490
FT_Bytes
const FT_Byte * FT_Bytes
Definition: fttypes.h:161
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227