source: OGRE/trunk/ogrenew/Dependencies/include/freetype/internal/services/svpfr.h @ 657

Revision 657, 2.3 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1/***************************************************************************/
2/*                                                                         */
3/*  svpfr.h                                                                */
4/*                                                                         */
5/*    Internal PFR service functions (specification).                      */
6/*                                                                         */
7/*  Copyright 2003 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
19#ifndef __SVPFR_H__
20#define __SVPFR_H__
21
22#include FT_INTERNAL_SERVICE_H
23
24
25FT_BEGIN_HEADER
26
27
28#define FT_SERVICE_ID_PFR_METRICS  "pfr-metrics"
29
30
31  typedef FT_Error
32  (*FT_PFR_GetMetricsFunc)( FT_Face    face,
33                            FT_UInt   *aoutline,
34                            FT_UInt   *ametrics,
35                            FT_Fixed  *ax_scale,
36                            FT_Fixed  *ay_scale );
37
38  typedef FT_Error
39  (*FT_PFR_GetKerningFunc)( FT_Face     face,
40                            FT_UInt     left,
41                            FT_UInt     right,
42                            FT_Vector  *avector );
43
44  typedef FT_Error
45  (*FT_PFR_GetAdvanceFunc)( FT_Face   face,
46                            FT_UInt   gindex,
47                            FT_Pos   *aadvance );
48
49
50  FT_DEFINE_SERVICE( PfrMetrics )
51  {
52    FT_PFR_GetMetricsFunc  get_metrics;
53    FT_PFR_GetKerningFunc  get_kerning;
54    FT_PFR_GetAdvanceFunc  get_advance;
55
56  };
57
58 /* */
59
60FT_END_HEADER
61
62#endif /* __SVPFR_H__ */
63
64
65/* END */
Note: See TracBrowser for help on using the repository browser.