freetype.library: Needs to be arosc relbased for non-reentrant functions
[AROS.git] / workbench / libs / freetype / src / freetype2.conf
blob31b05a675746ec2067783e3f938c6276439d3428
1 ##begin config
2 basename FreeType2
3 version 5.0
4 date 24.08.2013
5 rellib arosc
6 ##end config
7 ##begin cdef
9 #include <diskfont/glyph.h>
10 #include <utility/tagitem.h>
12 #include <ft2build.h>
13 #include FT_FREETYPE_H
14 #include FT_GLYPH_H
15 #include FT_IMAGE_H
16 #include FT_SYSTEM_H
17 #include FT_TYPES_H
18 #include FT_CACHE_H
19 #include FT_CACHE_IMAGE_H
20 #include FT_CACHE_SMALL_BITMAPS_H
21 #include FT_CACHE_CHARMAP_H
22 #include FT_TRIGONOMETRY_H
23 #include FT_MODULE_H
24 #include FT_LIST_H
25 #include FT_TRUETYPE_TABLES_H
27 ##end cdef
28 ## begin functionlist
29 # Make room for bullet.library API
30 struct GlyphEngine * OpenEngine() ()
31 void CloseEngine(struct GlyphEngine *ge) (A0)
32 ULONG SetInfoA(struct GlyphEngine *ge, struct TagItem *tags) (A0,A1)
33 ULONG ObtainInfoA(struct GlyphEngine *ge, struct TagItem *tags) (A0,A1)
34 ULONG ReleaseInfoA(struct GlyphEngine *ge, struct TagItem *tags) (A0,A1)
35 .skip 5
36 FT_Error FT_Init_FreeType(FT_Library *alibrary)
37 FT_Error FT_Done_FreeType(FT_Library library)
38 void FT_Library_Version(FT_Library library, FT_Int *amajor, FT_Int *aminor, FT_Int *apatch)
39 FT_Error FT_New_Face(FT_Library library, const char *pathname, FT_Long face_index, FT_Face *aface)
40 FT_Error FT_Done_Face(FT_Face face)
41 FT_Error FT_New_Memory_Face(FT_Library library, const FT_Byte *file_base, FT_Long file_size, FT_Long face_index, FT_Face *aface)
42 FT_Error FT_Open_Face(FT_Library library, const FT_Open_Args *args, FT_Long face_index, FT_Face *aface)
43 FT_Error FT_Attach_File(FT_Face face, const char *filepathname)
44 FT_Error FT_Attach_Stream(FT_Face face, FT_Open_Args *parameters)
45 FT_Error FT_Set_Char_Size(FT_Face face, FT_F26Dot6 char_width, FT_F26Dot6 char_height, FT_UInt horz_resolution, FT_UInt vert_resolution)
46 FT_Error FT_Set_Pixel_Sizes(FT_Face face, FT_UInt pixel_width, FT_UInt pixel_height)
47 void FT_Set_Transform(FT_Face face, FT_Matrix *matrix, FT_Vector *delta)
48 FT_Error FT_Load_Glyph(FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags)
49 FT_UInt FT_Get_Char_Index(FT_Face face, FT_ULong charcode)
50 FT_UInt FT_Get_Name_Index(FT_Face face, FT_String *glyph_name)
51 FT_Error FT_Load_Char(FT_Face face, FT_ULong char_code, FT_Int32 load_flags)
52 FT_Error FT_Render_Glyph(FT_GlyphSlot slot, FT_Render_Mode render_mode)
53 FT_Error FT_Get_Kerning(FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning)
54 FT_Error FT_Get_Glyph_Name(FT_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max)
55 const char *FT_Get_Postscript_Name(FT_Face face)
56 FT_Error FT_Select_Charmap(FT_Face face, FT_Encoding encoding)
57 FT_Error FT_Set_Charmap(FT_Face face, FT_CharMap charmap)
58 FT_ULong FT_Get_First_Char(FT_Face face, FT_UInt *agindex)
59 FT_ULong FT_Get_Next_Char(FT_Face face, FT_ULong charcode, FT_UInt *agindex)
60 FT_Error FT_Get_Glyph(FT_GlyphSlot slot, FT_Glyph *aglyph)
61 FT_Error FT_Glyph_Copy(FT_Glyph source, FT_Glyph *target)
62 FT_Error FT_Glyph_Transform(FT_Glyph glyph, FT_Matrix *matrix, FT_Vector *delta)
63 void FT_Glyph_Get_CBox(FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox)
64 FT_Error FT_Glyph_To_Bitmap(FT_Glyph *the_glyph, FT_Render_Mode render_mode, FT_Vector *origin, FT_Bool destroy)
65 void FT_Done_Glyph(FT_Glyph glyph)
66 FT_Error FT_New_Size(FT_Face face, FT_Size *asize)
67 FT_Error FT_Done_Size(FT_Size size)
68 FT_Error FT_Activate_Size(FT_Size size)
69 FT_Error FTC_Manager_New(FT_Library library, FT_UInt max_faces, FT_UInt max_sizes, FT_ULong max_bytes, FTC_Face_Requester requester, FT_Pointer req_data, FTC_Manager *amanager)
70 FT_Error FTC_Manager_LookupFace(FTC_Manager manager, FTC_FaceID face_id, FT_Face *aface)
71 FT_Error FTC_Manager_LookupSize(FTC_Manager manager, FTC_Scaler scaler, FT_Size *asize)
72 void FTC_Node_Unref(FTC_Node node, FTC_Manager manager)
73 FT_Error FTC_ImageCache_New(FTC_Manager manager, FTC_ImageCache *acache)
74 FT_Error FTC_ImageCache_Lookup(FTC_ImageCache cache, FTC_ImageType type, FT_UInt gindex, FT_Glyph *aglyph, FTC_Node *anode)
75 FT_Error FTC_SBitCache_New(FTC_Manager manager, FTC_SBitCache *acache)
76 FT_Error FTC_SBitCache_Lookup(FTC_SBitCache cache, FTC_ImageType type, FT_UInt gindex, FTC_SBit *ansbit, FTC_Node *anode)
77 .skip 2
78 void FTC_Manager_Done(FTC_Manager manager)
79 void FTC_Manager_Reset(FTC_Manager manager)
80 FT_Error FTC_CMapCache_New(FTC_Manager manager, FTC_CMapCache *acache)
81 FT_UInt FTC_CMapCache_Lookup(FTC_CMapCache cache, FTC_FaceID face_id, FT_Int cmap_index, FT_UInt32 char_code)
82 .skip 3
83 FT_Long FT_MulDiv(FT_Long a, FT_Long b, FT_Long c)
84 FT_Long FT_MulFix(FT_Long a, FT_Long b)
85 FT_Long FT_DivFix(FT_Long a, FT_Long b)
86 FT_Fixed FT_RoundFix(FT_Fixed a)
87 FT_Fixed FT_CeilFix(FT_Fixed a)
88 FT_Fixed FT_FloorFix(FT_Fixed a)
89 void FT_Vector_Transform(FT_Vector *vector, const FT_Matrix *matrix)
90 void FT_Matrix_Multiply(const FT_Matrix *a, FT_Matrix *b)
91 FT_Error FT_Matrix_Invert(FT_Matrix *matrix)
92 FT_Fixed FT_Sin(FT_Angle angle)
93 FT_Fixed FT_Cos(FT_Angle angle)
94 FT_Fixed FT_Tan(FT_Angle angle)
95 FT_Angle FT_Atan2(FT_Fixed dx, FT_Fixed dy)
96 FT_Angle FT_Angle_Diff(FT_Angle angle1, FT_Angle angle2)
97 void FT_Vector_Unit(FT_Vector *vec, FT_Angle angle)
98 void FT_Vector_Rotate(FT_Vector *vec, FT_Angle angle)
99 FT_Fixed FT_Vector_Length(FT_Vector *vec)
100 # #FT_Vector_Normalize
101 void FT_Vector_Polarize(FT_Vector *vec, FT_Fixed *length, FT_Angle *angle)
102 void FT_Vector_From_Polar(FT_Vector *vec, FT_Fixed length, FT_Angle angle)
103 void FT_List_Add(FT_List list, FT_ListNode node)
104 void FT_List_Insert(FT_List list, FT_ListNode node)
105 FT_ListNode FT_List_Find(FT_List list, void *data)
106 void FT_List_Remove(FT_List list, FT_ListNode node)
107 void FT_List_Up(FT_List list, FT_ListNode node)
108 FT_Error FT_List_Iterate(FT_List list, FT_List_Iterator iterator, void *user)
109 void FT_List_Finalize(FT_List list, FT_List_Destructor destroy, FT_Memory memory, void *user)
110 FT_Error FT_Outline_New(FT_Library library, FT_UInt numPoints, FT_Int numContours, FT_Outline *anoutline)
111 FT_Error FT_Outline_New_Internal(FT_Memory memory, FT_UInt numPoints, FT_Int numContours, FT_Outline *anoutline)
112 FT_Error FT_Outline_Done(FT_Library library, FT_Outline *outline)
113 FT_Error FT_Outline_Done_Internal(FT_Memory memory, FT_Outline *outline)
114 FT_Error FT_Outline_Copy(FT_Outline *source, FT_Outline *target)
115 void FT_Outline_Translate(FT_Outline *outline, FT_Pos xOffset, FT_Pos yOffset)
116 void FT_Outline_Transform(FT_Outline *outline, FT_Matrix *matrix)
117 void FT_Outline_Reverse(FT_Outline *outline)
118 FT_Error FT_Outline_Check(FT_Outline *outline)
119 void FT_Outline_Get_CBox(FT_Outline *outline, FT_BBox *acbox)
120 FT_Error FT_Outline_Get_BBox(FT_Outline *outline, FT_BBox *abbox)
121 FT_Error FT_Outline_Get_Bitmap(FT_Library library, FT_Outline *outline, FT_Bitmap *abitmap)
122 FT_Error FT_Outline_Render(FT_Library library, FT_Outline *outline, FT_Raster_Params *params)
123 FT_Error FT_Outline_Decompose(FT_Outline *outline, const FT_Outline_Funcs *func_interface, void *user)
124 FT_Error FT_Add_Module(FT_Library library, const FT_Module_Class *clazz)
125 FT_Module FT_Get_Module(FT_Library library, const char *module_name)
126 FT_Error FT_Remove_Module(FT_Library library, FT_Module module)
127 FT_Error FT_New_Library(FT_Memory memory, FT_Library *alibrary)
128 FT_Error FT_Done_Library(FT_Library library)
129 void FT_Set_Debug_Hook(FT_Library library, FT_UInt hook_index, FT_DebugHook_Func debug_hook)
130 void FT_Add_Default_Modules(FT_Library library)
131 FT_Renderer FT_Get_Renderer(FT_Library library, FT_Glyph_Format format)
132 FT_Error FT_Set_Renderer(FT_Library library, FT_Renderer renderer, FT_UInt num_params, FT_Parameter *parameters)
133 FT_Error FT_Stream_OpenGzip(FT_Stream stream, FT_Stream source)
134 void *FT_Get_Sfnt_Table(FT_Face face, FT_Sfnt_Tag tag)
135 ## end functionlist