ttsbit.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  ttsbit.h                                                               */
00004 /*                                                                         */
00005 /*    TrueType and OpenType embedded bitmap support (specification).       */
00006 /*                                                                         */
00007 /*  Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by       */
00008 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
00009 /*                                                                         */
00010 /*  This file is part of the FreeType project, and may only be used,       */
00011 /*  modified, and distributed under the terms of the FreeType project      */
00012 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
00013 /*  this file you indicate that you have read the license and              */
00014 /*  understand and accept it fully.                                        */
00015 /*                                                                         */
00016 /***************************************************************************/
00017 
00018 
00019 #ifndef __TTSBIT_H__
00020 #define __TTSBIT_H__
00021 
00022 
00023 #include <ft2build.h>
00024 #include "ttload.h"
00025 
00026 
00027 FT_BEGIN_HEADER
00028 
00029 
00030   FT_LOCAL( FT_Error )
00031   tt_face_load_eblc( TT_Face    face,
00032                      FT_Stream  stream );
00033 
00034   FT_LOCAL( void )
00035   tt_face_free_eblc( TT_Face  face );
00036 
00037 
00038   FT_LOCAL( FT_Error )
00039   tt_face_set_sbit_strike( TT_Face          face,
00040                            FT_Size_Request  req,
00041                            FT_ULong*        astrike_index );
00042 
00043   FT_LOCAL( FT_Error )
00044   tt_face_load_strike_metrics( TT_Face           face,
00045                                FT_ULong          strike_index,
00046                                FT_Size_Metrics*  metrics );
00047 
00048 #ifdef FT_CONFIG_OPTION_OLD_INTERNALS
00049   FT_LOCAL( FT_Error )
00050   tt_find_sbit_image( TT_Face          face,
00051                       FT_UInt          glyph_index,
00052                       FT_ULong         strike_index,
00053                       TT_SBit_Range   *arange,
00054                       TT_SBit_Strike  *astrike,
00055                       FT_ULong        *aglyph_offset );
00056 
00057   FT_LOCAL( FT_Error )
00058   tt_load_sbit_metrics( FT_Stream        stream,
00059                         TT_SBit_Range    range,
00060                         TT_SBit_Metrics  metrics );
00061 
00062 #endif /* FT_CONFIG_OPTION_OLD_INTERNALS */
00063 
00064   FT_LOCAL( FT_Error )
00065   tt_face_load_sbit_image( TT_Face              face,
00066                            FT_ULong             strike_index,
00067                            FT_UInt              glyph_index,
00068                            FT_UInt              load_flags,
00069                            FT_Stream            stream,
00070                            FT_Bitmap           *map,
00071                            TT_SBit_MetricsRec  *metrics );
00072 
00073 
00074 FT_END_HEADER
00075 
00076 #endif /* __TTSBIT_H__ */
00077 
00078 
00079 /* END */

Generated on Tue Jul 5 14:13:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1