Use `Control_Type' to handle different segment directions.
[ttfautohint.git] / lib / tasort.h
blob29df69a32362974206d630bfbac1811ad38c32cc
1 /* tasort.h */
3 /*
4 * Copyright (C) 2011-2014 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 /* originally part of file `aftypes.h' (2011-Mar-28) from FreeType */
18 /* heavily modified 2011 by Werner Lemberg <wl@gnu.org> */
20 #ifndef __TASORT_H__
21 #define __TASORT_H__
23 #include "tatypes.h"
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
30 void
31 ta_sort_pos(FT_UInt count,
32 FT_Pos* table);
34 void
35 ta_sort_and_quantize_widths(FT_UInt* count,
36 TA_Width widths,
37 FT_Pos threshold);
39 #ifdef __cplusplus
41 #endif
43 #endif /* __TASORT_H__ */
45 /* end of tasort.h */