The BIG graph update
[rrdtool.git] / libraries / freetype-2.0.5 / include / t1decode.h
1 /***************************************************************************/
2 /*                                                                         */
3 /*  t1decode.h                                                             */
4 /*                                                                         */
5 /*    PostScript Type 1 decoding routines (specification).                 */
6 /*                                                                         */
7 /*  Copyright 2000-2001 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 __T1DECODE_H__
20 #define __T1DECODE_H__
21
22
23 #include <ft2build.h>
24 #include FT_INTERNAL_POSTSCRIPT_AUX_H
25 #include FT_INTERNAL_POSTSCRIPT_NAMES_H
26 #include FT_INTERNAL_TYPE1_TYPES_H
27
28
29 FT_BEGIN_HEADER
30
31
32   FT_CALLBACK_TABLE
33   const T1_Decoder_Funcs  t1_decoder_funcs;
34
35
36   FT_LOCAL FT_Error
37   T1_Decoder_Parse_Glyph( T1_Decoder*  decoder,
38                           FT_UInt      glyph_index );
39
40   FT_LOCAL FT_Error
41   T1_Decoder_Parse_Charstrings( T1_Decoder*  decoder,
42                                 FT_Byte*     base,
43                                 FT_UInt      len );
44
45   FT_LOCAL FT_Error
46   T1_Decoder_Init( T1_Decoder*          decoder,
47                    FT_Face              face,
48                    FT_Size              size,
49                    FT_GlyphSlot         slot,
50                    FT_Byte**            glyph_names,
51                    T1_Blend*            blend,
52                    T1_Decoder_Callback  parse_glyph );
53
54   FT_LOCAL void
55   T1_Decoder_Done( T1_Decoder*  decoder );
56
57
58 FT_END_HEADER
59
60 #endif /* __T1DECODE_H__ */
61
62
63 /* END */