~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/autohint/ahglyph.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************/
 
2
/*                                                                         */
 
3
/*  ahglyph.h                                                              */
 
4
/*                                                                         */
 
5
/*    Routines used to load and analyze a given glyph before hinting       */
 
6
/*    (specification).                                                     */
 
7
/*                                                                         */
 
8
/*  Copyright 2000-2001, 2002 Catharon Productions Inc.                    */
 
9
/*  Author: David Turner                                                   */
 
10
/*                                                                         */
 
11
/*  This file is part of the Catharon Typography Project and shall only    */
 
12
/*  be used, modified, and distributed under the terms of the Catharon     */
 
13
/*  Open Source License that should come with this file under the name     */
 
14
/*  `CatharonLicense.txt'.  By continuing to use, modify, or distribute    */
 
15
/*  this file you indicate that you have read the license and              */
 
16
/*  understand and accept it fully.                                        */
 
17
/*                                                                         */
 
18
/*  Note that this license is compatible with the FreeType license.        */
 
19
/*                                                                         */
 
20
/***************************************************************************/
 
21
 
 
22
 
 
23
#ifndef __AHGLYPH_H__
 
24
#define __AHGLYPH_H__
 
25
 
 
26
 
 
27
#include <ft2build.h>
 
28
#include "ahtypes.h"
 
29
 
 
30
 
 
31
FT_BEGIN_HEADER
 
32
 
 
33
 
 
34
  typedef enum  AH_UV_
 
35
  {
 
36
    AH_UV_FXY,
 
37
    AH_UV_FYX,
 
38
    AH_UV_OXY,
 
39
    AH_UV_OYX,
 
40
    AH_UV_OX,
 
41
    AH_UV_OY,
 
42
    AH_UV_YX,
 
43
    AH_UV_XY  /* should always be last! */
 
44
 
 
45
  } AH_UV;
 
46
 
 
47
 
 
48
  FT_LOCAL( void )
 
49
  ah_setup_uv( AH_Outline  outline,
 
50
               AH_UV       source );
 
51
 
 
52
 
 
53
  /* AH_OutlineRec functions - they should be typically called in this order */
 
54
 
 
55
  FT_LOCAL( FT_Error )
 
56
  ah_outline_new( FT_Memory    memory,
 
57
                  AH_Outline*  aoutline );
 
58
 
 
59
  FT_LOCAL( FT_Error )
 
60
  ah_outline_load( AH_Outline  outline,
 
61
                   FT_Fixed    x_scale,
 
62
                   FT_Fixed    y_scale,
 
63
                   FT_Face     face );
 
64
 
 
65
  FT_LOCAL( void )
 
66
  ah_outline_compute_segments( AH_Outline  outline );
 
67
 
 
68
  FT_LOCAL( void )
 
69
  ah_outline_link_segments( AH_Outline  outline );
 
70
 
 
71
  FT_LOCAL( void )
 
72
  ah_outline_detect_features( AH_Outline  outline );
 
73
 
 
74
  FT_LOCAL( void )
 
75
  ah_outline_compute_blue_edges( AH_Outline       outline,
 
76
                                 AH_Face_Globals  globals );
 
77
 
 
78
  FT_LOCAL( void )
 
79
  ah_outline_scale_blue_edges( AH_Outline       outline,
 
80
                               AH_Face_Globals  globals );
 
81
 
 
82
  FT_LOCAL( void )
 
83
  ah_outline_save( AH_Outline  outline,
 
84
                   AH_Loader   loader );
 
85
 
 
86
  FT_LOCAL( void )
 
87
  ah_outline_done( AH_Outline  outline );
 
88
 
 
89
 
 
90
FT_END_HEADER
 
91
 
 
92
#endif /* __AHGLYPH_H__ */
 
93
 
 
94
 
 
95
/* END */