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