1999-12-17 00:11:37 +01:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ttsbit.h */
|
|
|
|
/* */
|
|
|
|
/* TrueType and OpenType embedded bitmap support (specification). */
|
|
|
|
/* */
|
2002-03-31 20:48:24 +02:00
|
|
|
/* Copyright 1996-2001, 2002 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
2000-12-09 01:45:38 +01:00
|
|
|
#ifndef __TTSBIT_H__
|
|
|
|
#define __TTSBIT_H__
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
#include <ft2build.h>
|
2001-03-20 12:14:24 +01:00
|
|
|
#include "ttload.h"
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
FT_BEGIN_HEADER
|
2000-07-05 06:32:02 +02:00
|
|
|
|
|
|
|
|
2002-03-01 03:26:22 +01:00
|
|
|
FT_LOCAL( FT_Error )
|
2001-06-28 01:25:46 +02:00
|
|
|
TT_Load_SBit_Strikes( TT_Face face,
|
|
|
|
FT_Stream stream );
|
|
|
|
|
2002-03-01 03:26:22 +01:00
|
|
|
FT_LOCAL( void )
|
2001-06-28 01:25:46 +02:00
|
|
|
TT_Free_SBit_Strikes( TT_Face face );
|
|
|
|
|
|
|
|
|
2002-03-01 03:26:22 +01:00
|
|
|
FT_LOCAL( FT_Error )
|
2001-06-28 01:25:46 +02:00
|
|
|
TT_Set_SBit_Strike( TT_Face face,
|
|
|
|
FT_Int x_ppem,
|
|
|
|
FT_Int y_ppem,
|
|
|
|
FT_ULong *astrike_index );
|
|
|
|
|
2002-03-01 03:26:22 +01:00
|
|
|
FT_LOCAL( FT_Error )
|
2002-03-31 20:48:24 +02:00
|
|
|
TT_Load_SBit_Image( TT_Face face,
|
|
|
|
FT_ULong strike_index,
|
|
|
|
FT_UInt glyph_index,
|
|
|
|
FT_UInt load_flags,
|
|
|
|
FT_Stream stream,
|
|
|
|
FT_Bitmap *map,
|
2002-03-14 12:26:29 +01:00
|
|
|
TT_SBit_MetricsRec *metrics );
|
2000-11-07 00:07:51 +01:00
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
FT_END_HEADER
|
2000-07-05 06:32:02 +02:00
|
|
|
|
2000-12-09 01:45:38 +01:00
|
|
|
#endif /* __TTSBIT_H__ */
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|