Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
ttsbit.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* ttsbit.h */
4 /* */
5 /* TrueType and OpenType embedded bitmap support (specification). */
6 /* */
7 /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 #include <ft2build.h>
24 #include "ttload.h"
25 
26 
28 
29 
32  FT_Stream stream );
33 
34  FT_LOCAL( void )
36 
37 
40  FT_Size_Request req,
41  FT_ULong* astrike_index );
42 
45  FT_ULong strike_index,
47 
48 #ifdef FT_CONFIG_OPTION_OLD_INTERNALS
50  tt_find_sbit_image( TT_Face face,
51  FT_UInt glyph_index,
52  FT_ULong strike_index,
53  TT_SBit_Range *arange,
54  TT_SBit_Strike *astrike,
55  FT_ULong *aglyph_offset );
56 
58  tt_load_sbit_metrics( FT_Stream stream,
61 
62 #endif /* FT_CONFIG_OPTION_OLD_INTERNALS */
63 
66  FT_ULong strike_index,
67  FT_UInt glyph_index,
68  FT_UInt load_flags,
70  FT_Bitmap *map,
72 
73 
75 
76 #endif /* __TTSBIT_H__ */
77 
78 
79 /* END */
int FT_Error
Definition: fttypes.h:296
GLuint GLuint stream
unsigned long FT_ULong
Definition: fttypes.h:249
#define FT_END_HEADER
Definition: ftheader.h:54
tt_face_set_sbit_strike(TT_Face face, FT_Size_Request req, FT_ULong *astrike_index)
Definition: ttsbit0.c:122
GLenum GLint * range
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)
Definition: ttsbit0.c:983
GLenum GLuint GLint GLenum face
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:235
FT_BEGIN_HEADER tt_face_load_eblc(TT_Face face, FT_Stream stream)
Definition: ttsbit0.c:43
unsigned int FT_UInt
Definition: fttypes.h:227
tt_face_free_eblc(TT_Face face)
Definition: ttsbit0.c:110
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
tt_face_load_strike_metrics(TT_Face face, FT_ULong strike_index, FT_Size_Metrics *metrics)
Definition: ttsbit0.c:131