zenilib: zenilib/jni/external/freetype2/src/pfr/pfrobjs.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
pfrobjs.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* pfrobjs.h */
4 /* */
5 /* FreeType PFR object methods (specification). */
6 /* */
7 /* Copyright 2002, 2003, 2004 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 __PFROBJS_H__
20 #define __PFROBJS_H__
21
22 #include "pfrtypes.h"
23
24
25 FT_BEGIN_HEADER
26
27 typedef struct PFR_FaceRec_* PFR_Face;
28
29 typedef struct PFR_SizeRec_* PFR_Size;
30
31 typedef struct PFR_SlotRec_* PFR_Slot;
32
33
34 typedef struct PFR_FaceRec_
35 {
36 FT_FaceRec root;
37 PFR_HeaderRec header;
38 PFR_LogFontRec log_font;
39 PFR_PhyFontRec phy_font;
40
41 } PFR_FaceRec;
42
43
44 typedef struct PFR_SizeRec_
45 {
46 FT_SizeRec root;
47
48 } PFR_SizeRec;
49
50
51 typedef struct PFR_SlotRec_
52 {
53 FT_GlyphSlotRec root;
54 PFR_GlyphRec glyph;
55
56 } PFR_SlotRec;
57
58
59 FT_LOCAL( FT_Error )
60 pfr_face_init( FT_Stream stream,
61 FT_Face face, /* PFR_Face */
62 FT_Int face_index,
63 FT_Int num_params,
64 FT_Parameter* params );
65
66 FT_LOCAL( void )
67 pfr_face_done( FT_Face face ); /* PFR_Face */
68
69
70 FT_LOCAL( FT_Error )
71 pfr_face_get_kerning( FT_Face face, /* PFR_Face */
72 FT_UInt glyph1,
73 FT_UInt glyph2,
74 FT_Vector* kerning );
75
76
77 FT_LOCAL( FT_Error )
78 pfr_slot_init( FT_GlyphSlot slot ); /* PFR_Slot */
79
80 FT_LOCAL( void )
81 pfr_slot_done( FT_GlyphSlot slot ); /* PFR_Slot */
82
83
84 FT_LOCAL( FT_Error )
85 pfr_slot_load( FT_GlyphSlot slot, /* PFR_Slot */
86 FT_Size size, /* PFR_Size */
87 FT_UInt gindex,
88 FT_Int32 load_flags );
89
90
91 FT_END_HEADER
92
93 #endif /* __PFROBJS_H__ */
94
95
96 /* END */
FT_SizeRec_
Definition: freetype.h:1395
FT_Error
int FT_Error
Definition: fttypes.h:296
PFR_PhyFontRec_
Definition: pfrtypes.h:222
PFR_FaceRec_::log_font
PFR_LogFontRec log_font
Definition: pfrobjs.h:38
pfr_face_get_kerning
pfr_face_get_kerning(FT_Face pfrface, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
Definition: pfrobjs.c:465
FT_GlyphSlotRec_
Definition: freetype.h:1605
PFR_SlotRec_
Definition: pfrobjs.h:51
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
FT_Int
signed int FT_Int
Definition: fttypes.h:216
stream
GLuint GLuint stream
Definition: glew.h:6573
pfr_slot_init
pfr_slot_init(FT_GlyphSlot pfrslot)
Definition: pfrobjs.c:290
pfr_slot_load
pfr_slot_load(FT_GlyphSlot pfrslot, FT_Size pfrsize, FT_UInt gindex, FT_Int32 load_flags)
Definition: pfrobjs.c:313
PFR_SlotRec_::root
FT_GlyphSlotRec root
Definition: pfrobjs.h:53
pfr_face_init
pfr_face_init(FT_Stream stream, FT_Face pfrface, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
Definition: pfrobjs.c:67
PFR_Size
struct PFR_SizeRec_ * PFR_Size
Definition: pfrobjs.h:29
PFR_SizeRec_
Definition: pfrobjs.h:44
PFR_FaceRec_::phy_font
PFR_PhyFontRec phy_font
Definition: pfrobjs.h:39
pfr_face_done
pfr_face_done(FT_Face pfrface)
Definition: pfrobjs.c:43
PFR_GlyphRec_
Definition: pfrtypes.h:334
PFR_SlotRec
struct PFR_SlotRec_ PFR_SlotRec
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
PFR_LogFontRec_
Definition: pfrtypes.h:82
params
GLenum GLvoid ** params
Definition: gl2ext.h:806
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
PFR_FaceRec_::root
FT_FaceRec root
Definition: pfrobjs.h:36
FT_FaceRec_
Definition: freetype.h:912
PFR_SlotRec_::glyph
PFR_GlyphRec glyph
Definition: pfrobjs.h:54
face
GLenum face
Definition: gl2ext.h:1490
PFR_Slot
struct PFR_SlotRec_ * PFR_Slot
Definition: pfrobjs.h:31
PFR_SizeRec_::root
FT_SizeRec root
Definition: pfrobjs.h:46
FT_Vector_
Definition: ftimage.h:75
PFR_FaceRec
struct PFR_FaceRec_ PFR_FaceRec
pfr_slot_done
pfr_slot_done(FT_GlyphSlot pfrslot)
Definition: pfrobjs.c:303
pfrtypes.h
PFR_SizeRec
struct PFR_SizeRec_ PFR_SizeRec
PFR_FaceRec_::header
PFR_HeaderRec header
Definition: pfrobjs.h:37
PFR_HeaderRec
FT_BEGIN_HEADER struct PFR_HeaderRec_ PFR_HeaderRec
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
PFR_Face
typedefFT_BEGIN_HEADER struct PFR_FaceRec_ * PFR_Face
Definition: pfrobjs.h:27
PFR_FaceRec_
Definition: pfrobjs.h:34
FT_StreamRec_
Definition: ftsystem.h:321
FT_Parameter_
Definition: freetype.h:1763
size
GLsizei size
Definition: gl2ext.h:1467