ReactOS 0.4.15-dev-7918-g2a2556c
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-2018 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
42
43
44 typedef struct PFR_SizeRec_
45 {
47
49
50
51 typedef struct PFR_SlotRec_
52 {
55
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,
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 */
#define FT_LOCAL(x)
Definition: ftconfig.h:387
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
int FT_Error
Definition: fttypes.h:300
unsigned int FT_UInt
Definition: fttypes.h:231
signed int FT_Int
Definition: fttypes.h:220
GLsizeiptr size
Definition: glext.h:5919
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
GLenum const GLfloat * params
Definition: glext.h:5645
struct PFR_FaceRec_ PFR_FaceRec
pfr_face_init(FT_Stream stream, FT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
Definition: pfrobjs.c:68
struct PFR_SizeRec_ * PFR_Size
Definition: pfrobjs.h:29
struct PFR_SlotRec_ * PFR_Slot
Definition: pfrobjs.h:31
typedefFT_BEGIN_HEADER struct PFR_FaceRec_ * PFR_Face
Definition: pfrobjs.h:27
struct PFR_SlotRec_ PFR_SlotRec
pfr_face_get_kerning(FT_Face face, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
Definition: pfrobjs.c:471
pfr_slot_load(FT_GlyphSlot slot, FT_Size size, FT_UInt gindex, FT_Int32 load_flags)
Definition: pfrobjs.c:311
pfr_slot_init(FT_GlyphSlot slot)
Definition: pfrobjs.c:288
pfr_slot_done(FT_GlyphSlot slot)
Definition: pfrobjs.c:301
pfr_face_done(FT_Face face)
Definition: pfrobjs.c:44
struct PFR_SizeRec_ PFR_SizeRec
FT_BEGIN_HEADER struct PFR_HeaderRec_ PFR_HeaderRec
PFR_LogFontRec log_font
Definition: pfrobjs.h:38
FT_FaceRec root
Definition: pfrobjs.h:36
PFR_HeaderRec header
Definition: pfrobjs.h:37
PFR_PhyFontRec phy_font
Definition: pfrobjs.h:39
FT_SizeRec root
Definition: pfrobjs.h:46
PFR_GlyphRec glyph
Definition: pfrobjs.h:54
FT_GlyphSlotRec root
Definition: pfrobjs.h:53
Definition: vfat.h:185
Definition: parse.h:23
FT_UInt FT_UInt FT_Vector * kerning
Definition: ttdriver.c:204