1999-12-17 00:11:37 +01:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ttsbit.h */
|
|
|
|
/* */
|
|
|
|
/* TrueType and OpenType embedded bitmap support (specification). */
|
|
|
|
/* */
|
2000-06-05 16:32:32 +02:00
|
|
|
/* Copyright 1996-2000 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
|
|
|
|
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-07-08 02:41:13 +02:00
|
|
|
#ifdef FT_FLAT_COMPILE
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-07-08 02:41:13 +02:00
|
|
|
#include "ttload.h"
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-07-08 02:41:13 +02:00
|
|
|
#else
|
2000-07-08 21:51:42 +02:00
|
|
|
|
2000-07-08 02:41:13 +02:00
|
|
|
#include <sfnt/ttload.h>
|
|
|
|
|
2000-07-08 21:51:42 +02:00
|
|
|
#endif
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
2000-07-05 06:32:02 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-11-04 02:55:49 +01:00
|
|
|
FT_LOCAL
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_SBit_Strikes( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
2000-11-04 02:55:49 +01:00
|
|
|
FT_LOCAL
|
2000-11-07 00:07:51 +01:00
|
|
|
void TT_Free_SBit_Strikes( TT_Face face );
|
|
|
|
|
|
|
|
|
|
|
|
FT_LOCAL
|
2000-11-07 07:30:29 +01:00
|
|
|
FT_Error TT_Set_SBit_Strike( TT_Face face,
|
|
|
|
FT_Int x_ppem,
|
|
|
|
FT_Int y_ppem,
|
|
|
|
FT_ULong *astrike_index );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-11-04 02:55:49 +01:00
|
|
|
FT_LOCAL
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_SBit_Image( TT_Face face,
|
2000-11-07 00:07:51 +01:00
|
|
|
FT_ULong strike_index,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_UInt glyph_index,
|
|
|
|
FT_UInt load_flags,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream,
|
2000-11-07 00:07:51 +01:00
|
|
|
FT_Bitmap *map,
|
|
|
|
TT_SBit_Metrics *metrics );
|
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-07-05 06:32:02 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
#endif /* TTSBIT_H */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|