freetype2/src/sfnt/ttsbit.h

60 lines
2.2 KiB
C
Raw Normal View History

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__
1999-12-17 00:11:37 +01:00
2000-12-08 17:17:16 +01:00
#include <ft2build.h>
#include FT_SOURCE_FILE(sfnt,ttload.h)
2000-12-08 17:17:16 +01:00
FT_BEGIN_HEADER
FT_LOCAL
FT_Error TT_Load_SBit_Strikes( TT_Face face,
1999-12-17 00:11:37 +01:00
FT_Stream stream );
FT_LOCAL
void TT_Free_SBit_Strikes( TT_Face face );
FT_LOCAL
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
FT_LOCAL
FT_Error TT_Load_SBit_Image( TT_Face face,
FT_ULong strike_index,
FT_UInt glyph_index,
FT_UInt load_flags,
1999-12-17 00:11:37 +01:00
FT_Stream stream,
FT_Bitmap *map,
TT_SBit_Metrics *metrics );
1999-12-17 00:11:37 +01:00
FT_END_HEADER
#endif /* __TTSBIT_H__ */
1999-12-17 00:11:37 +01:00
/* END */