#include <ft2build.h>
Go to the source code of this file.
|
static FT_Error | _ft_face_scale_advances (FT_Face face, FT_Fixed *advances, FT_UInt count, FT_Int32 flags) |
|
| FT_Get_Advance (FT_Face face, FT_UInt gindex, FT_Int32 flags, FT_Fixed *padvance) |
|
| FT_Get_Advances (FT_Face face, FT_UInt start, FT_UInt count, FT_Int32 flags, FT_Fixed *padvances) |
|
◆ LOAD_ADVANCE_FAST_CHECK
Value:
#define FT_LOAD_TARGET_MODE(x)
#define FT_LOAD_NO_HINTING
Definition at line 67 of file ftadvanc.c.
◆ _ft_face_scale_advances()
Definition at line 27 of file ftadvanc.c.
31 {
34
35
38
40 return FT_THROW( Invalid_Size_Handle );
41
44 else
46
47
48
49
50 for ( nn = 0; nn <
count; nn++ )
52
54 }
#define FT_LOAD_VERTICAL_LAYOUT
FT_MulDiv(FT_Long a, FT_Long b, FT_Long c)
GLuint GLuint GLsizei count
GLenum GLenum GLenum GLenum GLenum scale
GLenum GLuint GLint GLenum face
Referenced by FT_Get_Advance(), and FT_Get_Advances().
◆ FT_Get_Advance()
Definition at line 75 of file ftadvanc.c.
79 {
81
82
84 return FT_THROW( Invalid_Face_Handle );
85
86 if ( !padvance )
88
90 return FT_THROW( Invalid_Glyph_Index );
91
92 func =
face->driver->clazz->get_advances;
94 {
96
97
101
104 }
105
107 }
FT_Get_Advances(FT_Face face, FT_UInt start, FT_UInt count, FT_Int32 flags, FT_Fixed *padvances)
static FT_Error _ft_face_scale_advances(FT_Face face, FT_Fixed *advances, FT_UInt count, FT_Int32 flags)
#define LOAD_ADVANCE_FAST_CHECK(face, flags)
FT_Error(* FT_Face_GetAdvancesFunc)(FT_Face face, FT_UInt first, FT_UInt count, FT_Int32 flags, FT_Fixed *advances)
Referenced by af_shaper_get_elem().
◆ FT_Get_Advances()
Definition at line 113 of file ftadvanc.c.
118 {
120
122
125
126
128 return FT_THROW( Invalid_Face_Handle );
129
130 if ( !padvances )
131 return FT_THROW( Invalid_Argument );
132
136 return FT_THROW( Invalid_Glyph_Index );
137
140
141 func =
face->driver->clazz->get_advances;
143 {
147
150 }
151
153
155 return FT_THROW( Unimplemented_Feature );
156
159 for ( nn = 0; nn <
count; nn++ )
160 {
163 break;
164
165
169 }
170
172 }
FT_Load_Glyph(FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags)
#define FT_LOAD_ADVANCE_ONLY
#define FT_ADVANCE_FLAG_FAST_ONLY
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint factor
Referenced by FT_Get_Advance().