freetype/src/sfnt/ttsbit.h

75 lines
2.7 KiB
C
Raw Normal View History

1999-12-17 00:11:37 +01:00
/***************************************************************************/
/* */
/* ttsbit.h */
/* */
/* TrueType and OpenType embedded bitmap support (specification). */
/* */
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */
1999-12-17 00:11:37 +01:00
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
2000-06-05 16:32:32 +02:00
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
1999-12-17 00:11:37 +01:00
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#ifndef __TTSBIT_H__
#define __TTSBIT_H__
1999-12-17 00:11:37 +01:00
2000-12-08 17:17:16 +01:00
#include <ft2build.h>
#include "ttload.h"
2000-12-08 17:17:16 +01:00
FT_BEGIN_HEADER
FT_LOCAL( FT_Error )
tt_face_load_sbit_strikes( TT_Face face,
FT_Stream stream );
2001-06-28 01:25:46 +02:00
FT_LOCAL( void )
tt_face_free_sbit_strikes( TT_Face face );
2001-06-28 01:25:46 +02:00
FT_LOCAL( FT_Error )
tt_face_set_sbit_strike( TT_Face face,
FT_UInt x_ppem,
FT_UInt y_ppem,
FT_ULong *astrike_index );
2001-06-28 01:25:46 +02:00
2005-03-01 23:57:25 +01:00
#ifndef FT_OPTIMIZE_MEMORY
FT_LOCAL( FT_Error )
tt_find_sbit_image( TT_Face face,
FT_UInt glyph_index,
FT_ULong strike_index,
TT_SBit_Range *arange,
TT_SBit_Strike *astrike,
FT_ULong *aglyph_offset );
FT_LOCAL( FT_Error )
tt_load_sbit_metrics( FT_Stream stream,
TT_SBit_Range range,
TT_SBit_Metrics metrics );
2005-03-01 23:57:25 +01:00
#endif /* !FT_OPTIMIZE_MEMORY */
FT_LOCAL( FT_Error )
tt_face_load_sbit_image( TT_Face face,
FT_ULong strike_index,
FT_UInt glyph_index,
FT_UInt load_flags,
FT_Stream stream,
FT_Bitmap *map,
TT_SBit_MetricsRec *metrics );
1999-12-17 00:11:37 +01:00
FT_END_HEADER
#endif /* __TTSBIT_H__ */
1999-12-17 00:11:37 +01:00
/* END */