]>
git.saurik.com Git - wxWidgets.git/blob - src/freetype/autohint/ahglyph.h
1 /***************************************************************************/
5 /* Routines used to load and analyze a given glyph before hinting */
8 /* Copyright 2000 Catharon Productions Inc. */
9 /* Author: David Turner */
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. */
18 /* Note that this license is compatible with the FreeType license. */
20 /***************************************************************************/
26 #ifdef FT_FLAT_COMPILE
32 #include <autohint/ahtypes.h>
46 ah_uv_xy
/* should always be last! */
52 void ah_setup_uv( AH_Outline
* outline
,
56 /* AH_Outline functions - they should be typically called in this order */
59 FT_Error
ah_outline_new( FT_Memory memory
,
60 AH_Outline
** aoutline
);
63 FT_Error
ah_outline_load( AH_Outline
* outline
,
67 void ah_outline_compute_segments( AH_Outline
* outline
);
70 void ah_outline_link_segments( AH_Outline
* outline
);
73 void ah_outline_detect_features( AH_Outline
* outline
);
76 void ah_outline_compute_blue_edges( AH_Outline
* outline
,
77 AH_Face_Globals
* globals
);
80 void ah_outline_scale_blue_edges( AH_Outline
* outline
,
81 AH_Face_Globals
* globals
);
84 void ah_outline_save( AH_Outline
* outline
, AH_Loader
* loader
);
87 void ah_outline_done( AH_Outline
* outline
);
90 #endif /* AHGLYPH_H */