diff options
| author | Charles.Forsyth <devnull@localhost> | 2009-03-25 16:16:00 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2009-03-25 16:16:00 +0000 |
| commit | d8150d92150b08ade63d7cd8b666cb26551110ff (patch) | |
| tree | cd00d21483c33e7d7a72841dffaf84a3833dca54 /include/freetype/internal/pfr.h | |
| parent | ec9d9a92e45882fc1aec9e79f5a2bcf0b303fa87 (diff) | |
x20090325-1615
Diffstat (limited to 'include/freetype/internal/pfr.h')
| -rw-r--r-- | include/freetype/internal/pfr.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/freetype/internal/pfr.h b/include/freetype/internal/pfr.h new file mode 100644 index 00000000..cead0781 --- /dev/null +++ b/include/freetype/internal/pfr.h @@ -0,0 +1,36 @@ +#ifndef __FT_INTERNAL_PFR_H__ +#define __FT_INTERNAL_PFR_H__ + +#include <ft2build.h> +#include FT_FREETYPE_H + +FT_BEGIN_HEADER + + typedef FT_Error (*FT_PFR_GetMetricsFunc)( FT_Face face, + FT_UInt *aoutline, + FT_UInt *ametrics, + FT_Fixed *ax_scale, + FT_Fixed *ay_scale ); + + typedef FT_Error (*FT_PFR_GetKerningFunc)( FT_Face face, + FT_UInt left, + FT_UInt right, + FT_Vector *avector ); + + typedef FT_Error (*FT_PFR_GetAdvanceFunc)( FT_Face face, + FT_UInt gindex, + FT_Pos *aadvance ); + + typedef struct FT_PFR_ServiceRec_ + { + FT_PFR_GetMetricsFunc get_metrics; + FT_PFR_GetKerningFunc get_kerning; + FT_PFR_GetAdvanceFunc get_advance; + + } FT_PFR_ServiceRec, *FT_PFR_Service; + +#define FT_PFR_SERVICE_NAME "pfr" + +FT_END_HEADER + +#endif /* __FT_INTERNAL_PFR_H__ */ |
