zenilib: zenilib/jni/external/freetype2/src/sfnt/ttsbit.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
27 FT_BEGIN_HEADER
28
29
30 FT_LOCAL( FT_Error )
31 tt_face_load_eblc( TT_Face face,
32 FT_Stream stream );
33
34 FT_LOCAL( void )
35 tt_face_free_eblc( TT_Face face );
36
37
38 FT_LOCAL( FT_Error )
39 tt_face_set_sbit_strike( TT_Face face,
40 FT_Size_Request req,
41 FT_ULong* astrike_index );
42
43 FT_LOCAL( FT_Error )
44 tt_face_load_strike_metrics( TT_Face face,
45 FT_ULong strike_index,
46 FT_Size_Metrics* metrics );
47
48 #ifdef FT_CONFIG_OPTION_OLD_INTERNALS
49 FT_LOCAL( FT_Error )
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
57 FT_LOCAL( FT_Error )
58 tt_load_sbit_metrics( FT_Stream stream,
59 TT_SBit_Range range,
60 TT_SBit_Metrics metrics );
61
62 #endif /* FT_CONFIG_OPTION_OLD_INTERNALS */
63
64 FT_LOCAL( FT_Error )
65 tt_face_load_sbit_image( TT_Face face,
66 FT_ULong strike_index,
67 FT_UInt glyph_index,
68 FT_UInt load_flags,
69 FT_Stream stream,
70 FT_Bitmap *map,
71 TT_SBit_MetricsRec *metrics );
72
73
74 FT_END_HEADER
75
76 #endif /* __TTSBIT_H__ */
77
78
79 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_ULong
unsigned long FT_ULong
Definition: fttypes.h:249
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
stream
GLuint GLuint stream
Definition: glew.h:6573
metrics
GLuint GLsizei GLsizei GLfloat * metrics
Definition: glew.h:12394
tt_face_set_sbit_strike
tt_face_set_sbit_strike(TT_Face face, FT_Size_Request req, FT_ULong *astrike_index)
Definition: ttsbit0.c:122
tt_face_load_sbit_image
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:985
TT_SBit_RangeRec_
Definition: tttypes.h:589
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
range
GLenum GLint * range
Definition: glew.h:3391
FT_Bitmap_
Definition: ftimage.h:310
face
GLenum face
Definition: gl2ext.h:1490
FT_Size_RequestRec_
Definition: freetype.h:2185
tt_face_load_eblc
FT_BEGIN_HEADER tt_face_load_eblc(TT_Face face, FT_Stream stream)
Definition: ttsbit0.c:43
TT_SBit_StrikeRec_
Definition: tttypes.h:653
TT_SBit_MetricsRec_
Definition: tttypes.h:435
ft2build.h
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
FT_Size_Metrics_
Definition: freetype.h:1360
tt_face_free_eblc
tt_face_free_eblc(TT_Face face)
Definition: ttsbit0.c:110
map
const GLubyte GLuint GLuint GLuint GLuint alpha GLboolean GLboolean GLboolean GLboolean alpha GLint GLint GLsizei GLsizei GLenum type GLenum GLint GLenum GLint GLint GLsizei GLsizei GLint border GLenum GLint GLint GLint GLint GLint GLsizei GLsizei height GLsizei GLsizei GLenum GLenum const GLvoid *pixels GLenum GLint GLint GLint GLint j2 GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLenum GLint *params GLenum GLenum GLint *params GLenum GLenum GLint *params GLenum GLenum GLfloat *params GLenum GLint GLenum GLenum GLvoid *pixels GLenum GLint GLenum GLint *params GLenum GLenum GLint *params GLenum GLsizei const GLvoid *pointer GLenum GLenum const GLint *params GLenum GLfloat GLfloat GLint GLint const GLfloat *points GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat *points GLint GLfloat GLfloat GLint GLfloat GLfloat v2 GLenum GLenum const GLint *params GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum map
Definition: SDL_glfuncs.h:268
FT_StreamRec_
Definition: ftsystem.h:321
TT_FaceRec_
Definition: tttypes.h:1258
ttload.h
tt_face_load_strike_metrics
tt_face_load_strike_metrics(TT_Face face, FT_ULong strike_index, FT_Size_Metrics *metrics)
Definition: ttsbit0.c:131