sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
pfrobjs.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* pfrobjs.h
4
*
5
* FreeType PFR object methods (specification).
6
*
7
* Copyright (C) 2002-2025 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
23
#ifndef PFROBJS_H_
24
#define PFROBJS_H_
25
26
#include "
pfrtypes.h
"
27
28
29
FT_BEGIN_HEADER
30
31
typedef
struct
PFR_FaceRec_
* PFR_Face;
32
33
typedef
struct
PFR_SizeRec_
* PFR_Size;
34
35
typedef
struct
PFR_SlotRec_
* PFR_Slot;
36
37
38
typedef
struct
PFR_FaceRec_
39
{
40
FT_FaceRec root;
41
PFR_HeaderRec header;
42
PFR_LogFontRec log_font;
43
PFR_PhyFontRec phy_font;
44
45
} PFR_FaceRec;
46
47
48
typedef
struct
PFR_SizeRec_
49
{
50
FT_SizeRec root;
51
52
} PFR_SizeRec;
53
54
55
typedef
struct
PFR_SlotRec_
56
{
57
FT_GlyphSlotRec root;
58
PFR_GlyphRec glyph;
59
60
} PFR_SlotRec;
61
62
63
FT_LOCAL( FT_Error )
64
pfr_face_init( FT_Stream stream,
65
FT_Face face,
/* PFR_Face */
66
FT_Int face_index,
67
FT_Int num_params,
68
FT_Parameter* params );
69
70
FT_LOCAL(
void
)
71
pfr_face_done( FT_Face face );
/* PFR_Face */
72
73
74
FT_LOCAL( FT_Error )
75
pfr_face_get_kerning( FT_Face face,
/* PFR_Face */
76
FT_UInt glyph1,
77
FT_UInt glyph2,
78
FT_Vector* kerning );
79
80
81
FT_LOCAL( FT_Error )
82
pfr_slot_init( FT_GlyphSlot slot );
/* PFR_Slot */
83
84
FT_LOCAL(
void
)
85
pfr_slot_done( FT_GlyphSlot slot );
/* PFR_Slot */
86
87
88
FT_LOCAL( FT_Error )
89
pfr_slot_load( FT_GlyphSlot slot,
/* PFR_Slot */
90
FT_Size size,
/* PFR_Size */
91
FT_UInt gindex,
92
FT_Int32 load_flags );
93
94
95
FT_END_HEADER
96
97
#endif
/* PFROBJS_H_ */
98
99
100
/* END */
pfrtypes.h
PFR_FaceRec_
Definition
pfrobjs.h:39
PFR_SizeRec_
Definition
pfrobjs.h:49
PFR_SlotRec_
Definition
pfrobjs.h:56
freetype
src
pfr
pfrobjs.h
Generated by
1.18.0