Synchronize with FreeType. [2/2]
[ttfautohint.git] / lib / tasort.h
blob0e888b7f9cd2bc69a63431239a07e8f3bf5f8906
1 /* tasort.h */
3 /*
4 * Copyright (C) 2011-2013 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"
26 void
27 ta_sort_pos(FT_UInt count,
28 FT_Pos* table);
30 void
31 ta_sort_and_quantize_widths(FT_UInt* count,
32 TA_Width widths,
33 FT_Pos threshold);
35 #endif /* __TASORT_H__ */
37 /* end of tasort.h */