sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
svpfr.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* svpfr.h
4
*
5
* Internal PFR service functions (specification).
6
*
7
* Copyright (C) 2003-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 SVPFR_H_
24
#define SVPFR_H_
25
26
#include <
freetype/ftpfr.h
>
27
#include <
freetype/internal/ftserv.h
>
28
29
30
FT_BEGIN_HEADER
31
32
33
#define FT_SERVICE_ID_PFR_METRICS "pfr-metrics"
34
35
36
typedef
FT_Error
37
(*FT_PFR_GetMetricsFunc)( FT_Face face,
38
FT_UInt *aoutline,
39
FT_UInt *ametrics,
40
FT_Fixed *ax_scale,
41
FT_Fixed *ay_scale );
42
43
typedef
FT_Error
44
(*FT_PFR_GetKerningFunc)( FT_Face face,
45
FT_UInt left,
46
FT_UInt right,
47
FT_Vector *avector );
48
49
typedef
FT_Error
50
(*FT_PFR_GetAdvanceFunc)( FT_Face face,
51
FT_UInt gindex,
52
FT_Pos *aadvance );
53
54
55
FT_DEFINE_SERVICE( PfrMetrics )
56
{
57
FT_PFR_GetMetricsFunc get_metrics;
58
FT_PFR_GetKerningFunc get_kerning;
59
FT_PFR_GetAdvanceFunc get_advance;
60
61
};
62
63
64
FT_END_HEADER
65
66
#endif
/* SVPFR_H_ */
67
68
69
/* END */
ftpfr.h
ftserv.h
freetype
include
freetype
internal
services
svpfr.h
Generated by
1.18.0