zenilib  0.5.3.0
 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 
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  {
40 
41  } PFR_FaceRec;
42 
43 
44  typedef struct PFR_SizeRec_
45  {
47 
48  } PFR_SizeRec;
49 
50 
51  typedef struct PFR_SlotRec_
52  {
55 
56  } PFR_SlotRec;
57 
58 
61  FT_Face face, /* PFR_Face */
62  FT_Int face_index,
63  FT_Int num_params,
65 
66  FT_LOCAL( void )
67  pfr_face_done( FT_Face face ); /* PFR_Face */
68 
69 
71  pfr_face_get_kerning( FT_Face face, /* PFR_Face */
72  FT_UInt glyph1,
73  FT_UInt glyph2,
74  FT_Vector* kerning );
75 
76 
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 
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 
92 
93 #endif /* __PFROBJS_H__ */
94 
95 
96 /* END */
int FT_Error
Definition: fttypes.h:296
PFR_LogFontRec log_font
Definition: pfrobjs.h:38
pfr_face_get_kerning(FT_Face pfrface, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
Definition: pfrobjs.c:465
#define FT_END_HEADER
Definition: ftheader.h:54
signed int FT_Int
Definition: fttypes.h:216
GLuint GLuint stream
Definition: glew.h:6573
pfr_slot_init(FT_GlyphSlot pfrslot)
Definition: pfrobjs.c:290
pfr_slot_load(FT_GlyphSlot pfrslot, FT_Size pfrsize, FT_UInt gindex, FT_Int32 load_flags)
Definition: pfrobjs.c:313
FT_GlyphSlotRec root
Definition: pfrobjs.h:53
pfr_face_init(FT_Stream stream, FT_Face pfrface, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
Definition: pfrobjs.c:67
struct PFR_SizeRec_ * PFR_Size
Definition: pfrobjs.h:29
PFR_PhyFontRec phy_font
Definition: pfrobjs.h:39
pfr_face_done(FT_Face pfrface)
Definition: pfrobjs.c:43
struct PFR_SlotRec_ PFR_SlotRec
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
GLenum GLvoid ** params
Definition: gl2ext.h:806
#define FT_LOCAL(x)
Definition: ftconfig.h:466
FT_FaceRec root
Definition: pfrobjs.h:36
PFR_GlyphRec glyph
Definition: pfrobjs.h:54
GLenum face
Definition: gl2ext.h:1490
struct PFR_SlotRec_ * PFR_Slot
Definition: pfrobjs.h:31
FT_SizeRec root
Definition: pfrobjs.h:46
struct PFR_FaceRec_ PFR_FaceRec
pfr_slot_done(FT_GlyphSlot pfrslot)
Definition: pfrobjs.c:303
struct PFR_SizeRec_ PFR_SizeRec
PFR_HeaderRec header
Definition: pfrobjs.h:37
FT_BEGIN_HEADER struct PFR_HeaderRec_ PFR_HeaderRec
unsigned int FT_UInt
Definition: fttypes.h:227
typedefFT_BEGIN_HEADER struct PFR_FaceRec_ * PFR_Face
Definition: pfrobjs.h:27
GLsizei size
Definition: gl2ext.h:1467