• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  *
3  * psconv.h
4  *
5  *   Some convenience conversions (specification).
6  *
7  * Copyright (C) 2006-2020 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 PSCONV_H_
20 #define PSCONV_H_
21 
22 
23 #include <freetype/internal/psaux.h>
24 
25 FT_BEGIN_HEADER
26 
27 
28   FT_LOCAL( FT_Long )
29   PS_Conv_Strtol( FT_Byte**  cursor,
30                   FT_Byte*   limit,
31                   FT_Long    base );
32 
33 
34   FT_LOCAL( FT_Long )
35   PS_Conv_ToInt( FT_Byte**  cursor,
36                  FT_Byte*   limit );
37 
38   FT_LOCAL( FT_Fixed )
39   PS_Conv_ToFixed( FT_Byte**  cursor,
40                    FT_Byte*   limit,
41                    FT_Long    power_ten );
42 
43 #if 0
44   FT_LOCAL( FT_UInt )
45   PS_Conv_StringDecode( FT_Byte**  cursor,
46                         FT_Byte*   limit,
47                         FT_Byte*   buffer,
48                         FT_Offset  n );
49 #endif
50 
51   FT_LOCAL( FT_UInt )
52   PS_Conv_ASCIIHexDecode( FT_Byte**  cursor,
53                           FT_Byte*   limit,
54                           FT_Byte*   buffer,
55                           FT_Offset  n );
56 
57   FT_LOCAL( FT_UInt )
58   PS_Conv_EexecDecode( FT_Byte**   cursor,
59                        FT_Byte*    limit,
60                        FT_Byte*    buffer,
61                        FT_Offset   n,
62                        FT_UShort*  seed );
63 
64 
65 FT_END_HEADER
66 
67 #endif /* PSCONV_H_ */
68 
69 
70 /* END */
71