1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gtkc.cairo;
26 
27 private import std.stdio;
28 private import gtkc.cairotypes;
29 private import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_CAIRO = ["libcairo-2.dll"];
33 else version (OSX)
34 	static immutable LIBRARY_CAIRO = ["libcairo.dylib"];
35 else
36 	static immutable LIBRARY_CAIRO = ["libcairo.so.2"];
37 
38 shared static this()
39 {
40 	// cairo.Context
41 
42 	Linker.link(cairo_create, "cairo_create", LIBRARY_CAIRO);
43 	Linker.link(cairo_reference, "cairo_reference", LIBRARY_CAIRO);
44 	Linker.link(cairo_destroy, "cairo_destroy", LIBRARY_CAIRO);
45 	Linker.link(cairo_status, "cairo_status", LIBRARY_CAIRO);
46 	Linker.link(cairo_save, "cairo_save", LIBRARY_CAIRO);
47 	Linker.link(cairo_restore, "cairo_restore", LIBRARY_CAIRO);
48 	Linker.link(cairo_get_target, "cairo_get_target", LIBRARY_CAIRO);
49 	Linker.link(cairo_push_group, "cairo_push_group", LIBRARY_CAIRO);
50 	Linker.link(cairo_push_group_with_content, "cairo_push_group_with_content", LIBRARY_CAIRO);
51 	Linker.link(cairo_pop_group, "cairo_pop_group", LIBRARY_CAIRO);
52 	Linker.link(cairo_pop_group_to_source, "cairo_pop_group_to_source", LIBRARY_CAIRO);
53 	Linker.link(cairo_get_group_target, "cairo_get_group_target", LIBRARY_CAIRO);
54 	Linker.link(cairo_set_source_rgb, "cairo_set_source_rgb", LIBRARY_CAIRO);
55 	Linker.link(cairo_set_source_rgba, "cairo_set_source_rgba", LIBRARY_CAIRO);
56 	Linker.link(cairo_set_source, "cairo_set_source", LIBRARY_CAIRO);
57 	Linker.link(cairo_set_source_surface, "cairo_set_source_surface", LIBRARY_CAIRO);
58 	Linker.link(cairo_get_source, "cairo_get_source", LIBRARY_CAIRO);
59 	Linker.link(cairo_set_antialias, "cairo_set_antialias", LIBRARY_CAIRO);
60 	Linker.link(cairo_get_antialias, "cairo_get_antialias", LIBRARY_CAIRO);
61 	Linker.link(cairo_set_dash, "cairo_set_dash", LIBRARY_CAIRO);
62 	Linker.link(cairo_get_dash_count, "cairo_get_dash_count", LIBRARY_CAIRO);
63 	Linker.link(cairo_get_dash, "cairo_get_dash", LIBRARY_CAIRO);
64 	Linker.link(cairo_set_fill_rule, "cairo_set_fill_rule", LIBRARY_CAIRO);
65 	Linker.link(cairo_get_fill_rule, "cairo_get_fill_rule", LIBRARY_CAIRO);
66 	Linker.link(cairo_set_line_cap, "cairo_set_line_cap", LIBRARY_CAIRO);
67 	Linker.link(cairo_get_line_cap, "cairo_get_line_cap", LIBRARY_CAIRO);
68 	Linker.link(cairo_set_line_join, "cairo_set_line_join", LIBRARY_CAIRO);
69 	Linker.link(cairo_get_line_join, "cairo_get_line_join", LIBRARY_CAIRO);
70 	Linker.link(cairo_set_line_width, "cairo_set_line_width", LIBRARY_CAIRO);
71 	Linker.link(cairo_get_line_width, "cairo_get_line_width", LIBRARY_CAIRO);
72 	Linker.link(cairo_set_miter_limit, "cairo_set_miter_limit", LIBRARY_CAIRO);
73 	Linker.link(cairo_get_miter_limit, "cairo_get_miter_limit", LIBRARY_CAIRO);
74 	Linker.link(cairo_set_operator, "cairo_set_operator", LIBRARY_CAIRO);
75 	Linker.link(cairo_get_operator, "cairo_get_operator", LIBRARY_CAIRO);
76 	Linker.link(cairo_set_tolerance, "cairo_set_tolerance", LIBRARY_CAIRO);
77 	Linker.link(cairo_get_tolerance, "cairo_get_tolerance", LIBRARY_CAIRO);
78 	Linker.link(cairo_clip, "cairo_clip", LIBRARY_CAIRO);
79 	Linker.link(cairo_clip_preserve, "cairo_clip_preserve", LIBRARY_CAIRO);
80 	Linker.link(cairo_clip_extents, "cairo_clip_extents", LIBRARY_CAIRO);
81 	Linker.link(cairo_in_clip, "cairo_in_clip", LIBRARY_CAIRO);
82 	Linker.link(cairo_reset_clip, "cairo_reset_clip", LIBRARY_CAIRO);
83 	Linker.link(cairo_rectangle_list_destroy, "cairo_rectangle_list_destroy", LIBRARY_CAIRO);
84 	Linker.link(cairo_copy_clip_rectangle_list, "cairo_copy_clip_rectangle_list", LIBRARY_CAIRO);
85 	Linker.link(cairo_fill, "cairo_fill", LIBRARY_CAIRO);
86 	Linker.link(cairo_fill_preserve, "cairo_fill_preserve", LIBRARY_CAIRO);
87 	Linker.link(cairo_fill_extents, "cairo_fill_extents", LIBRARY_CAIRO);
88 	Linker.link(cairo_in_fill, "cairo_in_fill", LIBRARY_CAIRO);
89 	Linker.link(cairo_mask, "cairo_mask", LIBRARY_CAIRO);
90 	Linker.link(cairo_mask_surface, "cairo_mask_surface", LIBRARY_CAIRO);
91 	Linker.link(cairo_paint, "cairo_paint", LIBRARY_CAIRO);
92 	Linker.link(cairo_paint_with_alpha, "cairo_paint_with_alpha", LIBRARY_CAIRO);
93 	Linker.link(cairo_stroke, "cairo_stroke", LIBRARY_CAIRO);
94 	Linker.link(cairo_stroke_preserve, "cairo_stroke_preserve", LIBRARY_CAIRO);
95 	Linker.link(cairo_stroke_extents, "cairo_stroke_extents", LIBRARY_CAIRO);
96 	Linker.link(cairo_in_stroke, "cairo_in_stroke", LIBRARY_CAIRO);
97 	Linker.link(cairo_copy_page, "cairo_copy_page", LIBRARY_CAIRO);
98 	Linker.link(cairo_show_page, "cairo_show_page", LIBRARY_CAIRO);
99 	Linker.link(cairo_get_reference_count, "cairo_get_reference_count", LIBRARY_CAIRO);
100 	Linker.link(cairo_set_user_data, "cairo_set_user_data", LIBRARY_CAIRO);
101 	Linker.link(cairo_get_user_data, "cairo_get_user_data", LIBRARY_CAIRO);
102 	Linker.link(cairo_copy_path, "cairo_copy_path", LIBRARY_CAIRO);
103 	Linker.link(cairo_copy_path_flat, "cairo_copy_path_flat", LIBRARY_CAIRO);
104 	Linker.link(cairo_path_destroy, "cairo_path_destroy", LIBRARY_CAIRO);
105 	Linker.link(cairo_append_path, "cairo_append_path", LIBRARY_CAIRO);
106 	Linker.link(cairo_has_current_point, "cairo_has_current_point", LIBRARY_CAIRO);
107 	Linker.link(cairo_get_current_point, "cairo_get_current_point", LIBRARY_CAIRO);
108 	Linker.link(cairo_new_path, "cairo_new_path", LIBRARY_CAIRO);
109 	Linker.link(cairo_new_sub_path, "cairo_new_sub_path", LIBRARY_CAIRO);
110 	Linker.link(cairo_close_path, "cairo_close_path", LIBRARY_CAIRO);
111 	Linker.link(cairo_arc, "cairo_arc", LIBRARY_CAIRO);
112 	Linker.link(cairo_arc_negative, "cairo_arc_negative", LIBRARY_CAIRO);
113 	Linker.link(cairo_curve_to, "cairo_curve_to", LIBRARY_CAIRO);
114 	Linker.link(cairo_line_to, "cairo_line_to", LIBRARY_CAIRO);
115 	Linker.link(cairo_move_to, "cairo_move_to", LIBRARY_CAIRO);
116 	Linker.link(cairo_rectangle, "cairo_rectangle", LIBRARY_CAIRO);
117 	Linker.link(cairo_glyph_path, "cairo_glyph_path", LIBRARY_CAIRO);
118 	Linker.link(cairo_text_path, "cairo_text_path", LIBRARY_CAIRO);
119 	Linker.link(cairo_rel_curve_to, "cairo_rel_curve_to", LIBRARY_CAIRO);
120 	Linker.link(cairo_rel_line_to, "cairo_rel_line_to", LIBRARY_CAIRO);
121 	Linker.link(cairo_rel_move_to, "cairo_rel_move_to", LIBRARY_CAIRO);
122 	Linker.link(cairo_path_extents, "cairo_path_extents", LIBRARY_CAIRO);
123 	Linker.link(cairo_translate, "cairo_translate", LIBRARY_CAIRO);
124 	Linker.link(cairo_scale, "cairo_scale", LIBRARY_CAIRO);
125 	Linker.link(cairo_rotate, "cairo_rotate", LIBRARY_CAIRO);
126 	Linker.link(cairo_transform, "cairo_transform", LIBRARY_CAIRO);
127 	Linker.link(cairo_set_matrix, "cairo_set_matrix", LIBRARY_CAIRO);
128 	Linker.link(cairo_get_matrix, "cairo_get_matrix", LIBRARY_CAIRO);
129 	Linker.link(cairo_identity_matrix, "cairo_identity_matrix", LIBRARY_CAIRO);
130 	Linker.link(cairo_user_to_device, "cairo_user_to_device", LIBRARY_CAIRO);
131 	Linker.link(cairo_user_to_device_distance, "cairo_user_to_device_distance", LIBRARY_CAIRO);
132 	Linker.link(cairo_device_to_user, "cairo_device_to_user", LIBRARY_CAIRO);
133 	Linker.link(cairo_device_to_user_distance, "cairo_device_to_user_distance", LIBRARY_CAIRO);
134 	Linker.link(cairo_select_font_face, "cairo_select_font_face", LIBRARY_CAIRO);
135 	Linker.link(cairo_set_font_size, "cairo_set_font_size", LIBRARY_CAIRO);
136 	Linker.link(cairo_set_font_matrix, "cairo_set_font_matrix", LIBRARY_CAIRO);
137 	Linker.link(cairo_get_font_matrix, "cairo_get_font_matrix", LIBRARY_CAIRO);
138 	Linker.link(cairo_set_font_options, "cairo_set_font_options", LIBRARY_CAIRO);
139 	Linker.link(cairo_get_font_options, "cairo_get_font_options", LIBRARY_CAIRO);
140 	Linker.link(cairo_set_font_face, "cairo_set_font_face", LIBRARY_CAIRO);
141 	Linker.link(cairo_get_font_face, "cairo_get_font_face", LIBRARY_CAIRO);
142 	Linker.link(cairo_set_scaled_font, "cairo_set_scaled_font", LIBRARY_CAIRO);
143 	Linker.link(cairo_get_scaled_font, "cairo_get_scaled_font", LIBRARY_CAIRO);
144 	Linker.link(cairo_show_text, "cairo_show_text", LIBRARY_CAIRO);
145 	Linker.link(cairo_show_glyphs, "cairo_show_glyphs", LIBRARY_CAIRO);
146 	Linker.link(cairo_show_text_glyphs, "cairo_show_text_glyphs", LIBRARY_CAIRO);
147 	Linker.link(cairo_font_extents, "cairo_font_extents", LIBRARY_CAIRO);
148 	Linker.link(cairo_text_extents, "cairo_text_extents", LIBRARY_CAIRO);
149 	Linker.link(cairo_glyph_extents, "cairo_glyph_extents", LIBRARY_CAIRO);
150 	Linker.link(cairo_toy_font_face_create, "cairo_toy_font_face_create", LIBRARY_CAIRO);
151 	Linker.link(cairo_toy_font_face_get_family, "cairo_toy_font_face_get_family", LIBRARY_CAIRO);
152 	Linker.link(cairo_toy_font_face_get_slant, "cairo_toy_font_face_get_slant", LIBRARY_CAIRO);
153 	Linker.link(cairo_toy_font_face_get_weight, "cairo_toy_font_face_get_weight", LIBRARY_CAIRO);
154 	Linker.link(cairo_glyph_allocate, "cairo_glyph_allocate", LIBRARY_CAIRO);
155 	Linker.link(cairo_glyph_free, "cairo_glyph_free", LIBRARY_CAIRO);
156 	Linker.link(cairo_text_cluster_allocate, "cairo_text_cluster_allocate", LIBRARY_CAIRO);
157 	Linker.link(cairo_text_cluster_free, "cairo_text_cluster_free", LIBRARY_CAIRO);
158 
159 	// cairo.Pattern
160 
161 	Linker.link(cairo_pattern_add_color_stop_rgb, "cairo_pattern_add_color_stop_rgb", LIBRARY_CAIRO);
162 	Linker.link(cairo_pattern_add_color_stop_rgba, "cairo_pattern_add_color_stop_rgba", LIBRARY_CAIRO);
163 	Linker.link(cairo_pattern_get_color_stop_count, "cairo_pattern_get_color_stop_count", LIBRARY_CAIRO);
164 	Linker.link(cairo_pattern_get_color_stop_rgba, "cairo_pattern_get_color_stop_rgba", LIBRARY_CAIRO);
165 	Linker.link(cairo_pattern_create_rgb, "cairo_pattern_create_rgb", LIBRARY_CAIRO);
166 	Linker.link(cairo_pattern_create_rgba, "cairo_pattern_create_rgba", LIBRARY_CAIRO);
167 	Linker.link(cairo_pattern_get_rgba, "cairo_pattern_get_rgba", LIBRARY_CAIRO);
168 	Linker.link(cairo_pattern_create_for_surface, "cairo_pattern_create_for_surface", LIBRARY_CAIRO);
169 	Linker.link(cairo_pattern_get_surface, "cairo_pattern_get_surface", LIBRARY_CAIRO);
170 	Linker.link(cairo_pattern_create_linear, "cairo_pattern_create_linear", LIBRARY_CAIRO);
171 	Linker.link(cairo_pattern_get_linear_points, "cairo_pattern_get_linear_points", LIBRARY_CAIRO);
172 	Linker.link(cairo_pattern_create_radial, "cairo_pattern_create_radial", LIBRARY_CAIRO);
173 	Linker.link(cairo_pattern_get_radial_circles, "cairo_pattern_get_radial_circles", LIBRARY_CAIRO);
174 	Linker.link(cairo_pattern_create_mesh, "cairo_pattern_create_mesh", LIBRARY_CAIRO);
175 	Linker.link(cairo_pattern_reference, "cairo_pattern_reference", LIBRARY_CAIRO);
176 	Linker.link(cairo_pattern_destroy, "cairo_pattern_destroy", LIBRARY_CAIRO);
177 	Linker.link(cairo_pattern_status, "cairo_pattern_status", LIBRARY_CAIRO);
178 	Linker.link(cairo_pattern_set_extend, "cairo_pattern_set_extend", LIBRARY_CAIRO);
179 	Linker.link(cairo_pattern_get_extend, "cairo_pattern_get_extend", LIBRARY_CAIRO);
180 	Linker.link(cairo_pattern_set_filter, "cairo_pattern_set_filter", LIBRARY_CAIRO);
181 	Linker.link(cairo_pattern_get_filter, "cairo_pattern_get_filter", LIBRARY_CAIRO);
182 	Linker.link(cairo_pattern_set_matrix, "cairo_pattern_set_matrix", LIBRARY_CAIRO);
183 	Linker.link(cairo_pattern_get_matrix, "cairo_pattern_get_matrix", LIBRARY_CAIRO);
184 	Linker.link(cairo_pattern_get_type, "cairo_pattern_get_type", LIBRARY_CAIRO);
185 	Linker.link(cairo_pattern_get_reference_count, "cairo_pattern_get_reference_count", LIBRARY_CAIRO);
186 	Linker.link(cairo_pattern_set_user_data, "cairo_pattern_set_user_data", LIBRARY_CAIRO);
187 	Linker.link(cairo_pattern_get_user_data, "cairo_pattern_get_user_data", LIBRARY_CAIRO);
188 
189 	// cairo.MeshPattern
190 
191 	Linker.link(cairo_mesh_pattern_begin_patch, "cairo_mesh_pattern_begin_patch", LIBRARY_CAIRO);
192 	Linker.link(cairo_mesh_pattern_end_patch, "cairo_mesh_pattern_end_patch", LIBRARY_CAIRO);
193 	Linker.link(cairo_mesh_pattern_move_to, "cairo_mesh_pattern_move_to", LIBRARY_CAIRO);
194 	Linker.link(cairo_mesh_pattern_line_to, "cairo_mesh_pattern_line_to", LIBRARY_CAIRO);
195 	Linker.link(cairo_mesh_pattern_curve_to, "cairo_mesh_pattern_curve_to", LIBRARY_CAIRO);
196 	Linker.link(cairo_mesh_pattern_set_control_point, "cairo_mesh_pattern_set_control_point", LIBRARY_CAIRO);
197 	Linker.link(cairo_mesh_pattern_set_corner_color_rgb, "cairo_mesh_pattern_set_corner_color_rgb", LIBRARY_CAIRO);
198 	Linker.link(cairo_mesh_pattern_set_corner_color_rgba, "cairo_mesh_pattern_set_corner_color_rgba", LIBRARY_CAIRO);
199 	Linker.link(cairo_mesh_pattern_get_patch_count, "cairo_mesh_pattern_get_patch_count", LIBRARY_CAIRO);
200 	Linker.link(cairo_mesh_pattern_get_path, "cairo_mesh_pattern_get_path", LIBRARY_CAIRO);
201 	Linker.link(cairo_mesh_pattern_get_control_point, "cairo_mesh_pattern_get_control_point", LIBRARY_CAIRO);
202 	Linker.link(cairo_mesh_pattern_get_corner_color_rgba, "cairo_mesh_pattern_get_corner_color_rgba", LIBRARY_CAIRO);
203 
204 	// cairo.Region
205 
206 	Linker.link(cairo_region_create, "cairo_region_create", LIBRARY_CAIRO);
207 	Linker.link(cairo_region_create_rectangle, "cairo_region_create_rectangle", LIBRARY_CAIRO);
208 	Linker.link(cairo_region_create_rectangles, "cairo_region_create_rectangles", LIBRARY_CAIRO);
209 	Linker.link(cairo_region_copy, "cairo_region_copy", LIBRARY_CAIRO);
210 	Linker.link(cairo_region_reference, "cairo_region_reference", LIBRARY_CAIRO);
211 	Linker.link(cairo_region_destroy, "cairo_region_destroy", LIBRARY_CAIRO);
212 	Linker.link(cairo_region_status, "cairo_region_status", LIBRARY_CAIRO);
213 	Linker.link(cairo_region_get_extents, "cairo_region_get_extents", LIBRARY_CAIRO);
214 	Linker.link(cairo_region_num_rectangles, "cairo_region_num_rectangles", LIBRARY_CAIRO);
215 	Linker.link(cairo_region_get_rectangle, "cairo_region_get_rectangle", LIBRARY_CAIRO);
216 	Linker.link(cairo_region_is_empty, "cairo_region_is_empty", LIBRARY_CAIRO);
217 	Linker.link(cairo_region_contains_point, "cairo_region_contains_point", LIBRARY_CAIRO);
218 	Linker.link(cairo_region_contains_rectangle, "cairo_region_contains_rectangle", LIBRARY_CAIRO);
219 	Linker.link(cairo_region_equal, "cairo_region_equal", LIBRARY_CAIRO);
220 	Linker.link(cairo_region_translate, "cairo_region_translate", LIBRARY_CAIRO);
221 	Linker.link(cairo_region_intersect, "cairo_region_intersect", LIBRARY_CAIRO);
222 	Linker.link(cairo_region_intersect_rectangle, "cairo_region_intersect_rectangle", LIBRARY_CAIRO);
223 	Linker.link(cairo_region_subtract, "cairo_region_subtract", LIBRARY_CAIRO);
224 	Linker.link(cairo_region_subtract_rectangle, "cairo_region_subtract_rectangle", LIBRARY_CAIRO);
225 	Linker.link(cairo_region_union, "cairo_region_union", LIBRARY_CAIRO);
226 	Linker.link(cairo_region_union_rectangle, "cairo_region_union_rectangle", LIBRARY_CAIRO);
227 	Linker.link(cairo_region_xor, "cairo_region_xor", LIBRARY_CAIRO);
228 	Linker.link(cairo_region_xor_rectangle, "cairo_region_xor_rectangle", LIBRARY_CAIRO);
229 
230 	// cairo.RasterSource
231 
232 	Linker.link(cairo_pattern_create_raster_source, "cairo_pattern_create_raster_source", LIBRARY_CAIRO);
233 	Linker.link(cairo_raster_source_pattern_set_callback_data, "cairo_raster_source_pattern_set_callback_data", LIBRARY_CAIRO);
234 	Linker.link(cairo_raster_source_pattern_get_callback_data, "cairo_raster_source_pattern_get_callback_data", LIBRARY_CAIRO);
235 	Linker.link(cairo_raster_source_pattern_set_acquire, "cairo_raster_source_pattern_set_acquire", LIBRARY_CAIRO);
236 	Linker.link(cairo_raster_source_pattern_get_acquire, "cairo_raster_source_pattern_get_acquire", LIBRARY_CAIRO);
237 	Linker.link(cairo_raster_source_pattern_set_snapshot, "cairo_raster_source_pattern_set_snapshot", LIBRARY_CAIRO);
238 	Linker.link(cairo_raster_source_pattern_get_snapshot, "cairo_raster_source_pattern_get_snapshot", LIBRARY_CAIRO);
239 	Linker.link(cairo_raster_source_pattern_set_copy, "cairo_raster_source_pattern_set_copy", LIBRARY_CAIRO);
240 	Linker.link(cairo_raster_source_pattern_get_copy, "cairo_raster_source_pattern_get_copy", LIBRARY_CAIRO);
241 	Linker.link(cairo_raster_source_pattern_set_finish, "cairo_raster_source_pattern_set_finish", LIBRARY_CAIRO);
242 	Linker.link(cairo_raster_source_pattern_get_finish, "cairo_raster_source_pattern_get_finish", LIBRARY_CAIRO);
243 
244 	// cairo.FontFace
245 
246 	Linker.link(cairo_font_face_reference, "cairo_font_face_reference", LIBRARY_CAIRO);
247 	Linker.link(cairo_font_face_destroy, "cairo_font_face_destroy", LIBRARY_CAIRO);
248 	Linker.link(cairo_font_face_status, "cairo_font_face_status", LIBRARY_CAIRO);
249 	Linker.link(cairo_font_face_get_type, "cairo_font_face_get_type", LIBRARY_CAIRO);
250 	Linker.link(cairo_font_face_get_reference_count, "cairo_font_face_get_reference_count", LIBRARY_CAIRO);
251 	Linker.link(cairo_font_face_set_user_data, "cairo_font_face_set_user_data", LIBRARY_CAIRO);
252 	Linker.link(cairo_font_face_get_user_data, "cairo_font_face_get_user_data", LIBRARY_CAIRO);
253 
254 	// cairo.ScaledFont
255 
256 	Linker.link(cairo_scaled_font_create, "cairo_scaled_font_create", LIBRARY_CAIRO);
257 	Linker.link(cairo_scaled_font_reference, "cairo_scaled_font_reference", LIBRARY_CAIRO);
258 	Linker.link(cairo_scaled_font_destroy, "cairo_scaled_font_destroy", LIBRARY_CAIRO);
259 	Linker.link(cairo_scaled_font_status, "cairo_scaled_font_status", LIBRARY_CAIRO);
260 	Linker.link(cairo_scaled_font_extents, "cairo_scaled_font_extents", LIBRARY_CAIRO);
261 	Linker.link(cairo_scaled_font_text_extents, "cairo_scaled_font_text_extents", LIBRARY_CAIRO);
262 	Linker.link(cairo_scaled_font_glyph_extents, "cairo_scaled_font_glyph_extents", LIBRARY_CAIRO);
263 	Linker.link(cairo_scaled_font_text_to_glyphs, "cairo_scaled_font_text_to_glyphs", LIBRARY_CAIRO);
264 	Linker.link(cairo_scaled_font_get_font_face, "cairo_scaled_font_get_font_face", LIBRARY_CAIRO);
265 	Linker.link(cairo_scaled_font_get_font_options, "cairo_scaled_font_get_font_options", LIBRARY_CAIRO);
266 	Linker.link(cairo_scaled_font_get_font_matrix, "cairo_scaled_font_get_font_matrix", LIBRARY_CAIRO);
267 	Linker.link(cairo_scaled_font_get_ctm, "cairo_scaled_font_get_ctm", LIBRARY_CAIRO);
268 	Linker.link(cairo_scaled_font_get_scale_matrix, "cairo_scaled_font_get_scale_matrix", LIBRARY_CAIRO);
269 	Linker.link(cairo_scaled_font_get_type, "cairo_scaled_font_get_type", LIBRARY_CAIRO);
270 	Linker.link(cairo_scaled_font_get_reference_count, "cairo_scaled_font_get_reference_count", LIBRARY_CAIRO);
271 	Linker.link(cairo_scaled_font_set_user_data, "cairo_scaled_font_set_user_data", LIBRARY_CAIRO);
272 	Linker.link(cairo_scaled_font_get_user_data, "cairo_scaled_font_get_user_data", LIBRARY_CAIRO);
273 
274 	// cairo.FontOption
275 
276 	Linker.link(cairo_font_options_create, "cairo_font_options_create", LIBRARY_CAIRO);
277 	Linker.link(cairo_font_options_copy, "cairo_font_options_copy", LIBRARY_CAIRO);
278 	Linker.link(cairo_font_options_destroy, "cairo_font_options_destroy", LIBRARY_CAIRO);
279 	Linker.link(cairo_font_options_status, "cairo_font_options_status", LIBRARY_CAIRO);
280 	Linker.link(cairo_font_options_merge, "cairo_font_options_merge", LIBRARY_CAIRO);
281 	Linker.link(cairo_font_options_hash, "cairo_font_options_hash", LIBRARY_CAIRO);
282 	Linker.link(cairo_font_options_equal, "cairo_font_options_equal", LIBRARY_CAIRO);
283 	Linker.link(cairo_font_options_set_antialias, "cairo_font_options_set_antialias", LIBRARY_CAIRO);
284 	Linker.link(cairo_font_options_get_antialias, "cairo_font_options_get_antialias", LIBRARY_CAIRO);
285 	Linker.link(cairo_font_options_set_subpixel_order, "cairo_font_options_set_subpixel_order", LIBRARY_CAIRO);
286 	Linker.link(cairo_font_options_get_subpixel_order, "cairo_font_options_get_subpixel_order", LIBRARY_CAIRO);
287 	Linker.link(cairo_font_options_set_hint_style, "cairo_font_options_set_hint_style", LIBRARY_CAIRO);
288 	Linker.link(cairo_font_options_get_hint_style, "cairo_font_options_get_hint_style", LIBRARY_CAIRO);
289 	Linker.link(cairo_font_options_set_hint_metrics, "cairo_font_options_set_hint_metrics", LIBRARY_CAIRO);
290 	Linker.link(cairo_font_options_get_hint_metrics, "cairo_font_options_get_hint_metrics", LIBRARY_CAIRO);
291 
292 	// cairo.UserFontFace
293 
294 	Linker.link(cairo_user_font_face_create, "cairo_user_font_face_create", LIBRARY_CAIRO);
295 	Linker.link(cairo_user_font_face_set_init_func, "cairo_user_font_face_set_init_func", LIBRARY_CAIRO);
296 	Linker.link(cairo_user_font_face_get_init_func, "cairo_user_font_face_get_init_func", LIBRARY_CAIRO);
297 	Linker.link(cairo_user_font_face_set_render_glyph_func, "cairo_user_font_face_set_render_glyph_func", LIBRARY_CAIRO);
298 	Linker.link(cairo_user_font_face_get_render_glyph_func, "cairo_user_font_face_get_render_glyph_func", LIBRARY_CAIRO);
299 	Linker.link(cairo_user_font_face_set_unicode_to_glyph_func, "cairo_user_font_face_set_unicode_to_glyph_func", LIBRARY_CAIRO);
300 	Linker.link(cairo_user_font_face_get_unicode_to_glyph_func, "cairo_user_font_face_get_unicode_to_glyph_func", LIBRARY_CAIRO);
301 	Linker.link(cairo_user_font_face_set_text_to_glyphs_func, "cairo_user_font_face_set_text_to_glyphs_func", LIBRARY_CAIRO);
302 	Linker.link(cairo_user_font_face_get_text_to_glyphs_func, "cairo_user_font_face_get_text_to_glyphs_func", LIBRARY_CAIRO);
303 
304 	// cairo.Device
305 
306 	Linker.link(cairo_device_reference, "cairo_device_reference", LIBRARY_CAIRO);
307 	Linker.link(cairo_device_destroy, "cairo_device_destroy", LIBRARY_CAIRO);
308 	Linker.link(cairo_device_status, "cairo_device_status", LIBRARY_CAIRO);
309 	Linker.link(cairo_device_finish, "cairo_device_finish", LIBRARY_CAIRO);
310 	Linker.link(cairo_device_flush, "cairo_device_flush", LIBRARY_CAIRO);
311 	Linker.link(cairo_device_get_type, "cairo_device_get_type", LIBRARY_CAIRO);
312 	Linker.link(cairo_device_get_reference_count, "cairo_device_get_reference_count", LIBRARY_CAIRO);
313 	Linker.link(cairo_device_set_user_data, "cairo_device_set_user_data", LIBRARY_CAIRO);
314 	Linker.link(cairo_device_get_user_data, "cairo_device_get_user_data", LIBRARY_CAIRO);
315 	Linker.link(cairo_device_acquire, "cairo_device_acquire", LIBRARY_CAIRO);
316 	Linker.link(cairo_device_release, "cairo_device_release", LIBRARY_CAIRO);
317 
318 	// cairo.Surface
319 
320 	Linker.link(cairo_surface_create_similar, "cairo_surface_create_similar", LIBRARY_CAIRO);
321 	Linker.link(cairo_surface_create_similar_image, "cairo_surface_create_similar_image", LIBRARY_CAIRO);
322 	Linker.link(cairo_surface_create_for_rectangle, "cairo_surface_create_for_rectangle", LIBRARY_CAIRO);
323 	Linker.link(cairo_surface_reference, "cairo_surface_reference", LIBRARY_CAIRO);
324 	Linker.link(cairo_surface_destroy, "cairo_surface_destroy", LIBRARY_CAIRO);
325 	Linker.link(cairo_surface_status, "cairo_surface_status", LIBRARY_CAIRO);
326 	Linker.link(cairo_surface_finish, "cairo_surface_finish", LIBRARY_CAIRO);
327 	Linker.link(cairo_surface_flush, "cairo_surface_flush", LIBRARY_CAIRO);
328 	Linker.link(cairo_surface_get_device, "cairo_surface_get_device", LIBRARY_CAIRO);
329 	Linker.link(cairo_surface_get_font_options, "cairo_surface_get_font_options", LIBRARY_CAIRO);
330 	Linker.link(cairo_surface_get_content, "cairo_surface_get_content", LIBRARY_CAIRO);
331 	Linker.link(cairo_surface_mark_dirty, "cairo_surface_mark_dirty", LIBRARY_CAIRO);
332 	Linker.link(cairo_surface_mark_dirty_rectangle, "cairo_surface_mark_dirty_rectangle", LIBRARY_CAIRO);
333 	Linker.link(cairo_surface_set_device_offset, "cairo_surface_set_device_offset", LIBRARY_CAIRO);
334 	Linker.link(cairo_surface_get_device_offset, "cairo_surface_get_device_offset", LIBRARY_CAIRO);
335 	Linker.link(cairo_surface_set_fallback_resolution, "cairo_surface_set_fallback_resolution", LIBRARY_CAIRO);
336 	Linker.link(cairo_surface_get_fallback_resolution, "cairo_surface_get_fallback_resolution", LIBRARY_CAIRO);
337 	Linker.link(cairo_surface_get_type, "cairo_surface_get_type", LIBRARY_CAIRO);
338 	Linker.link(cairo_surface_get_reference_count, "cairo_surface_get_reference_count", LIBRARY_CAIRO);
339 	Linker.link(cairo_surface_set_user_data, "cairo_surface_set_user_data", LIBRARY_CAIRO);
340 	Linker.link(cairo_surface_get_user_data, "cairo_surface_get_user_data", LIBRARY_CAIRO);
341 	Linker.link(cairo_surface_copy_page, "cairo_surface_copy_page", LIBRARY_CAIRO);
342 	Linker.link(cairo_surface_show_page, "cairo_surface_show_page", LIBRARY_CAIRO);
343 	Linker.link(cairo_surface_has_show_text_glyphs, "cairo_surface_has_show_text_glyphs", LIBRARY_CAIRO);
344 	Linker.link(cairo_surface_set_mime_data, "cairo_surface_set_mime_data", LIBRARY_CAIRO);
345 	Linker.link(cairo_surface_get_mime_data, "cairo_surface_get_mime_data", LIBRARY_CAIRO);
346 	Linker.link(cairo_surface_supports_mime_type, "cairo_surface_supports_mime_type", LIBRARY_CAIRO);
347 	Linker.link(cairo_surface_map_to_image, "cairo_surface_map_to_image", LIBRARY_CAIRO);
348 	Linker.link(cairo_surface_unmap_image, "cairo_surface_unmap_image", LIBRARY_CAIRO);
349 
350 	// cairo.ImageSurface
351 
352 	Linker.link(cairo_format_stride_for_width, "cairo_format_stride_for_width", LIBRARY_CAIRO);
353 	Linker.link(cairo_image_surface_create, "cairo_image_surface_create", LIBRARY_CAIRO);
354 	Linker.link(cairo_image_surface_create_for_data, "cairo_image_surface_create_for_data", LIBRARY_CAIRO);
355 	Linker.link(cairo_image_surface_get_data, "cairo_image_surface_get_data", LIBRARY_CAIRO);
356 	Linker.link(cairo_image_surface_get_format, "cairo_image_surface_get_format", LIBRARY_CAIRO);
357 	Linker.link(cairo_image_surface_get_width, "cairo_image_surface_get_width", LIBRARY_CAIRO);
358 	Linker.link(cairo_image_surface_get_height, "cairo_image_surface_get_height", LIBRARY_CAIRO);
359 	Linker.link(cairo_image_surface_get_stride, "cairo_image_surface_get_stride", LIBRARY_CAIRO);
360 	Linker.link(cairo_image_surface_create_from_png, "cairo_image_surface_create_from_png", LIBRARY_CAIRO);
361 	Linker.link(cairo_image_surface_create_from_png_stream, "cairo_image_surface_create_from_png_stream", LIBRARY_CAIRO);
362 	Linker.link(cairo_surface_write_to_png, "cairo_surface_write_to_png", LIBRARY_CAIRO);
363 	Linker.link(cairo_surface_write_to_png_stream, "cairo_surface_write_to_png_stream", LIBRARY_CAIRO);
364 
365 	// cairo.PdfSurface
366 
367 	Linker.link(cairo_pdf_surface_create, "cairo_pdf_surface_create", LIBRARY_CAIRO);
368 	Linker.link(cairo_pdf_surface_create_for_stream, "cairo_pdf_surface_create_for_stream", LIBRARY_CAIRO);
369 	Linker.link(cairo_pdf_surface_restrict_to_version, "cairo_pdf_surface_restrict_to_version", LIBRARY_CAIRO);
370 	Linker.link(cairo_pdf_get_versions, "cairo_pdf_get_versions", LIBRARY_CAIRO);
371 	Linker.link(cairo_pdf_version_to_string, "cairo_pdf_version_to_string", LIBRARY_CAIRO);
372 	Linker.link(cairo_pdf_surface_set_size, "cairo_pdf_surface_set_size", LIBRARY_CAIRO);
373 
374 	// cairo.PostScriptSurface
375 
376 	Linker.link(cairo_ps_surface_create, "cairo_ps_surface_create", LIBRARY_CAIRO);
377 	Linker.link(cairo_ps_surface_create_for_stream, "cairo_ps_surface_create_for_stream", LIBRARY_CAIRO);
378 	Linker.link(cairo_ps_surface_restrict_to_level, "cairo_ps_surface_restrict_to_level", LIBRARY_CAIRO);
379 	Linker.link(cairo_ps_get_levels, "cairo_ps_get_levels", LIBRARY_CAIRO);
380 	Linker.link(cairo_ps_level_to_string, "cairo_ps_level_to_string", LIBRARY_CAIRO);
381 	Linker.link(cairo_ps_surface_set_eps, "cairo_ps_surface_set_eps", LIBRARY_CAIRO);
382 	Linker.link(cairo_ps_surface_get_eps, "cairo_ps_surface_get_eps", LIBRARY_CAIRO);
383 	Linker.link(cairo_ps_surface_set_size, "cairo_ps_surface_set_size", LIBRARY_CAIRO);
384 	Linker.link(cairo_ps_surface_dsc_begin_setup, "cairo_ps_surface_dsc_begin_setup", LIBRARY_CAIRO);
385 	Linker.link(cairo_ps_surface_dsc_begin_page_setup, "cairo_ps_surface_dsc_begin_page_setup", LIBRARY_CAIRO);
386 	Linker.link(cairo_ps_surface_dsc_comment, "cairo_ps_surface_dsc_comment", LIBRARY_CAIRO);
387 
388 	// cairo.RecordingSurface
389 
390 	Linker.link(cairo_recording_surface_create, "cairo_recording_surface_create", LIBRARY_CAIRO);
391 	Linker.link(cairo_recording_surface_ink_extents, "cairo_recording_surface_ink_extents", LIBRARY_CAIRO);
392 	Linker.link(cairo_recording_surface_get_extents, "cairo_recording_surface_get_extents", LIBRARY_CAIRO);
393 
394 	// cairo.SvgSurface
395 
396 	Linker.link(cairo_svg_surface_create, "cairo_svg_surface_create", LIBRARY_CAIRO);
397 	Linker.link(cairo_svg_surface_create_for_stream, "cairo_svg_surface_create_for_stream", LIBRARY_CAIRO);
398 	Linker.link(cairo_svg_surface_restrict_to_version, "cairo_svg_surface_restrict_to_version", LIBRARY_CAIRO);
399 	Linker.link(cairo_svg_get_versions, "cairo_svg_get_versions", LIBRARY_CAIRO);
400 	Linker.link(cairo_svg_version_to_string, "cairo_svg_version_to_string", LIBRARY_CAIRO);
401 
402 	// cairo.Script
403 
404 	Linker.link(cairo_script_create, "cairo_script_create", LIBRARY_CAIRO);
405 	Linker.link(cairo_script_create_for_stream, "cairo_script_create_for_stream", LIBRARY_CAIRO);
406 	Linker.link(cairo_script_from_recording_surface, "cairo_script_from_recording_surface", LIBRARY_CAIRO);
407 	Linker.link(cairo_script_get_mode, "cairo_script_get_mode", LIBRARY_CAIRO);
408 	Linker.link(cairo_script_set_mode, "cairo_script_set_mode", LIBRARY_CAIRO);
409 	Linker.link(cairo_script_write_comment, "cairo_script_write_comment", LIBRARY_CAIRO);
410 
411 	// cairo.ScriptSurface
412 
413 	Linker.link(cairo_script_surface_create, "cairo_script_surface_create", LIBRARY_CAIRO);
414 	Linker.link(cairo_script_surface_create_for_target, "cairo_script_surface_create_for_target", LIBRARY_CAIRO);
415 
416 	// cairo.Matrix
417 
418 	Linker.link(cairo_matrix_init, "cairo_matrix_init", LIBRARY_CAIRO);
419 	Linker.link(cairo_matrix_init_identity, "cairo_matrix_init_identity", LIBRARY_CAIRO);
420 	Linker.link(cairo_matrix_init_translate, "cairo_matrix_init_translate", LIBRARY_CAIRO);
421 	Linker.link(cairo_matrix_init_scale, "cairo_matrix_init_scale", LIBRARY_CAIRO);
422 	Linker.link(cairo_matrix_init_rotate, "cairo_matrix_init_rotate", LIBRARY_CAIRO);
423 	Linker.link(cairo_matrix_translate, "cairo_matrix_translate", LIBRARY_CAIRO);
424 	Linker.link(cairo_matrix_scale, "cairo_matrix_scale", LIBRARY_CAIRO);
425 	Linker.link(cairo_matrix_rotate, "cairo_matrix_rotate", LIBRARY_CAIRO);
426 	Linker.link(cairo_matrix_invert, "cairo_matrix_invert", LIBRARY_CAIRO);
427 	Linker.link(cairo_matrix_multiply, "cairo_matrix_multiply", LIBRARY_CAIRO);
428 	Linker.link(cairo_matrix_transform_distance, "cairo_matrix_transform_distance", LIBRARY_CAIRO);
429 	Linker.link(cairo_matrix_transform_point, "cairo_matrix_transform_point", LIBRARY_CAIRO);
430 
431 	// cairo.Status
432 
433 	Linker.link(cairo_status_to_string, "cairo_status_to_string", LIBRARY_CAIRO);
434 	Linker.link(cairo_debug_reset_static_data, "cairo_debug_reset_static_data", LIBRARY_CAIRO);
435 
436 	// cairo.Version
437 
438 	Linker.link(cairo_version, "cairo_version", LIBRARY_CAIRO);
439 	Linker.link(cairo_version_string, "cairo_version_string", LIBRARY_CAIRO);
440 
441 	// cairo.
442 
443 }
444 
445 __gshared extern(C)
446 {
447 	// cairo.Context
448 
449 	cairo_t* function(cairo_surface_t* target) c_cairo_create;
450 	cairo_t* function(cairo_t* cr) c_cairo_reference;
451 	void function(cairo_t* cr) c_cairo_destroy;
452 	cairo_status_t function(cairo_t* cr) c_cairo_status;
453 	void function(cairo_t* cr) c_cairo_save;
454 	void function(cairo_t* cr) c_cairo_restore;
455 	cairo_surface_t* function(cairo_t* cr) c_cairo_get_target;
456 	void function(cairo_t* cr) c_cairo_push_group;
457 	void function(cairo_t* cr, cairo_content_t content) c_cairo_push_group_with_content;
458 	cairo_pattern_t* function(cairo_t* cr) c_cairo_pop_group;
459 	void function(cairo_t* cr) c_cairo_pop_group_to_source;
460 	cairo_surface_t* function(cairo_t* cr) c_cairo_get_group_target;
461 	void function(cairo_t* cr, double red, double green, double blue) c_cairo_set_source_rgb;
462 	void function(cairo_t* cr, double red, double green, double blue, double alpha) c_cairo_set_source_rgba;
463 	void function(cairo_t* cr, cairo_pattern_t* source) c_cairo_set_source;
464 	void function(cairo_t* cr, cairo_surface_t* surface, double x, double y) c_cairo_set_source_surface;
465 	cairo_pattern_t* function(cairo_t* cr) c_cairo_get_source;
466 	void function(cairo_t* cr, cairo_antialias_t antialias) c_cairo_set_antialias;
467 	cairo_antialias_t function(cairo_t* cr) c_cairo_get_antialias;
468 	void function(cairo_t* cr, double* dashes, int numDashes, double offset) c_cairo_set_dash;
469 	int function(cairo_t* cr) c_cairo_get_dash_count;
470 	void function(cairo_t* cr, double* dashes, double* offset) c_cairo_get_dash;
471 	void function(cairo_t* cr, cairo_fill_rule_t fillRule) c_cairo_set_fill_rule;
472 	cairo_fill_rule_t function(cairo_t* cr) c_cairo_get_fill_rule;
473 	void function(cairo_t* cr, cairo_line_cap_t lineCap) c_cairo_set_line_cap;
474 	cairo_line_cap_t function(cairo_t* cr) c_cairo_get_line_cap;
475 	void function(cairo_t* cr, cairo_line_join_t lineJoin) c_cairo_set_line_join;
476 	cairo_line_join_t function(cairo_t* cr) c_cairo_get_line_join;
477 	void function(cairo_t* cr, double width) c_cairo_set_line_width;
478 	double function(cairo_t* cr) c_cairo_get_line_width;
479 	void function(cairo_t* cr, double limit) c_cairo_set_miter_limit;
480 	double function(cairo_t* cr) c_cairo_get_miter_limit;
481 	void function(cairo_t* cr, cairo_operator_t op) c_cairo_set_operator;
482 	cairo_operator_t function(cairo_t* cr) c_cairo_get_operator;
483 	void function(cairo_t* cr, double tolerance) c_cairo_set_tolerance;
484 	double function(cairo_t* cr) c_cairo_get_tolerance;
485 	void function(cairo_t* cr) c_cairo_clip;
486 	void function(cairo_t* cr) c_cairo_clip_preserve;
487 	void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_clip_extents;
488 	cairo_bool_t function(cairo_t* cr, double x, double y) c_cairo_in_clip;
489 	void function(cairo_t* cr) c_cairo_reset_clip;
490 	void function(cairo_rectangle_list_t* rectangleList) c_cairo_rectangle_list_destroy;
491 	cairo_rectangle_list_t* function(cairo_t* cr) c_cairo_copy_clip_rectangle_list;
492 	void function(cairo_t* cr) c_cairo_fill;
493 	void function(cairo_t* cr) c_cairo_fill_preserve;
494 	void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_fill_extents;
495 	cairo_bool_t function(cairo_t* cr, double x, double y) c_cairo_in_fill;
496 	void function(cairo_t* cr, cairo_pattern_t* pattern) c_cairo_mask;
497 	void function(cairo_t* cr, cairo_surface_t* surface, double surfaceX, double surfaceY) c_cairo_mask_surface;
498 	void function(cairo_t* cr) c_cairo_paint;
499 	void function(cairo_t* cr, double alpha) c_cairo_paint_with_alpha;
500 	void function(cairo_t* cr) c_cairo_stroke;
501 	void function(cairo_t* cr) c_cairo_stroke_preserve;
502 	void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_stroke_extents;
503 	cairo_bool_t function(cairo_t* cr, double x, double y) c_cairo_in_stroke;
504 	void function(cairo_t* cr) c_cairo_copy_page;
505 	void function(cairo_t* cr) c_cairo_show_page;
506 	uint function(cairo_t* cr) c_cairo_get_reference_count;
507 	cairo_status_t function(cairo_t* cr, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_set_user_data;
508 	void* function(cairo_t* cr, cairo_user_data_key_t* key) c_cairo_get_user_data;
509 	cairo_path_t* function(cairo_t* cr) c_cairo_copy_path;
510 	cairo_path_t* function(cairo_t* cr) c_cairo_copy_path_flat;
511 	void function(cairo_path_t* path) c_cairo_path_destroy;
512 	void function(cairo_t* cr, cairo_path_t* path) c_cairo_append_path;
513 	cairo_bool_t function(cairo_t* cr) c_cairo_has_current_point;
514 	void function(cairo_t* cr, double* x, double* y) c_cairo_get_current_point;
515 	void function(cairo_t* cr) c_cairo_new_path;
516 	void function(cairo_t* cr) c_cairo_new_sub_path;
517 	void function(cairo_t* cr) c_cairo_close_path;
518 	void function(cairo_t* cr, double xc, double yc, double radius, double angle1, double angle2) c_cairo_arc;
519 	void function(cairo_t* cr, double xc, double yc, double radius, double angle1, double angle2) c_cairo_arc_negative;
520 	void function(cairo_t* cr, double x1, double y1, double x2, double y2, double x3, double y3) c_cairo_curve_to;
521 	void function(cairo_t* cr, double x, double y) c_cairo_line_to;
522 	void function(cairo_t* cr, double x, double y) c_cairo_move_to;
523 	void function(cairo_t* cr, double x, double y, double width, double height) c_cairo_rectangle;
524 	void function(cairo_t* cr, cairo_glyph_t* glyphs, int numGlyphs) c_cairo_glyph_path;
525 	void function(cairo_t* cr, char* utf8) c_cairo_text_path;
526 	void function(cairo_t* cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) c_cairo_rel_curve_to;
527 	void function(cairo_t* cr, double dx, double dy) c_cairo_rel_line_to;
528 	void function(cairo_t* cr, double dx, double dy) c_cairo_rel_move_to;
529 	void function(cairo_t* cr, double* x1, double* y1, double* x2, double* y2) c_cairo_path_extents;
530 	void function(cairo_t* cr, double tx, double ty) c_cairo_translate;
531 	void function(cairo_t* cr, double sx, double sy) c_cairo_scale;
532 	void function(cairo_t* cr, double angle) c_cairo_rotate;
533 	void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_transform;
534 	void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_set_matrix;
535 	void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_get_matrix;
536 	void function(cairo_t* cr) c_cairo_identity_matrix;
537 	void function(cairo_t* cr, double* x, double* y) c_cairo_user_to_device;
538 	void function(cairo_t* cr, double* dx, double* dy) c_cairo_user_to_device_distance;
539 	void function(cairo_t* cr, double* x, double* y) c_cairo_device_to_user;
540 	void function(cairo_t* cr, double* dx, double* dy) c_cairo_device_to_user_distance;
541 	void function(cairo_t* cr, char* family, cairo_font_slant_t slant, cairo_font_weight_t weight) c_cairo_select_font_face;
542 	void function(cairo_t* cr, double size) c_cairo_set_font_size;
543 	void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_set_font_matrix;
544 	void function(cairo_t* cr, cairo_matrix_t* matrix) c_cairo_get_font_matrix;
545 	void function(cairo_t* cr, cairo_font_options_t* options) c_cairo_set_font_options;
546 	void function(cairo_t* cr, cairo_font_options_t* options) c_cairo_get_font_options;
547 	void function(cairo_t* cr, cairo_font_face_t* fontFace) c_cairo_set_font_face;
548 	cairo_font_face_t* function(cairo_t* cr) c_cairo_get_font_face;
549 	void function(cairo_t* cr, cairo_scaled_font_t* scaledFont) c_cairo_set_scaled_font;
550 	cairo_scaled_font_t* function(cairo_t* cr) c_cairo_get_scaled_font;
551 	void function(cairo_t* cr, char* utf8) c_cairo_show_text;
552 	void function(cairo_t* cr, cairo_glyph_t* glyphs, int numGlyphs) c_cairo_show_glyphs;
553 	void function(cairo_t* cr, char* utf8, int utf8_Len, cairo_glyph_t* glyphs, int numGlyphs, cairo_text_cluster_t* clusters, int numClusters, cairo_text_cluster_flags_t clusterFlags) c_cairo_show_text_glyphs;
554 	void function(cairo_t* cr, cairo_font_extents_t* extents) c_cairo_font_extents;
555 	void function(cairo_t* cr, char* utf8, cairo_text_extents_t* extents) c_cairo_text_extents;
556 	void function(cairo_t* cr, cairo_glyph_t* glyphs, int numGlyphs, cairo_text_extents_t* extents) c_cairo_glyph_extents;
557 	cairo_font_face_t* function(char* family, cairo_font_slant_t slant, cairo_font_weight_t weight) c_cairo_toy_font_face_create;
558 	char* function(cairo_font_face_t* fontFace) c_cairo_toy_font_face_get_family;
559 	cairo_font_slant_t function(cairo_font_face_t* fontFace) c_cairo_toy_font_face_get_slant;
560 	cairo_font_weight_t function(cairo_font_face_t* fontFace) c_cairo_toy_font_face_get_weight;
561 	cairo_glyph_t* function(int numGlyphs) c_cairo_glyph_allocate;
562 	void function(cairo_glyph_t* glyphs) c_cairo_glyph_free;
563 	cairo_text_cluster_t* function(int numClusters) c_cairo_text_cluster_allocate;
564 	void function(cairo_text_cluster_t* clusters) c_cairo_text_cluster_free;
565 
566 	// cairo.Pattern
567 
568 	void function(cairo_pattern_t* pattern, double offset, double red, double green, double blue) c_cairo_pattern_add_color_stop_rgb;
569 	void function(cairo_pattern_t* pattern, double offset, double red, double green, double blue, double alpha) c_cairo_pattern_add_color_stop_rgba;
570 	cairo_status_t function(cairo_pattern_t* pattern, int* count) c_cairo_pattern_get_color_stop_count;
571 	cairo_status_t function(cairo_pattern_t* pattern, int index, double* offset, double* red, double* green, double* blue, double* alpha) c_cairo_pattern_get_color_stop_rgba;
572 	cairo_pattern_t* function(double red, double green, double blue) c_cairo_pattern_create_rgb;
573 	cairo_pattern_t* function(double red, double green, double blue, double alpha) c_cairo_pattern_create_rgba;
574 	cairo_status_t function(cairo_pattern_t* pattern, double* red, double* green, double* blue, double* alpha) c_cairo_pattern_get_rgba;
575 	cairo_pattern_t* function(cairo_surface_t* surface) c_cairo_pattern_create_for_surface;
576 	cairo_status_t function(cairo_pattern_t* pattern, cairo_surface_t** surface) c_cairo_pattern_get_surface;
577 	cairo_pattern_t* function(double x0, double y0, double x1, double y1) c_cairo_pattern_create_linear;
578 	cairo_status_t function(cairo_pattern_t* pattern, double* x0, double* y0, double* x1, double* y1) c_cairo_pattern_get_linear_points;
579 	cairo_pattern_t* function(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) c_cairo_pattern_create_radial;
580 	cairo_status_t function(cairo_pattern_t* pattern, double* x0, double* y0, double* r0, double* x1, double* y1, double* r1) c_cairo_pattern_get_radial_circles;
581 	cairo_pattern_t* function() c_cairo_pattern_create_mesh;
582 	cairo_pattern_t* function(cairo_pattern_t* pattern) c_cairo_pattern_reference;
583 	void function(cairo_pattern_t* pattern) c_cairo_pattern_destroy;
584 	cairo_status_t function(cairo_pattern_t* pattern) c_cairo_pattern_status;
585 	void function(cairo_pattern_t* pattern, cairo_extend_t extend) c_cairo_pattern_set_extend;
586 	cairo_extend_t function(cairo_pattern_t* pattern) c_cairo_pattern_get_extend;
587 	void function(cairo_pattern_t* pattern, cairo_filter_t filter) c_cairo_pattern_set_filter;
588 	cairo_filter_t function(cairo_pattern_t* pattern) c_cairo_pattern_get_filter;
589 	void function(cairo_pattern_t* pattern, cairo_matrix_t* matrix) c_cairo_pattern_set_matrix;
590 	void function(cairo_pattern_t* pattern, cairo_matrix_t* matrix) c_cairo_pattern_get_matrix;
591 	cairo_pattern_type_t function(cairo_pattern_t* pattern) c_cairo_pattern_get_type;
592 	uint function(cairo_pattern_t* pattern) c_cairo_pattern_get_reference_count;
593 	cairo_status_t function(cairo_pattern_t* pattern, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_pattern_set_user_data;
594 	void* function(cairo_pattern_t* pattern, cairo_user_data_key_t* key) c_cairo_pattern_get_user_data;
595 
596 	// cairo.MeshPattern
597 
598 	void function(cairo_pattern_t* pattern) c_cairo_mesh_pattern_begin_patch;
599 	void function(cairo_pattern_t* pattern) c_cairo_mesh_pattern_end_patch;
600 	void function(cairo_pattern_t* pattern, double x, double y) c_cairo_mesh_pattern_move_to;
601 	void function(cairo_pattern_t* pattern, double x, double y) c_cairo_mesh_pattern_line_to;
602 	void function(cairo_pattern_t* pattern, double x1, double y1, double x2, double y2, double x3, double y3) c_cairo_mesh_pattern_curve_to;
603 	void function(cairo_pattern_t* pattern, uint pointNum, double x, double y) c_cairo_mesh_pattern_set_control_point;
604 	void function(cairo_pattern_t* pattern, uint cornerNum, double red, double green, double blue) c_cairo_mesh_pattern_set_corner_color_rgb;
605 	void function(cairo_pattern_t* pattern, uint cornerNum, double red, double green, double blue, double alpha) c_cairo_mesh_pattern_set_corner_color_rgba;
606 	cairo_status_t function(cairo_pattern_t* pattern, uint* count) c_cairo_mesh_pattern_get_patch_count;
607 	cairo_path_t* function(cairo_pattern_t* pattern, uint patchNum) c_cairo_mesh_pattern_get_path;
608 	cairo_status_t function(cairo_pattern_t* pattern, uint patchNum, uint pointNum, double* x, double* y) c_cairo_mesh_pattern_get_control_point;
609 	cairo_status_t function(cairo_pattern_t* pattern, uint patchNum, uint cornerNum, double* red, double* green, double* blue, double* alpha) c_cairo_mesh_pattern_get_corner_color_rgba;
610 
611 	// cairo.Region
612 
613 	cairo_region_t* function() c_cairo_region_create;
614 	cairo_region_t* function(cairo_rectangle_int_t* rectangle) c_cairo_region_create_rectangle;
615 	cairo_region_t* function(cairo_rectangle_int_t* rects, int count) c_cairo_region_create_rectangles;
616 	cairo_region_t* function(cairo_region_t* original) c_cairo_region_copy;
617 	cairo_region_t* function(cairo_region_t* region) c_cairo_region_reference;
618 	void function(cairo_region_t* region) c_cairo_region_destroy;
619 	cairo_status_t function(cairo_region_t* region) c_cairo_region_status;
620 	void function(cairo_region_t* region, cairo_rectangle_int_t* extents) c_cairo_region_get_extents;
621 	int function(cairo_region_t* region) c_cairo_region_num_rectangles;
622 	void function(cairo_region_t* region, int nth, cairo_rectangle_int_t* rectangle) c_cairo_region_get_rectangle;
623 	cairo_bool_t function(cairo_region_t* region) c_cairo_region_is_empty;
624 	cairo_bool_t function(cairo_region_t* region, int x, int y) c_cairo_region_contains_point;
625 	cairo_region_overlap_t function(cairo_region_t* region, cairo_rectangle_int_t* rectangle) c_cairo_region_contains_rectangle;
626 	cairo_bool_t function(cairo_region_t* a, cairo_region_t* b) c_cairo_region_equal;
627 	void function(cairo_region_t* region, int dx, int dy) c_cairo_region_translate;
628 	cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_intersect;
629 	cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_intersect_rectangle;
630 	cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_subtract;
631 	cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_subtract_rectangle;
632 	cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_union;
633 	cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_union_rectangle;
634 	cairo_status_t function(cairo_region_t* dst, cairo_region_t* other) c_cairo_region_xor;
635 	cairo_status_t function(cairo_region_t* dst, cairo_rectangle_int_t* rectangle) c_cairo_region_xor_rectangle;
636 
637 	// cairo.RasterSource
638 
639 	cairo_pattern_t* function(void* userData, cairo_content_t content, int width, int height) c_cairo_pattern_create_raster_source;
640 	void function(cairo_pattern_t* pattern, void* data) c_cairo_raster_source_pattern_set_callback_data;
641 	void* function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_callback_data;
642 	void function(cairo_pattern_t* pattern, cairo_raster_source_acquire_func_t acquire, cairo_raster_source_release_func_t release) c_cairo_raster_source_pattern_set_acquire;
643 	void function(cairo_pattern_t* pattern, cairo_raster_source_acquire_func_t* acquire, cairo_raster_source_release_func_t* release) c_cairo_raster_source_pattern_get_acquire;
644 	void function(cairo_pattern_t* pattern, cairo_raster_source_snapshot_func_t snapshot) c_cairo_raster_source_pattern_set_snapshot;
645 	cairo_raster_source_snapshot_func_t function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_snapshot;
646 	void function(cairo_pattern_t* pattern, cairo_raster_source_copy_func_t copy) c_cairo_raster_source_pattern_set_copy;
647 	cairo_raster_source_copy_func_t function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_copy;
648 	void function(cairo_pattern_t* pattern, cairo_raster_source_finish_func_t finish) c_cairo_raster_source_pattern_set_finish;
649 	cairo_raster_source_finish_func_t function(cairo_pattern_t* pattern) c_cairo_raster_source_pattern_get_finish;
650 
651 	// cairo.FontFace
652 
653 	cairo_font_face_t* function(cairo_font_face_t* fontFace) c_cairo_font_face_reference;
654 	void function(cairo_font_face_t* fontFace) c_cairo_font_face_destroy;
655 	cairo_status_t function(cairo_font_face_t* fontFace) c_cairo_font_face_status;
656 	cairo_font_type_t function(cairo_font_face_t* fontFace) c_cairo_font_face_get_type;
657 	uint function(cairo_font_face_t* fontFace) c_cairo_font_face_get_reference_count;
658 	cairo_status_t function(cairo_font_face_t* fontFace, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_font_face_set_user_data;
659 	void* function(cairo_font_face_t* fontFace, cairo_user_data_key_t* key) c_cairo_font_face_get_user_data;
660 
661 	// cairo.ScaledFont
662 
663 	cairo_scaled_font_t* function(cairo_font_face_t* fontFace, cairo_matrix_t* fontMatrix, cairo_matrix_t* ctm, cairo_font_options_t* options) c_cairo_scaled_font_create;
664 	cairo_scaled_font_t* function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_reference;
665 	void function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_destroy;
666 	cairo_status_t function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_status;
667 	void function(cairo_scaled_font_t* scaledFont, cairo_font_extents_t* extents) c_cairo_scaled_font_extents;
668 	void function(cairo_scaled_font_t* scaledFont, char* utf8, cairo_text_extents_t* extents) c_cairo_scaled_font_text_extents;
669 	void function(cairo_scaled_font_t* scaledFont, cairo_glyph_t* glyphs, int numGlyphs, cairo_text_extents_t* extents) c_cairo_scaled_font_glyph_extents;
670 	cairo_status_t function(cairo_scaled_font_t* scaledFont, double x, double y, char* utf8, int utf8_Len, cairo_glyph_t** glyphs, int* numGlyphs, cairo_text_cluster_t** clusters, int* numClusters, cairo_text_cluster_flags_t* clusterFlags) c_cairo_scaled_font_text_to_glyphs;
671 	cairo_font_face_t* function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_get_font_face;
672 	void function(cairo_scaled_font_t* scaledFont, cairo_font_options_t* options) c_cairo_scaled_font_get_font_options;
673 	void function(cairo_scaled_font_t* scaledFont, cairo_matrix_t* fontMatrix) c_cairo_scaled_font_get_font_matrix;
674 	void function(cairo_scaled_font_t* scaledFont, cairo_matrix_t* ctm) c_cairo_scaled_font_get_ctm;
675 	void function(cairo_scaled_font_t* scaledFont, cairo_matrix_t* scaleMatrix) c_cairo_scaled_font_get_scale_matrix;
676 	cairo_font_type_t function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_get_type;
677 	uint function(cairo_scaled_font_t* scaledFont) c_cairo_scaled_font_get_reference_count;
678 	cairo_status_t function(cairo_scaled_font_t* scaledFont, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_scaled_font_set_user_data;
679 	void* function(cairo_scaled_font_t* scaledFont, cairo_user_data_key_t* key) c_cairo_scaled_font_get_user_data;
680 
681 	// cairo.FontOption
682 
683 	cairo_font_options_t* function() c_cairo_font_options_create;
684 	cairo_font_options_t* function(cairo_font_options_t* original) c_cairo_font_options_copy;
685 	void function(cairo_font_options_t* options) c_cairo_font_options_destroy;
686 	cairo_status_t function(cairo_font_options_t* options) c_cairo_font_options_status;
687 	void function(cairo_font_options_t* options, cairo_font_options_t* other) c_cairo_font_options_merge;
688 	ulong function(cairo_font_options_t* options) c_cairo_font_options_hash;
689 	cairo_bool_t function(cairo_font_options_t* options, cairo_font_options_t* other) c_cairo_font_options_equal;
690 	void function(cairo_font_options_t* options, cairo_antialias_t antialias) c_cairo_font_options_set_antialias;
691 	cairo_antialias_t function(cairo_font_options_t* options) c_cairo_font_options_get_antialias;
692 	void function(cairo_font_options_t* options, cairo_subpixel_order_t subpixelOrder) c_cairo_font_options_set_subpixel_order;
693 	cairo_subpixel_order_t function(cairo_font_options_t* options) c_cairo_font_options_get_subpixel_order;
694 	void function(cairo_font_options_t* options, cairo_hint_style_t hintStyle) c_cairo_font_options_set_hint_style;
695 	cairo_hint_style_t function(cairo_font_options_t* options) c_cairo_font_options_get_hint_style;
696 	void function(cairo_font_options_t* options, cairo_hint_metrics_t hintMetrics) c_cairo_font_options_set_hint_metrics;
697 	cairo_hint_metrics_t function(cairo_font_options_t* options) c_cairo_font_options_get_hint_metrics;
698 
699 	// cairo.UserFontFace
700 
701 	cairo_font_face_t* function() c_cairo_user_font_face_create;
702 	void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_init_func_t initFunc) c_cairo_user_font_face_set_init_func;
703 	cairo_user_scaled_font_init_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_init_func;
704 	void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_render_glyph_func_t renderGlyphFunc) c_cairo_user_font_face_set_render_glyph_func;
705 	cairo_user_scaled_font_render_glyph_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_render_glyph_func;
706 	void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_unicode_to_glyph_func_t unicodeToGlyphFunc) c_cairo_user_font_face_set_unicode_to_glyph_func;
707 	cairo_user_scaled_font_unicode_to_glyph_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_unicode_to_glyph_func;
708 	void function(cairo_font_face_t* fontFace, cairo_user_scaled_font_text_to_glyphs_func_t textToGlyphsFunc) c_cairo_user_font_face_set_text_to_glyphs_func;
709 	cairo_user_scaled_font_text_to_glyphs_func_t function(cairo_font_face_t* fontFace) c_cairo_user_font_face_get_text_to_glyphs_func;
710 
711 	// cairo.Device
712 
713 	cairo_device_t* function(cairo_device_t* device) c_cairo_device_reference;
714 	void function(cairo_device_t* device) c_cairo_device_destroy;
715 	cairo_status_t function(cairo_device_t* device) c_cairo_device_status;
716 	void function(cairo_device_t* device) c_cairo_device_finish;
717 	void function(cairo_device_t* device) c_cairo_device_flush;
718 	cairo_device_type_t function(cairo_device_t* device) c_cairo_device_get_type;
719 	uint function(cairo_device_t* device) c_cairo_device_get_reference_count;
720 	cairo_status_t function(cairo_device_t* device, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_device_set_user_data;
721 	void* function(cairo_device_t* device, cairo_user_data_key_t* key) c_cairo_device_get_user_data;
722 	cairo_status_t function(cairo_device_t* device) c_cairo_device_acquire;
723 	void function(cairo_device_t* device) c_cairo_device_release;
724 
725 	// cairo.Surface
726 
727 	cairo_surface_t* function(cairo_surface_t* other, cairo_content_t content, int width, int height) c_cairo_surface_create_similar;
728 	cairo_surface_t* function(cairo_surface_t* other, cairo_format_t format, int width, int height) c_cairo_surface_create_similar_image;
729 	cairo_surface_t* function(cairo_surface_t* target, double x, double y, double width, double height) c_cairo_surface_create_for_rectangle;
730 	cairo_surface_t* function(cairo_surface_t* surface) c_cairo_surface_reference;
731 	void function(cairo_surface_t* surface) c_cairo_surface_destroy;
732 	cairo_status_t function(cairo_surface_t* surface) c_cairo_surface_status;
733 	void function(cairo_surface_t* surface) c_cairo_surface_finish;
734 	void function(cairo_surface_t* surface) c_cairo_surface_flush;
735 	cairo_device_t* function(cairo_surface_t* surface) c_cairo_surface_get_device;
736 	void function(cairo_surface_t* surface, cairo_font_options_t* options) c_cairo_surface_get_font_options;
737 	cairo_content_t function(cairo_surface_t* surface) c_cairo_surface_get_content;
738 	void function(cairo_surface_t* surface) c_cairo_surface_mark_dirty;
739 	void function(cairo_surface_t* surface, int x, int y, int width, int height) c_cairo_surface_mark_dirty_rectangle;
740 	void function(cairo_surface_t* surface, double xOffset, double yOffset) c_cairo_surface_set_device_offset;
741 	void function(cairo_surface_t* surface, double* xOffset, double* yOffset) c_cairo_surface_get_device_offset;
742 	void function(cairo_surface_t* surface, double xPixelsPerInch, double yPixelsPerInch) c_cairo_surface_set_fallback_resolution;
743 	void function(cairo_surface_t* surface, double* xPixelsPerInch, double* yPixelsPerInch) c_cairo_surface_get_fallback_resolution;
744 	cairo_surface_type_t function(cairo_surface_t* surface) c_cairo_surface_get_type;
745 	uint function(cairo_surface_t* surface) c_cairo_surface_get_reference_count;
746 	cairo_status_t function(cairo_surface_t* surface, cairo_user_data_key_t* key, void* userData, cairo_destroy_func_t destroy) c_cairo_surface_set_user_data;
747 	void* function(cairo_surface_t* surface, cairo_user_data_key_t* key) c_cairo_surface_get_user_data;
748 	void function(cairo_surface_t* surface) c_cairo_surface_copy_page;
749 	void function(cairo_surface_t* surface) c_cairo_surface_show_page;
750 	cairo_bool_t function(cairo_surface_t* surface) c_cairo_surface_has_show_text_glyphs;
751 	cairo_status_t function(cairo_surface_t* surface, char* mimeType, uchar* data, ulong length, cairo_destroy_func_t destroy, void* closure) c_cairo_surface_set_mime_data;
752 	void function(cairo_surface_t* surface, char* mimeType, uchar** data, ulong* length) c_cairo_surface_get_mime_data;
753 	cairo_bool_t function(cairo_surface_t* surface, char* mimeType) c_cairo_surface_supports_mime_type;
754 	cairo_surface_t* function(cairo_surface_t* surface, cairo_rectangle_int_t* extents) c_cairo_surface_map_to_image;
755 	void function(cairo_surface_t* surface, cairo_surface_t* image) c_cairo_surface_unmap_image;
756 
757 	// cairo.ImageSurface
758 
759 	int function(cairo_format_t format, int width) c_cairo_format_stride_for_width;
760 	cairo_surface_t* function(cairo_format_t format, int width, int height) c_cairo_image_surface_create;
761 	cairo_surface_t* function(uchar* data, cairo_format_t format, int width, int height, int stride) c_cairo_image_surface_create_for_data;
762 	uchar* function(cairo_surface_t* surface) c_cairo_image_surface_get_data;
763 	cairo_format_t function(cairo_surface_t* surface) c_cairo_image_surface_get_format;
764 	int function(cairo_surface_t* surface) c_cairo_image_surface_get_width;
765 	int function(cairo_surface_t* surface) c_cairo_image_surface_get_height;
766 	int function(cairo_surface_t* surface) c_cairo_image_surface_get_stride;
767 	cairo_surface_t* function(char* filename) c_cairo_image_surface_create_from_png;
768 	cairo_surface_t* function(cairo_read_func_t readFunc, void* closure) c_cairo_image_surface_create_from_png_stream;
769 	cairo_status_t function(cairo_surface_t* surface, char* filename) c_cairo_surface_write_to_png;
770 	cairo_status_t function(cairo_surface_t* surface, cairo_write_func_t writeFunc, void* closure) c_cairo_surface_write_to_png_stream;
771 
772 	// cairo.PdfSurface
773 
774 	cairo_surface_t* function(char* filename, double widthInPoints, double heightInPoints) c_cairo_pdf_surface_create;
775 	cairo_surface_t* function(cairo_write_func_t writeFunc, void* closure, double widthInPoints, double heightInPoints) c_cairo_pdf_surface_create_for_stream;
776 	void function(cairo_surface_t* surface, cairo_pdf_version_t versio) c_cairo_pdf_surface_restrict_to_version;
777 	void function(cairo_pdf_version_t** versions, int* numVersions) c_cairo_pdf_get_versions;
778 	char* function(cairo_pdf_version_t versio) c_cairo_pdf_version_to_string;
779 	void function(cairo_surface_t* surface, double widthInPoints, double heightInPoints) c_cairo_pdf_surface_set_size;
780 
781 	// cairo.PostScriptSurface
782 
783 	cairo_surface_t* function(char* filename, double widthInPoints, double heightInPoints) c_cairo_ps_surface_create;
784 	cairo_surface_t* function(cairo_write_func_t writeFunc, void* closure, double widthInPoints, double heightInPoints) c_cairo_ps_surface_create_for_stream;
785 	void function(cairo_surface_t* surface, cairo_ps_level_t level) c_cairo_ps_surface_restrict_to_level;
786 	void function(cairo_ps_level_t** levels, int* numLevels) c_cairo_ps_get_levels;
787 	char* function(cairo_ps_level_t level) c_cairo_ps_level_to_string;
788 	void function(cairo_surface_t* surface, cairo_bool_t eps) c_cairo_ps_surface_set_eps;
789 	cairo_bool_t function(cairo_surface_t* surface) c_cairo_ps_surface_get_eps;
790 	void function(cairo_surface_t* surface, double widthInPoints, double heightInPoints) c_cairo_ps_surface_set_size;
791 	void function(cairo_surface_t* surface) c_cairo_ps_surface_dsc_begin_setup;
792 	void function(cairo_surface_t* surface) c_cairo_ps_surface_dsc_begin_page_setup;
793 	void function(cairo_surface_t* surface, char* comment) c_cairo_ps_surface_dsc_comment;
794 
795 	// cairo.RecordingSurface
796 
797 	cairo_surface_t* function(cairo_content_t content, cairo_rectangle_t* extents) c_cairo_recording_surface_create;
798 	void function(cairo_surface_t* surface, double* x0, double* y0, double* width, double* height) c_cairo_recording_surface_ink_extents;
799 	cairo_bool_t function(cairo_surface_t* surface, cairo_rectangle_t* extents) c_cairo_recording_surface_get_extents;
800 
801 	// cairo.SvgSurface
802 
803 	cairo_surface_t* function(char* filename, double widthInPoints, double heightInPoints) c_cairo_svg_surface_create;
804 	cairo_surface_t* function(cairo_write_func_t writeFunc, void* closure, double widthInPoints, double heightInPoints) c_cairo_svg_surface_create_for_stream;
805 	void function(cairo_surface_t* surface, cairo_svg_version_t versio) c_cairo_svg_surface_restrict_to_version;
806 	void function(cairo_svg_version_t** versions, int* numVersions) c_cairo_svg_get_versions;
807 	char* function(cairo_svg_version_t versio) c_cairo_svg_version_to_string;
808 
809 	// cairo.Script
810 
811 	cairo_device_t* function(char* filename) c_cairo_script_create;
812 	cairo_device_t* function(cairo_write_func_t writeFunc, void* closure) c_cairo_script_create_for_stream;
813 	cairo_status_t function(cairo_device_t* script, cairo_surface_t* recordingSurface) c_cairo_script_from_recording_surface;
814 	cairo_script_mode_t function(cairo_device_t* script) c_cairo_script_get_mode;
815 	void function(cairo_device_t* script, cairo_script_mode_t mode) c_cairo_script_set_mode;
816 	void function(cairo_device_t* script, char* comment, int len) c_cairo_script_write_comment;
817 
818 	// cairo.ScriptSurface
819 
820 	cairo_surface_t* function(cairo_device_t* script, cairo_content_t content, double width, double height) c_cairo_script_surface_create;
821 	cairo_surface_t* function(cairo_device_t* script, cairo_surface_t* target) c_cairo_script_surface_create_for_target;
822 
823 	// cairo.Matrix
824 
825 	void function(cairo_matrix_t* matrix, double xx, double yx, double xy, double yy, double x0, double y0) c_cairo_matrix_init;
826 	void function(cairo_matrix_t* matrix) c_cairo_matrix_init_identity;
827 	void function(cairo_matrix_t* matrix, double tx, double ty) c_cairo_matrix_init_translate;
828 	void function(cairo_matrix_t* matrix, double sx, double sy) c_cairo_matrix_init_scale;
829 	void function(cairo_matrix_t* matrix, double radians) c_cairo_matrix_init_rotate;
830 	void function(cairo_matrix_t* matrix, double tx, double ty) c_cairo_matrix_translate;
831 	void function(cairo_matrix_t* matrix, double sx, double sy) c_cairo_matrix_scale;
832 	void function(cairo_matrix_t* matrix, double radians) c_cairo_matrix_rotate;
833 	cairo_status_t function(cairo_matrix_t* matrix) c_cairo_matrix_invert;
834 	void function(cairo_matrix_t* result, cairo_matrix_t* a, cairo_matrix_t* b) c_cairo_matrix_multiply;
835 	void function(cairo_matrix_t* matrix, double* dx, double* dy) c_cairo_matrix_transform_distance;
836 	void function(cairo_matrix_t* matrix, double* x, double* y) c_cairo_matrix_transform_point;
837 
838 	// cairo.Status
839 
840 	char* function(cairo_status_t status) c_cairo_status_to_string;
841 	void function() c_cairo_debug_reset_static_data;
842 
843 	// cairo.Version
844 
845 	int function() c_cairo_version;
846 	char* function() c_cairo_version_string;
847 
848 	// cairo.
849 
850 }
851 
852 // cairo.Context
853 
854 alias c_cairo_create  cairo_create;
855 alias c_cairo_reference  cairo_reference;
856 alias c_cairo_destroy  cairo_destroy;
857 alias c_cairo_status  cairo_status;
858 alias c_cairo_save  cairo_save;
859 alias c_cairo_restore  cairo_restore;
860 alias c_cairo_get_target  cairo_get_target;
861 alias c_cairo_push_group  cairo_push_group;
862 alias c_cairo_push_group_with_content  cairo_push_group_with_content;
863 alias c_cairo_pop_group  cairo_pop_group;
864 alias c_cairo_pop_group_to_source  cairo_pop_group_to_source;
865 alias c_cairo_get_group_target  cairo_get_group_target;
866 alias c_cairo_set_source_rgb  cairo_set_source_rgb;
867 alias c_cairo_set_source_rgba  cairo_set_source_rgba;
868 alias c_cairo_set_source  cairo_set_source;
869 alias c_cairo_set_source_surface  cairo_set_source_surface;
870 alias c_cairo_get_source  cairo_get_source;
871 alias c_cairo_set_antialias  cairo_set_antialias;
872 alias c_cairo_get_antialias  cairo_get_antialias;
873 alias c_cairo_set_dash  cairo_set_dash;
874 alias c_cairo_get_dash_count  cairo_get_dash_count;
875 alias c_cairo_get_dash  cairo_get_dash;
876 alias c_cairo_set_fill_rule  cairo_set_fill_rule;
877 alias c_cairo_get_fill_rule  cairo_get_fill_rule;
878 alias c_cairo_set_line_cap  cairo_set_line_cap;
879 alias c_cairo_get_line_cap  cairo_get_line_cap;
880 alias c_cairo_set_line_join  cairo_set_line_join;
881 alias c_cairo_get_line_join  cairo_get_line_join;
882 alias c_cairo_set_line_width  cairo_set_line_width;
883 alias c_cairo_get_line_width  cairo_get_line_width;
884 alias c_cairo_set_miter_limit  cairo_set_miter_limit;
885 alias c_cairo_get_miter_limit  cairo_get_miter_limit;
886 alias c_cairo_set_operator  cairo_set_operator;
887 alias c_cairo_get_operator  cairo_get_operator;
888 alias c_cairo_set_tolerance  cairo_set_tolerance;
889 alias c_cairo_get_tolerance  cairo_get_tolerance;
890 alias c_cairo_clip  cairo_clip;
891 alias c_cairo_clip_preserve  cairo_clip_preserve;
892 alias c_cairo_clip_extents  cairo_clip_extents;
893 alias c_cairo_in_clip  cairo_in_clip;
894 alias c_cairo_reset_clip  cairo_reset_clip;
895 alias c_cairo_rectangle_list_destroy  cairo_rectangle_list_destroy;
896 alias c_cairo_copy_clip_rectangle_list  cairo_copy_clip_rectangle_list;
897 alias c_cairo_fill  cairo_fill;
898 alias c_cairo_fill_preserve  cairo_fill_preserve;
899 alias c_cairo_fill_extents  cairo_fill_extents;
900 alias c_cairo_in_fill  cairo_in_fill;
901 alias c_cairo_mask  cairo_mask;
902 alias c_cairo_mask_surface  cairo_mask_surface;
903 alias c_cairo_paint  cairo_paint;
904 alias c_cairo_paint_with_alpha  cairo_paint_with_alpha;
905 alias c_cairo_stroke  cairo_stroke;
906 alias c_cairo_stroke_preserve  cairo_stroke_preserve;
907 alias c_cairo_stroke_extents  cairo_stroke_extents;
908 alias c_cairo_in_stroke  cairo_in_stroke;
909 alias c_cairo_copy_page  cairo_copy_page;
910 alias c_cairo_show_page  cairo_show_page;
911 alias c_cairo_get_reference_count  cairo_get_reference_count;
912 alias c_cairo_set_user_data  cairo_set_user_data;
913 alias c_cairo_get_user_data  cairo_get_user_data;
914 alias c_cairo_copy_path  cairo_copy_path;
915 alias c_cairo_copy_path_flat  cairo_copy_path_flat;
916 alias c_cairo_path_destroy  cairo_path_destroy;
917 alias c_cairo_append_path  cairo_append_path;
918 alias c_cairo_has_current_point  cairo_has_current_point;
919 alias c_cairo_get_current_point  cairo_get_current_point;
920 alias c_cairo_new_path  cairo_new_path;
921 alias c_cairo_new_sub_path  cairo_new_sub_path;
922 alias c_cairo_close_path  cairo_close_path;
923 alias c_cairo_arc  cairo_arc;
924 alias c_cairo_arc_negative  cairo_arc_negative;
925 alias c_cairo_curve_to  cairo_curve_to;
926 alias c_cairo_line_to  cairo_line_to;
927 alias c_cairo_move_to  cairo_move_to;
928 alias c_cairo_rectangle  cairo_rectangle;
929 alias c_cairo_glyph_path  cairo_glyph_path;
930 alias c_cairo_text_path  cairo_text_path;
931 alias c_cairo_rel_curve_to  cairo_rel_curve_to;
932 alias c_cairo_rel_line_to  cairo_rel_line_to;
933 alias c_cairo_rel_move_to  cairo_rel_move_to;
934 alias c_cairo_path_extents  cairo_path_extents;
935 alias c_cairo_translate  cairo_translate;
936 alias c_cairo_scale  cairo_scale;
937 alias c_cairo_rotate  cairo_rotate;
938 alias c_cairo_transform  cairo_transform;
939 alias c_cairo_set_matrix  cairo_set_matrix;
940 alias c_cairo_get_matrix  cairo_get_matrix;
941 alias c_cairo_identity_matrix  cairo_identity_matrix;
942 alias c_cairo_user_to_device  cairo_user_to_device;
943 alias c_cairo_user_to_device_distance  cairo_user_to_device_distance;
944 alias c_cairo_device_to_user  cairo_device_to_user;
945 alias c_cairo_device_to_user_distance  cairo_device_to_user_distance;
946 alias c_cairo_select_font_face  cairo_select_font_face;
947 alias c_cairo_set_font_size  cairo_set_font_size;
948 alias c_cairo_set_font_matrix  cairo_set_font_matrix;
949 alias c_cairo_get_font_matrix  cairo_get_font_matrix;
950 alias c_cairo_set_font_options  cairo_set_font_options;
951 alias c_cairo_get_font_options  cairo_get_font_options;
952 alias c_cairo_set_font_face  cairo_set_font_face;
953 alias c_cairo_get_font_face  cairo_get_font_face;
954 alias c_cairo_set_scaled_font  cairo_set_scaled_font;
955 alias c_cairo_get_scaled_font  cairo_get_scaled_font;
956 alias c_cairo_show_text  cairo_show_text;
957 alias c_cairo_show_glyphs  cairo_show_glyphs;
958 alias c_cairo_show_text_glyphs  cairo_show_text_glyphs;
959 alias c_cairo_font_extents  cairo_font_extents;
960 alias c_cairo_text_extents  cairo_text_extents;
961 alias c_cairo_glyph_extents  cairo_glyph_extents;
962 alias c_cairo_toy_font_face_create  cairo_toy_font_face_create;
963 alias c_cairo_toy_font_face_get_family  cairo_toy_font_face_get_family;
964 alias c_cairo_toy_font_face_get_slant  cairo_toy_font_face_get_slant;
965 alias c_cairo_toy_font_face_get_weight  cairo_toy_font_face_get_weight;
966 alias c_cairo_glyph_allocate  cairo_glyph_allocate;
967 alias c_cairo_glyph_free  cairo_glyph_free;
968 alias c_cairo_text_cluster_allocate  cairo_text_cluster_allocate;
969 alias c_cairo_text_cluster_free  cairo_text_cluster_free;
970 
971 // cairo.Pattern
972 
973 alias c_cairo_pattern_add_color_stop_rgb  cairo_pattern_add_color_stop_rgb;
974 alias c_cairo_pattern_add_color_stop_rgba  cairo_pattern_add_color_stop_rgba;
975 alias c_cairo_pattern_get_color_stop_count  cairo_pattern_get_color_stop_count;
976 alias c_cairo_pattern_get_color_stop_rgba  cairo_pattern_get_color_stop_rgba;
977 alias c_cairo_pattern_create_rgb  cairo_pattern_create_rgb;
978 alias c_cairo_pattern_create_rgba  cairo_pattern_create_rgba;
979 alias c_cairo_pattern_get_rgba  cairo_pattern_get_rgba;
980 alias c_cairo_pattern_create_for_surface  cairo_pattern_create_for_surface;
981 alias c_cairo_pattern_get_surface  cairo_pattern_get_surface;
982 alias c_cairo_pattern_create_linear  cairo_pattern_create_linear;
983 alias c_cairo_pattern_get_linear_points  cairo_pattern_get_linear_points;
984 alias c_cairo_pattern_create_radial  cairo_pattern_create_radial;
985 alias c_cairo_pattern_get_radial_circles  cairo_pattern_get_radial_circles;
986 alias c_cairo_pattern_create_mesh  cairo_pattern_create_mesh;
987 alias c_cairo_pattern_reference  cairo_pattern_reference;
988 alias c_cairo_pattern_destroy  cairo_pattern_destroy;
989 alias c_cairo_pattern_status  cairo_pattern_status;
990 alias c_cairo_pattern_set_extend  cairo_pattern_set_extend;
991 alias c_cairo_pattern_get_extend  cairo_pattern_get_extend;
992 alias c_cairo_pattern_set_filter  cairo_pattern_set_filter;
993 alias c_cairo_pattern_get_filter  cairo_pattern_get_filter;
994 alias c_cairo_pattern_set_matrix  cairo_pattern_set_matrix;
995 alias c_cairo_pattern_get_matrix  cairo_pattern_get_matrix;
996 alias c_cairo_pattern_get_type  cairo_pattern_get_type;
997 alias c_cairo_pattern_get_reference_count  cairo_pattern_get_reference_count;
998 alias c_cairo_pattern_set_user_data  cairo_pattern_set_user_data;
999 alias c_cairo_pattern_get_user_data  cairo_pattern_get_user_data;
1000 
1001 // cairo.MeshPattern
1002 
1003 alias c_cairo_mesh_pattern_begin_patch  cairo_mesh_pattern_begin_patch;
1004 alias c_cairo_mesh_pattern_end_patch  cairo_mesh_pattern_end_patch;
1005 alias c_cairo_mesh_pattern_move_to  cairo_mesh_pattern_move_to;
1006 alias c_cairo_mesh_pattern_line_to  cairo_mesh_pattern_line_to;
1007 alias c_cairo_mesh_pattern_curve_to  cairo_mesh_pattern_curve_to;
1008 alias c_cairo_mesh_pattern_set_control_point  cairo_mesh_pattern_set_control_point;
1009 alias c_cairo_mesh_pattern_set_corner_color_rgb  cairo_mesh_pattern_set_corner_color_rgb;
1010 alias c_cairo_mesh_pattern_set_corner_color_rgba  cairo_mesh_pattern_set_corner_color_rgba;
1011 alias c_cairo_mesh_pattern_get_patch_count  cairo_mesh_pattern_get_patch_count;
1012 alias c_cairo_mesh_pattern_get_path  cairo_mesh_pattern_get_path;
1013 alias c_cairo_mesh_pattern_get_control_point  cairo_mesh_pattern_get_control_point;
1014 alias c_cairo_mesh_pattern_get_corner_color_rgba  cairo_mesh_pattern_get_corner_color_rgba;
1015 
1016 // cairo.Region
1017 
1018 alias c_cairo_region_create  cairo_region_create;
1019 alias c_cairo_region_create_rectangle  cairo_region_create_rectangle;
1020 alias c_cairo_region_create_rectangles  cairo_region_create_rectangles;
1021 alias c_cairo_region_copy  cairo_region_copy;
1022 alias c_cairo_region_reference  cairo_region_reference;
1023 alias c_cairo_region_destroy  cairo_region_destroy;
1024 alias c_cairo_region_status  cairo_region_status;
1025 alias c_cairo_region_get_extents  cairo_region_get_extents;
1026 alias c_cairo_region_num_rectangles  cairo_region_num_rectangles;
1027 alias c_cairo_region_get_rectangle  cairo_region_get_rectangle;
1028 alias c_cairo_region_is_empty  cairo_region_is_empty;
1029 alias c_cairo_region_contains_point  cairo_region_contains_point;
1030 alias c_cairo_region_contains_rectangle  cairo_region_contains_rectangle;
1031 alias c_cairo_region_equal  cairo_region_equal;
1032 alias c_cairo_region_translate  cairo_region_translate;
1033 alias c_cairo_region_intersect  cairo_region_intersect;
1034 alias c_cairo_region_intersect_rectangle  cairo_region_intersect_rectangle;
1035 alias c_cairo_region_subtract  cairo_region_subtract;
1036 alias c_cairo_region_subtract_rectangle  cairo_region_subtract_rectangle;
1037 alias c_cairo_region_union  cairo_region_union;
1038 alias c_cairo_region_union_rectangle  cairo_region_union_rectangle;
1039 alias c_cairo_region_xor  cairo_region_xor;
1040 alias c_cairo_region_xor_rectangle  cairo_region_xor_rectangle;
1041 
1042 // cairo.RasterSource
1043 
1044 alias c_cairo_pattern_create_raster_source  cairo_pattern_create_raster_source;
1045 alias c_cairo_raster_source_pattern_set_callback_data  cairo_raster_source_pattern_set_callback_data;
1046 alias c_cairo_raster_source_pattern_get_callback_data  cairo_raster_source_pattern_get_callback_data;
1047 alias c_cairo_raster_source_pattern_set_acquire  cairo_raster_source_pattern_set_acquire;
1048 alias c_cairo_raster_source_pattern_get_acquire  cairo_raster_source_pattern_get_acquire;
1049 alias c_cairo_raster_source_pattern_set_snapshot  cairo_raster_source_pattern_set_snapshot;
1050 alias c_cairo_raster_source_pattern_get_snapshot  cairo_raster_source_pattern_get_snapshot;
1051 alias c_cairo_raster_source_pattern_set_copy  cairo_raster_source_pattern_set_copy;
1052 alias c_cairo_raster_source_pattern_get_copy  cairo_raster_source_pattern_get_copy;
1053 alias c_cairo_raster_source_pattern_set_finish  cairo_raster_source_pattern_set_finish;
1054 alias c_cairo_raster_source_pattern_get_finish  cairo_raster_source_pattern_get_finish;
1055 
1056 // cairo.FontFace
1057 
1058 alias c_cairo_font_face_reference  cairo_font_face_reference;
1059 alias c_cairo_font_face_destroy  cairo_font_face_destroy;
1060 alias c_cairo_font_face_status  cairo_font_face_status;
1061 alias c_cairo_font_face_get_type  cairo_font_face_get_type;
1062 alias c_cairo_font_face_get_reference_count  cairo_font_face_get_reference_count;
1063 alias c_cairo_font_face_set_user_data  cairo_font_face_set_user_data;
1064 alias c_cairo_font_face_get_user_data  cairo_font_face_get_user_data;
1065 
1066 // cairo.ScaledFont
1067 
1068 alias c_cairo_scaled_font_create  cairo_scaled_font_create;
1069 alias c_cairo_scaled_font_reference  cairo_scaled_font_reference;
1070 alias c_cairo_scaled_font_destroy  cairo_scaled_font_destroy;
1071 alias c_cairo_scaled_font_status  cairo_scaled_font_status;
1072 alias c_cairo_scaled_font_extents  cairo_scaled_font_extents;
1073 alias c_cairo_scaled_font_text_extents  cairo_scaled_font_text_extents;
1074 alias c_cairo_scaled_font_glyph_extents  cairo_scaled_font_glyph_extents;
1075 alias c_cairo_scaled_font_text_to_glyphs  cairo_scaled_font_text_to_glyphs;
1076 alias c_cairo_scaled_font_get_font_face  cairo_scaled_font_get_font_face;
1077 alias c_cairo_scaled_font_get_font_options  cairo_scaled_font_get_font_options;
1078 alias c_cairo_scaled_font_get_font_matrix  cairo_scaled_font_get_font_matrix;
1079 alias c_cairo_scaled_font_get_ctm  cairo_scaled_font_get_ctm;
1080 alias c_cairo_scaled_font_get_scale_matrix  cairo_scaled_font_get_scale_matrix;
1081 alias c_cairo_scaled_font_get_type  cairo_scaled_font_get_type;
1082 alias c_cairo_scaled_font_get_reference_count  cairo_scaled_font_get_reference_count;
1083 alias c_cairo_scaled_font_set_user_data  cairo_scaled_font_set_user_data;
1084 alias c_cairo_scaled_font_get_user_data  cairo_scaled_font_get_user_data;
1085 
1086 // cairo.FontOption
1087 
1088 alias c_cairo_font_options_create  cairo_font_options_create;
1089 alias c_cairo_font_options_copy  cairo_font_options_copy;
1090 alias c_cairo_font_options_destroy  cairo_font_options_destroy;
1091 alias c_cairo_font_options_status  cairo_font_options_status;
1092 alias c_cairo_font_options_merge  cairo_font_options_merge;
1093 alias c_cairo_font_options_hash  cairo_font_options_hash;
1094 alias c_cairo_font_options_equal  cairo_font_options_equal;
1095 alias c_cairo_font_options_set_antialias  cairo_font_options_set_antialias;
1096 alias c_cairo_font_options_get_antialias  cairo_font_options_get_antialias;
1097 alias c_cairo_font_options_set_subpixel_order  cairo_font_options_set_subpixel_order;
1098 alias c_cairo_font_options_get_subpixel_order  cairo_font_options_get_subpixel_order;
1099 alias c_cairo_font_options_set_hint_style  cairo_font_options_set_hint_style;
1100 alias c_cairo_font_options_get_hint_style  cairo_font_options_get_hint_style;
1101 alias c_cairo_font_options_set_hint_metrics  cairo_font_options_set_hint_metrics;
1102 alias c_cairo_font_options_get_hint_metrics  cairo_font_options_get_hint_metrics;
1103 
1104 // cairo.UserFontFace
1105 
1106 alias c_cairo_user_font_face_create  cairo_user_font_face_create;
1107 alias c_cairo_user_font_face_set_init_func  cairo_user_font_face_set_init_func;
1108 alias c_cairo_user_font_face_get_init_func  cairo_user_font_face_get_init_func;
1109 alias c_cairo_user_font_face_set_render_glyph_func  cairo_user_font_face_set_render_glyph_func;
1110 alias c_cairo_user_font_face_get_render_glyph_func  cairo_user_font_face_get_render_glyph_func;
1111 alias c_cairo_user_font_face_set_unicode_to_glyph_func  cairo_user_font_face_set_unicode_to_glyph_func;
1112 alias c_cairo_user_font_face_get_unicode_to_glyph_func  cairo_user_font_face_get_unicode_to_glyph_func;
1113 alias c_cairo_user_font_face_set_text_to_glyphs_func  cairo_user_font_face_set_text_to_glyphs_func;
1114 alias c_cairo_user_font_face_get_text_to_glyphs_func  cairo_user_font_face_get_text_to_glyphs_func;
1115 
1116 // cairo.Device
1117 
1118 alias c_cairo_device_reference  cairo_device_reference;
1119 alias c_cairo_device_destroy  cairo_device_destroy;
1120 alias c_cairo_device_status  cairo_device_status;
1121 alias c_cairo_device_finish  cairo_device_finish;
1122 alias c_cairo_device_flush  cairo_device_flush;
1123 alias c_cairo_device_get_type  cairo_device_get_type;
1124 alias c_cairo_device_get_reference_count  cairo_device_get_reference_count;
1125 alias c_cairo_device_set_user_data  cairo_device_set_user_data;
1126 alias c_cairo_device_get_user_data  cairo_device_get_user_data;
1127 alias c_cairo_device_acquire  cairo_device_acquire;
1128 alias c_cairo_device_release  cairo_device_release;
1129 
1130 // cairo.Surface
1131 
1132 alias c_cairo_surface_create_similar  cairo_surface_create_similar;
1133 alias c_cairo_surface_create_similar_image  cairo_surface_create_similar_image;
1134 alias c_cairo_surface_create_for_rectangle  cairo_surface_create_for_rectangle;
1135 alias c_cairo_surface_reference  cairo_surface_reference;
1136 alias c_cairo_surface_destroy  cairo_surface_destroy;
1137 alias c_cairo_surface_status  cairo_surface_status;
1138 alias c_cairo_surface_finish  cairo_surface_finish;
1139 alias c_cairo_surface_flush  cairo_surface_flush;
1140 alias c_cairo_surface_get_device  cairo_surface_get_device;
1141 alias c_cairo_surface_get_font_options  cairo_surface_get_font_options;
1142 alias c_cairo_surface_get_content  cairo_surface_get_content;
1143 alias c_cairo_surface_mark_dirty  cairo_surface_mark_dirty;
1144 alias c_cairo_surface_mark_dirty_rectangle  cairo_surface_mark_dirty_rectangle;
1145 alias c_cairo_surface_set_device_offset  cairo_surface_set_device_offset;
1146 alias c_cairo_surface_get_device_offset  cairo_surface_get_device_offset;
1147 alias c_cairo_surface_set_fallback_resolution  cairo_surface_set_fallback_resolution;
1148 alias c_cairo_surface_get_fallback_resolution  cairo_surface_get_fallback_resolution;
1149 alias c_cairo_surface_get_type  cairo_surface_get_type;
1150 alias c_cairo_surface_get_reference_count  cairo_surface_get_reference_count;
1151 alias c_cairo_surface_set_user_data  cairo_surface_set_user_data;
1152 alias c_cairo_surface_get_user_data  cairo_surface_get_user_data;
1153 alias c_cairo_surface_copy_page  cairo_surface_copy_page;
1154 alias c_cairo_surface_show_page  cairo_surface_show_page;
1155 alias c_cairo_surface_has_show_text_glyphs  cairo_surface_has_show_text_glyphs;
1156 alias c_cairo_surface_set_mime_data  cairo_surface_set_mime_data;
1157 alias c_cairo_surface_get_mime_data  cairo_surface_get_mime_data;
1158 alias c_cairo_surface_supports_mime_type  cairo_surface_supports_mime_type;
1159 alias c_cairo_surface_map_to_image  cairo_surface_map_to_image;
1160 alias c_cairo_surface_unmap_image  cairo_surface_unmap_image;
1161 
1162 // cairo.ImageSurface
1163 
1164 alias c_cairo_format_stride_for_width  cairo_format_stride_for_width;
1165 alias c_cairo_image_surface_create  cairo_image_surface_create;
1166 alias c_cairo_image_surface_create_for_data  cairo_image_surface_create_for_data;
1167 alias c_cairo_image_surface_get_data  cairo_image_surface_get_data;
1168 alias c_cairo_image_surface_get_format  cairo_image_surface_get_format;
1169 alias c_cairo_image_surface_get_width  cairo_image_surface_get_width;
1170 alias c_cairo_image_surface_get_height  cairo_image_surface_get_height;
1171 alias c_cairo_image_surface_get_stride  cairo_image_surface_get_stride;
1172 alias c_cairo_image_surface_create_from_png  cairo_image_surface_create_from_png;
1173 alias c_cairo_image_surface_create_from_png_stream  cairo_image_surface_create_from_png_stream;
1174 alias c_cairo_surface_write_to_png  cairo_surface_write_to_png;
1175 alias c_cairo_surface_write_to_png_stream  cairo_surface_write_to_png_stream;
1176 
1177 // cairo.PdfSurface
1178 
1179 alias c_cairo_pdf_surface_create  cairo_pdf_surface_create;
1180 alias c_cairo_pdf_surface_create_for_stream  cairo_pdf_surface_create_for_stream;
1181 alias c_cairo_pdf_surface_restrict_to_version  cairo_pdf_surface_restrict_to_version;
1182 alias c_cairo_pdf_get_versions  cairo_pdf_get_versions;
1183 alias c_cairo_pdf_version_to_string  cairo_pdf_version_to_string;
1184 alias c_cairo_pdf_surface_set_size  cairo_pdf_surface_set_size;
1185 
1186 // cairo.PostScriptSurface
1187 
1188 alias c_cairo_ps_surface_create  cairo_ps_surface_create;
1189 alias c_cairo_ps_surface_create_for_stream  cairo_ps_surface_create_for_stream;
1190 alias c_cairo_ps_surface_restrict_to_level  cairo_ps_surface_restrict_to_level;
1191 alias c_cairo_ps_get_levels  cairo_ps_get_levels;
1192 alias c_cairo_ps_level_to_string  cairo_ps_level_to_string;
1193 alias c_cairo_ps_surface_set_eps  cairo_ps_surface_set_eps;
1194 alias c_cairo_ps_surface_get_eps  cairo_ps_surface_get_eps;
1195 alias c_cairo_ps_surface_set_size  cairo_ps_surface_set_size;
1196 alias c_cairo_ps_surface_dsc_begin_setup  cairo_ps_surface_dsc_begin_setup;
1197 alias c_cairo_ps_surface_dsc_begin_page_setup  cairo_ps_surface_dsc_begin_page_setup;
1198 alias c_cairo_ps_surface_dsc_comment  cairo_ps_surface_dsc_comment;
1199 
1200 // cairo.RecordingSurface
1201 
1202 alias c_cairo_recording_surface_create  cairo_recording_surface_create;
1203 alias c_cairo_recording_surface_ink_extents  cairo_recording_surface_ink_extents;
1204 alias c_cairo_recording_surface_get_extents  cairo_recording_surface_get_extents;
1205 
1206 // cairo.SvgSurface
1207 
1208 alias c_cairo_svg_surface_create  cairo_svg_surface_create;
1209 alias c_cairo_svg_surface_create_for_stream  cairo_svg_surface_create_for_stream;
1210 alias c_cairo_svg_surface_restrict_to_version  cairo_svg_surface_restrict_to_version;
1211 alias c_cairo_svg_get_versions  cairo_svg_get_versions;
1212 alias c_cairo_svg_version_to_string  cairo_svg_version_to_string;
1213 
1214 // cairo.Script
1215 
1216 alias c_cairo_script_create  cairo_script_create;
1217 alias c_cairo_script_create_for_stream  cairo_script_create_for_stream;
1218 alias c_cairo_script_from_recording_surface  cairo_script_from_recording_surface;
1219 alias c_cairo_script_get_mode  cairo_script_get_mode;
1220 alias c_cairo_script_set_mode  cairo_script_set_mode;
1221 alias c_cairo_script_write_comment  cairo_script_write_comment;
1222 
1223 // cairo.ScriptSurface
1224 
1225 alias c_cairo_script_surface_create  cairo_script_surface_create;
1226 alias c_cairo_script_surface_create_for_target  cairo_script_surface_create_for_target;
1227 
1228 // cairo.Matrix
1229 
1230 alias c_cairo_matrix_init  cairo_matrix_init;
1231 alias c_cairo_matrix_init_identity  cairo_matrix_init_identity;
1232 alias c_cairo_matrix_init_translate  cairo_matrix_init_translate;
1233 alias c_cairo_matrix_init_scale  cairo_matrix_init_scale;
1234 alias c_cairo_matrix_init_rotate  cairo_matrix_init_rotate;
1235 alias c_cairo_matrix_translate  cairo_matrix_translate;
1236 alias c_cairo_matrix_scale  cairo_matrix_scale;
1237 alias c_cairo_matrix_rotate  cairo_matrix_rotate;
1238 alias c_cairo_matrix_invert  cairo_matrix_invert;
1239 alias c_cairo_matrix_multiply  cairo_matrix_multiply;
1240 alias c_cairo_matrix_transform_distance  cairo_matrix_transform_distance;
1241 alias c_cairo_matrix_transform_point  cairo_matrix_transform_point;
1242 
1243 // cairo.Status
1244 
1245 alias c_cairo_status_to_string  cairo_status_to_string;
1246 alias c_cairo_debug_reset_static_data  cairo_debug_reset_static_data;
1247 
1248 // cairo.Version
1249 
1250 alias c_cairo_version  cairo_version;
1251 alias c_cairo_version_string  cairo_version_string;
1252 
1253 // cairo.
1254