]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/sfnt/ttsbit.h
wxFont can now raelly use the native fonts
[wxWidgets.git] / src / freetype / sfnt / ttsbit.h
CommitLineData
cabec872
RR
1/***************************************************************************/
2/* */
3/* ttsbit.h */
4/* */
5/* TrueType and OpenType embedded bitmap support (specification). */
6/* */
7/* Copyright 1996-2000 by */
8/* David Turner, Robert Wilhelm, and Werner Lemberg. */
9/* */
10/* This file is part of the FreeType project, and may only be used, */
11/* modified, and distributed under the terms of the FreeType project */
12/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13/* this file you indicate that you have read the license and */
14/* understand and accept it fully. */
15/* */
16/***************************************************************************/
17
18
19#ifndef TTSBIT_H
20#define TTSBIT_H
21
22
23#ifdef FT_FLAT_COMPILE
24
25#include "ttload.h"
26
27#else
28
29#include <sfnt/ttload.h>
30
31#endif
32
33
34#ifdef __cplusplus
35 extern "C" {
36#endif
37
38
39 LOCAL_DEF
40 FT_Error TT_Load_SBit_Strikes( TT_Face face,
41 FT_Stream stream );
42
43 LOCAL_DEF
44 void TT_Free_SBit_Strikes( TT_Face face );
45
46 LOCAL_DEF
47 FT_Error TT_Load_SBit_Image( TT_Face face,
48 FT_Int x_ppem,
49 FT_Int y_ppem,
50 FT_UInt glyph_index,
51 FT_UInt load_flags,
52 FT_Stream stream,
53 FT_Bitmap* map,
54 TT_SBit_Metrics* metrics );
55
56
57#ifdef __cplusplus
58 }
59#endif
60
61
62#endif /* TTSBIT_H */
63
64
65/* END */