|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* The FreeType private base classes (specification). */ |
|
|
|
|
/* */ |
|
|
|
|
/* Copyright 1996-2000 by */ |
|
|
|
|
/* Copyright 1996-2001 by */ |
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
|
|
|
|
/* */ |
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */ |
|
|
|
@ -136,7 +136,7 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_Matrix transform_matrix; |
|
|
|
|
FT_Vector transform_delta; |
|
|
|
|
FT_Int transform_flags; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} FT_Face_InternalRec; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -172,9 +172,10 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_Bool glyph_transformed; |
|
|
|
|
FT_Matrix glyph_matrix; |
|
|
|
|
FT_Vector glyph_delta; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} FT_GlyphSlot_InternalRec; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -264,8 +265,9 @@ FT_BEGIN_HEADER |
|
|
|
|
/* You should better be familiar with FreeType internals to know */ |
|
|
|
|
/* which module to look for, and what its interface is :-) */ |
|
|
|
|
/* */ |
|
|
|
|
FT_BASE( const void* ) FT_Get_Module_Interface( FT_Library library, |
|
|
|
|
const char* mod_name ); |
|
|
|
|
FT_BASE( const void* ) |
|
|
|
|
FT_Get_Module_Interface( FT_Library library, |
|
|
|
|
const char* mod_name ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -317,8 +319,9 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* FreeType error code. 0 means success. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( FT_Error ) FT_New_Size( FT_Face face, |
|
|
|
|
FT_Size* size ); |
|
|
|
|
FT_EXPORT( FT_Error ) |
|
|
|
|
FT_New_Size( FT_Face face, |
|
|
|
|
FT_Size* size ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -335,7 +338,8 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* FreeType error code. 0 means success. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( FT_Error ) FT_Done_Size( FT_Size size ); |
|
|
|
|
FT_EXPORT( FT_Error ) |
|
|
|
|
FT_Done_Size( FT_Size size ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -358,8 +362,9 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* FreeType error code. 0 means success. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_BASE( FT_Error ) FT_New_GlyphSlot( FT_Face face, |
|
|
|
|
FT_GlyphSlot *aslot ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_New_GlyphSlot( FT_Face face, |
|
|
|
|
FT_GlyphSlot *aslot ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -375,7 +380,8 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Input> */ |
|
|
|
|
/* slot :: A handle to a target glyph slot. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_BASE( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot ); |
|
|
|
|
FT_BASE( void ) |
|
|
|
|
FT_Done_GlyphSlot( FT_GlyphSlot slot ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -442,33 +448,40 @@ FT_BEGIN_HEADER |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Error ) FT_GlyphLoader_New( FT_Memory memory, |
|
|
|
|
FT_GlyphLoader* *aloader ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_GlyphLoader_New( FT_Memory memory, |
|
|
|
|
FT_GlyphLoader* *aloader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Error ) FT_GlyphLoader_Create_Extra( |
|
|
|
|
FT_GlyphLoader* loader ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_GlyphLoader_Create_Extra( FT_GlyphLoader* loader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( void ) FT_GlyphLoader_Done( FT_GlyphLoader* loader ); |
|
|
|
|
FT_BASE( void ) |
|
|
|
|
FT_GlyphLoader_Done( FT_GlyphLoader* loader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( void ) FT_GlyphLoader_Reset( FT_GlyphLoader* loader ); |
|
|
|
|
FT_BASE( void ) |
|
|
|
|
FT_GlyphLoader_Reset( FT_GlyphLoader* loader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( void ) FT_GlyphLoader_Rewind( FT_GlyphLoader* loader ); |
|
|
|
|
FT_BASE( void ) |
|
|
|
|
FT_GlyphLoader_Rewind( FT_GlyphLoader* loader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Error ) FT_GlyphLoader_Check_Points( |
|
|
|
|
FT_GlyphLoader* loader, |
|
|
|
|
FT_UInt n_points, |
|
|
|
|
FT_UInt n_contours ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_GlyphLoader_Check_Points( FT_GlyphLoader* loader, |
|
|
|
|
FT_UInt n_points, |
|
|
|
|
FT_UInt n_contours ); |
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Error ) FT_GlyphLoader_Check_Subglyphs( |
|
|
|
|
FT_GlyphLoader* loader, |
|
|
|
|
FT_UInt n_subs ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_GlyphLoader_Check_Subglyphs( FT_GlyphLoader* loader, |
|
|
|
|
FT_UInt n_subs ); |
|
|
|
|
|
|
|
|
|
FT_BASE( void ) FT_GlyphLoader_Prepare( FT_GlyphLoader* loader ); |
|
|
|
|
FT_BASE( void ) |
|
|
|
|
FT_GlyphLoader_Prepare( FT_GlyphLoader* loader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( void ) FT_GlyphLoader_Add( FT_GlyphLoader* loader ); |
|
|
|
|
FT_BASE( void ) |
|
|
|
|
FT_GlyphLoader_Add( FT_GlyphLoader* loader ); |
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Error ) FT_GlyphLoader_Copy_Points( FT_GlyphLoader* target, |
|
|
|
|
FT_GlyphLoader* source ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_GlyphLoader_Copy_Points( FT_GlyphLoader* target, |
|
|
|
|
FT_GlyphLoader* source ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -647,18 +660,21 @@ FT_BEGIN_HEADER |
|
|
|
|
} FT_LibraryRec; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Renderer ) FT_Lookup_Renderer( FT_Library library, |
|
|
|
|
FT_Glyph_Format format, |
|
|
|
|
FT_ListNode* node ); |
|
|
|
|
FT_BASE( FT_Renderer ) |
|
|
|
|
FT_Lookup_Renderer( FT_Library library, |
|
|
|
|
FT_Glyph_Format format, |
|
|
|
|
FT_ListNode* node ); |
|
|
|
|
|
|
|
|
|
FT_BASE( FT_Error ) FT_Render_Glyph_Internal( FT_Library library, |
|
|
|
|
FT_GlyphSlot slot, |
|
|
|
|
FT_UInt render_mode ); |
|
|
|
|
FT_BASE( FT_Error ) |
|
|
|
|
FT_Render_Glyph_Internal( FT_Library library, |
|
|
|
|
FT_GlyphSlot slot, |
|
|
|
|
FT_UInt render_mode ); |
|
|
|
|
|
|
|
|
|
typedef FT_Error (*FT_Glyph_Name_Requester)( FT_Face face, |
|
|
|
|
FT_UInt glyph_index, |
|
|
|
|
FT_Pointer buffer, |
|
|
|
|
FT_UInt buffer_max ); |
|
|
|
|
typedef FT_Error |
|
|
|
|
(*FT_Glyph_Name_Requester)( FT_Face face, |
|
|
|
|
FT_UInt glyph_index, |
|
|
|
|
FT_Pointer buffer, |
|
|
|
|
FT_UInt buffer_max ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM |
|
|
|
@ -680,8 +696,9 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* FreeType error code. 0 means success. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( FT_Error ) FT_New_Stream( const char* filepathname, |
|
|
|
|
FT_Stream astream ); |
|
|
|
|
FT_EXPORT( FT_Error ) |
|
|
|
|
FT_New_Stream( const char* filepathname, |
|
|
|
|
FT_Stream astream ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -695,7 +712,8 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Input> */ |
|
|
|
|
/* stream :: The stream to be closed and destroyed. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( void ) FT_Done_Stream( FT_Stream stream ); |
|
|
|
|
FT_EXPORT( void ) |
|
|
|
|
FT_Done_Stream( FT_Stream stream ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -709,7 +727,8 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* A pointer to the new memory object. 0 in case of error. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( FT_Memory ) FT_New_Memory( void ); |
|
|
|
|
FT_EXPORT( FT_Memory ) |
|
|
|
|
FT_New_Memory( void ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -723,7 +742,8 @@ FT_BEGIN_HEADER |
|
|
|
|
/* <Input> */ |
|
|
|
|
/* memory :: A handle to the memory manager. */ |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( void ) FT_Done_Memory( FT_Memory memory ); |
|
|
|
|
FT_EXPORT( void ) |
|
|
|
|
FT_Done_Memory( FT_Memory memory ); |
|
|
|
|
|
|
|
|
|
#endif /* !FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */ |
|
|
|
|
|
|
|
|
|