vrshoot
diff libs/ft2static/freetype/internal/services/svpfr.h @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/ft2static/freetype/internal/services/svpfr.h Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,66 @@ 1.4 +/***************************************************************************/ 1.5 +/* */ 1.6 +/* svpfr.h */ 1.7 +/* */ 1.8 +/* Internal PFR service functions (specification). */ 1.9 +/* */ 1.10 +/* Copyright 2003, 2006 by */ 1.11 +/* David Turner, Robert Wilhelm, and Werner Lemberg. */ 1.12 +/* */ 1.13 +/* This file is part of the FreeType project, and may only be used, */ 1.14 +/* modified, and distributed under the terms of the FreeType project */ 1.15 +/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 1.16 +/* this file you indicate that you have read the license and */ 1.17 +/* understand and accept it fully. */ 1.18 +/* */ 1.19 +/***************************************************************************/ 1.20 + 1.21 + 1.22 +#ifndef __SVPFR_H__ 1.23 +#define __SVPFR_H__ 1.24 + 1.25 +#include FT_PFR_H 1.26 +#include FT_INTERNAL_SERVICE_H 1.27 + 1.28 + 1.29 +FT_BEGIN_HEADER 1.30 + 1.31 + 1.32 +#define FT_SERVICE_ID_PFR_METRICS "pfr-metrics" 1.33 + 1.34 + 1.35 + typedef FT_Error 1.36 + (*FT_PFR_GetMetricsFunc)( FT_Face face, 1.37 + FT_UInt *aoutline, 1.38 + FT_UInt *ametrics, 1.39 + FT_Fixed *ax_scale, 1.40 + FT_Fixed *ay_scale ); 1.41 + 1.42 + typedef FT_Error 1.43 + (*FT_PFR_GetKerningFunc)( FT_Face face, 1.44 + FT_UInt left, 1.45 + FT_UInt right, 1.46 + FT_Vector *avector ); 1.47 + 1.48 + typedef FT_Error 1.49 + (*FT_PFR_GetAdvanceFunc)( FT_Face face, 1.50 + FT_UInt gindex, 1.51 + FT_Pos *aadvance ); 1.52 + 1.53 + 1.54 + FT_DEFINE_SERVICE( PfrMetrics ) 1.55 + { 1.56 + FT_PFR_GetMetricsFunc get_metrics; 1.57 + FT_PFR_GetKerningFunc get_kerning; 1.58 + FT_PFR_GetAdvanceFunc get_advance; 1.59 + 1.60 + }; 1.61 + 1.62 + /* */ 1.63 + 1.64 +FT_END_HEADER 1.65 + 1.66 +#endif /* __SVPFR_H__ */ 1.67 + 1.68 + 1.69 +/* END */