update for HEAD-2003050101
[reactos.git] / lib / freetype / include / freetype / internal / pfr.h
1 #ifndef __FT_INTERNAL_PFR_H__
2 #define __FT_INTERNAL_PFR_H__
3
4 #include <ft2build.h>
5 #include FT_FREETYPE_H
6
7 FT_BEGIN_HEADER
8
9   typedef FT_Error  (*FT_PFR_GetMetricsFunc)( FT_Face    face,
10                                               FT_UInt   *aoutline,
11                                               FT_UInt   *ametrics,
12                                               FT_Fixed  *ax_scale,
13                                               FT_Fixed  *ay_scale );
14
15   typedef FT_Error  (*FT_PFR_GetKerningFunc)( FT_Face     face,
16                                               FT_UInt     left,
17                                               FT_UInt     right,
18                                               FT_Vector  *avector );
19
20   typedef FT_Error  (*FT_PFR_GetAdvanceFunc)( FT_Face   face,
21                                               FT_UInt   gindex,
22                                               FT_Pos   *aadvance );
23
24   typedef struct FT_PFR_ServiceRec_
25   {
26     FT_PFR_GetMetricsFunc    get_metrics;
27     FT_PFR_GetKerningFunc    get_kerning;
28     FT_PFR_GetAdvanceFunc    get_advance;
29
30   } FT_PFR_ServiceRec, *FT_PFR_Service;
31
32 #define  FT_PFR_SERVICE_NAME  "pfr"
33
34 FT_END_HEADER
35
36 #endif /* __FT_INTERNAL_PFR_H__ */