freetype2/include/freetype/internal/pfr.h

61 lines
2.4 KiB
C
Raw Normal View History

2003-04-22 09:49:24 +02:00
/***************************************************************************/
/* */
/* pfr.h */
/* */
/* Internal PFR service functions (specification only). */
/* */
/* Copyright 2002, 2003 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#ifndef __PFR_H__
#define __PFR_H__
#include <ft2build.h>
#include FT_FREETYPE_H
2003-04-22 09:49:24 +02:00
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 );
2003-04-22 09:49:24 +02:00
typedef struct FT_PFR_ServiceRec_
{
2003-04-22 09:49:24 +02:00
FT_PFR_GetMetricsFunc get_metrics;
FT_PFR_GetKerningFunc get_kerning;
FT_PFR_GetAdvanceFunc get_advance;
} FT_PFR_ServiceRec, *FT_PFR_Service;
2003-04-22 09:49:24 +02:00
#define FT_PFR_SERVICE_NAME "pfr"
FT_END_HEADER
2003-04-22 09:49:24 +02:00
#endif /* __PFR_H__ */
/* END */