Mercurial > projects > dwt-linux
comparison dwt/internal/c/cairo.d @ 33:27324bbbac70
changed to regenerated BCD bindings
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 10 Jan 2008 02:18:07 +0100 |
parents | |
children | b58ec55ce70d |
comparison
equal
deleted
inserted
replaced
32:b7c28480e3e0 | 33:27324bbbac70 |
---|---|
1 /****************************************************************************** | |
2 Based on the generated files from the BCD tool | |
3 modified by: Frank Benoit <keinfarbton@googlemail.com> | |
4 ******************************************************************************/ | |
5 module dwt.internal.c.cairo; | |
6 | |
7 extern(C): | |
8 align(4): | |
9 | |
10 const int CAIRO_VERSION_MAJOR = 1; | |
11 const int CAIRO_VERSION_MINOR = 4; | |
12 const int CAIRO_VERSION_MICRO = 10; | |
13 const char[] CAIRO_VERSION_STRING = "1.4.10"; | |
14 const int CAIRO_HAS_SVG_SURFACE = 1; | |
15 const int CAIRO_HAS_PDF_SURFACE = 1; | |
16 const int CAIRO_HAS_PS_SURFACE = 1; | |
17 const int CAIRO_HAS_FT_FONT = 1; | |
18 const int CAIRO_HAS_PNG_FUNCTIONS = 1; | |
19 const int CAIRO_HAS_XLIB_XRENDER_SURFACE = 1; | |
20 const int CAIRO_HAS_XLIB_SURFACE = 1; | |
21 const int CAIRO_FORMAT_RGB16_565 = 4; | |
22 enum _cairo_filter { | |
23 CAIRO_FILTER_FAST=0, | |
24 CAIRO_FILTER_GOOD=1, | |
25 CAIRO_FILTER_BEST=2, | |
26 CAIRO_FILTER_NEAREST=3, | |
27 CAIRO_FILTER_BILINEAR=4, | |
28 CAIRO_FILTER_GAUSSIAN=5, | |
29 } | |
30 alias int cairo_filter_t; | |
31 enum _cairo_extend { | |
32 CAIRO_EXTEND_NONE=0, | |
33 CAIRO_EXTEND_REPEAT=1, | |
34 CAIRO_EXTEND_REFLECT=2, | |
35 CAIRO_EXTEND_PAD=3, | |
36 } | |
37 alias int cairo_extend_t; | |
38 enum _cairo_pattern_type { | |
39 CAIRO_PATTERN_TYPE_SOLID=0, | |
40 CAIRO_PATTERN_TYPE_SURFACE=1, | |
41 CAIRO_PATTERN_TYPE_LINEAR=2, | |
42 CAIRO_PATTERN_TYPE_RADIAL=3, | |
43 } | |
44 alias int cairo_pattern_type_t; | |
45 enum _cairo_format { | |
46 CAIRO_FORMAT_ARGB32=0, | |
47 CAIRO_FORMAT_RGB24=1, | |
48 CAIRO_FORMAT_A8=2, | |
49 CAIRO_FORMAT_A1=3, | |
50 } | |
51 alias int cairo_format_t; | |
52 enum _cairo_surface_type { | |
53 CAIRO_SURFACE_TYPE_IMAGE=0, | |
54 CAIRO_SURFACE_TYPE_PDF=1, | |
55 CAIRO_SURFACE_TYPE_PS=2, | |
56 CAIRO_SURFACE_TYPE_XLIB=3, | |
57 CAIRO_SURFACE_TYPE_XCB=4, | |
58 CAIRO_SURFACE_TYPE_GLITZ=5, | |
59 CAIRO_SURFACE_TYPE_QUARTZ=6, | |
60 CAIRO_SURFACE_TYPE_WIN32=7, | |
61 CAIRO_SURFACE_TYPE_BEOS=8, | |
62 CAIRO_SURFACE_TYPE_DIRECTFB=9, | |
63 CAIRO_SURFACE_TYPE_SVG=10, | |
64 CAIRO_SURFACE_TYPE_OS2=11, | |
65 } | |
66 alias int cairo_surface_type_t; | |
67 alias cairo_path cairo_path_t; | |
68 enum _cairo_status { | |
69 CAIRO_STATUS_SUCCESS=0, | |
70 CAIRO_STATUS_NO_MEMORY=1, | |
71 CAIRO_STATUS_INVALID_RESTORE=2, | |
72 CAIRO_STATUS_INVALID_POP_GROUP=3, | |
73 CAIRO_STATUS_NO_CURRENT_POINT=4, | |
74 CAIRO_STATUS_INVALID_MATRIX=5, | |
75 CAIRO_STATUS_INVALID_STATUS=6, | |
76 CAIRO_STATUS_NULL_POINTER=7, | |
77 CAIRO_STATUS_INVALID_STRING=8, | |
78 CAIRO_STATUS_INVALID_PATH_DATA=9, | |
79 CAIRO_STATUS_READ_ERROR=10, | |
80 CAIRO_STATUS_WRITE_ERROR=11, | |
81 CAIRO_STATUS_SURFACE_FINISHED=12, | |
82 CAIRO_STATUS_SURFACE_TYPE_MISMATCH=13, | |
83 CAIRO_STATUS_PATTERN_TYPE_MISMATCH=14, | |
84 CAIRO_STATUS_INVALID_CONTENT=15, | |
85 CAIRO_STATUS_INVALID_FORMAT=16, | |
86 CAIRO_STATUS_INVALID_VISUAL=17, | |
87 CAIRO_STATUS_FILE_NOT_FOUND=18, | |
88 CAIRO_STATUS_INVALID_DASH=19, | |
89 CAIRO_STATUS_INVALID_DSC_COMMENT=20, | |
90 CAIRO_STATUS_INVALID_INDEX=21, | |
91 CAIRO_STATUS_CLIP_NOT_REPRESENTABLE=22, | |
92 } | |
93 alias int cairo_status_t; | |
94 alias _cairo_path_data_t cairo_path_data_t; | |
95 enum _cairo_path_data_type { | |
96 CAIRO_PATH_MOVE_TO=0, | |
97 CAIRO_PATH_LINE_TO=1, | |
98 CAIRO_PATH_CURVE_TO=2, | |
99 CAIRO_PATH_CLOSE_PATH=3, | |
100 } | |
101 alias int cairo_path_data_type_t; | |
102 enum _cairo_font_type { | |
103 CAIRO_FONT_TYPE_TOY=0, | |
104 CAIRO_FONT_TYPE_FT=1, | |
105 CAIRO_FONT_TYPE_WIN32=2, | |
106 CAIRO_FONT_TYPE_ATSUI=3, | |
107 } | |
108 alias int cairo_font_type_t; | |
109 alias void cairo_font_options_t; | |
110 enum _cairo_hint_metrics { | |
111 CAIRO_HINT_METRICS_DEFAULT=0, | |
112 CAIRO_HINT_METRICS_OFF=1, | |
113 CAIRO_HINT_METRICS_ON=2, | |
114 } | |
115 alias int cairo_hint_metrics_t; | |
116 enum _cairo_hint_style { | |
117 CAIRO_HINT_STYLE_DEFAULT=0, | |
118 CAIRO_HINT_STYLE_NONE=1, | |
119 CAIRO_HINT_STYLE_SLIGHT=2, | |
120 CAIRO_HINT_STYLE_MEDIUM=3, | |
121 CAIRO_HINT_STYLE_FULL=4, | |
122 } | |
123 alias int cairo_hint_style_t; | |
124 enum _cairo_subpixel_order { | |
125 CAIRO_SUBPIXEL_ORDER_DEFAULT=0, | |
126 CAIRO_SUBPIXEL_ORDER_RGB=1, | |
127 CAIRO_SUBPIXEL_ORDER_BGR=2, | |
128 CAIRO_SUBPIXEL_ORDER_VRGB=3, | |
129 CAIRO_SUBPIXEL_ORDER_VBGR=4, | |
130 } | |
131 alias int cairo_subpixel_order_t; | |
132 enum _cairo_font_weight { | |
133 CAIRO_FONT_WEIGHT_NORMAL=0, | |
134 CAIRO_FONT_WEIGHT_BOLD=1, | |
135 } | |
136 alias int cairo_font_weight_t; | |
137 enum _cairo_font_slant { | |
138 CAIRO_FONT_SLANT_NORMAL=0, | |
139 CAIRO_FONT_SLANT_ITALIC=1, | |
140 CAIRO_FONT_SLANT_OBLIQUE=2, | |
141 } | |
142 alias int cairo_font_slant_t; | |
143 alias void cairo_font_face_t; | |
144 alias void cairo_scaled_font_t; | |
145 alias _cairo_rectangle_list cairo_rectangle_list_t; | |
146 alias _cairo_rectangle cairo_rectangle_t; | |
147 enum _cairo_line_join { | |
148 CAIRO_LINE_JOIN_MITER=0, | |
149 CAIRO_LINE_JOIN_ROUND=1, | |
150 CAIRO_LINE_JOIN_BEVEL=2, | |
151 } | |
152 alias int cairo_line_join_t; | |
153 enum _cairo_line_cap { | |
154 CAIRO_LINE_CAP_BUTT=0, | |
155 CAIRO_LINE_CAP_ROUND=1, | |
156 CAIRO_LINE_CAP_SQUARE=2, | |
157 } | |
158 alias int cairo_line_cap_t; | |
159 enum _cairo_fill_rule { | |
160 CAIRO_FILL_RULE_WINDING=0, | |
161 CAIRO_FILL_RULE_EVEN_ODD=1, | |
162 } | |
163 alias int cairo_fill_rule_t; | |
164 enum _cairo_antialias { | |
165 CAIRO_ANTIALIAS_DEFAULT=0, | |
166 CAIRO_ANTIALIAS_NONE=1, | |
167 CAIRO_ANTIALIAS_GRAY=2, | |
168 CAIRO_ANTIALIAS_SUBPIXEL=3, | |
169 } | |
170 alias int cairo_antialias_t; | |
171 enum _cairo_operator { | |
172 CAIRO_OPERATOR_CLEAR=0, | |
173 CAIRO_OPERATOR_SOURCE=1, | |
174 CAIRO_OPERATOR_OVER=2, | |
175 CAIRO_OPERATOR_IN=3, | |
176 CAIRO_OPERATOR_OUT=4, | |
177 CAIRO_OPERATOR_ATOP=5, | |
178 CAIRO_OPERATOR_DEST=6, | |
179 CAIRO_OPERATOR_DEST_OVER=7, | |
180 CAIRO_OPERATOR_DEST_IN=8, | |
181 CAIRO_OPERATOR_DEST_OUT=9, | |
182 CAIRO_OPERATOR_DEST_ATOP=10, | |
183 CAIRO_OPERATOR_XOR=11, | |
184 CAIRO_OPERATOR_ADD=12, | |
185 CAIRO_OPERATOR_SATURATE=13, | |
186 } | |
187 alias int cairo_operator_t; | |
188 alias int function(void *, char *, uint) _BCD_func__476; | |
189 alias _BCD_func__476 cairo_read_func_t; | |
190 alias int function(void *, char *, uint) _BCD_func__477; | |
191 alias _BCD_func__477 cairo_write_func_t; | |
192 enum _cairo_content { | |
193 CAIRO_CONTENT_COLOR=4096, | |
194 CAIRO_CONTENT_ALPHA=8192, | |
195 CAIRO_CONTENT_COLOR_ALPHA=12288, | |
196 } | |
197 alias int cairo_content_t; | |
198 alias _cairo_user_data_key cairo_user_data_key_t; | |
199 alias void function(void *) _BCD_func__481; | |
200 alias _BCD_func__481 cairo_destroy_func_t; | |
201 alias void cairo_pattern_t; | |
202 alias _cairo_matrix cairo_matrix_t; | |
203 alias void cairo_surface_t; | |
204 alias void cairo_t; | |
205 alias int cairo_bool_t; | |
206 struct cairo_path { | |
207 int status; | |
208 _cairo_path_data_t * data; | |
209 int num_data; | |
210 } | |
211 struct N18_cairo_path_data_t3__3E { | |
212 int type; | |
213 int length; | |
214 } | |
215 struct N18_cairo_path_data_t3__4E { | |
216 double x; | |
217 double y; | |
218 } | |
219 union _cairo_path_data_t { | |
220 N18_cairo_path_data_t3__3E header; | |
221 N18_cairo_path_data_t3__4E point; | |
222 } | |
223 struct cairo_font_extents_t { | |
224 double ascent; | |
225 double descent; | |
226 double height; | |
227 double max_x_advance; | |
228 double max_y_advance; | |
229 } | |
230 struct cairo_text_extents_t { | |
231 double x_bearing; | |
232 double y_bearing; | |
233 double width; | |
234 double height; | |
235 double x_advance; | |
236 double y_advance; | |
237 } | |
238 struct cairo_glyph_t { | |
239 uint index; | |
240 double x; | |
241 double y; | |
242 } | |
243 struct _cairo_rectangle_list { | |
244 int status; | |
245 _cairo_rectangle * rectangles; | |
246 int num_rectangles; | |
247 } | |
248 struct _cairo_rectangle { | |
249 double x; | |
250 double y; | |
251 double width; | |
252 double height; | |
253 } | |
254 struct _cairo_user_data_key { | |
255 int unused; | |
256 } | |
257 struct _cairo_matrix { | |
258 double xx; | |
259 double yx; | |
260 double xy; | |
261 double yy; | |
262 double x0; | |
263 double y0; | |
264 } | |
265 version(DYNLINK){ | |
266 extern (C) void function()cairo_debug_reset_static_data; | |
267 extern (C) void function(_cairo_matrix *, double *, double *)cairo_matrix_transform_point; | |
268 extern (C) void function(_cairo_matrix *, double *, double *)cairo_matrix_transform_distance; | |
269 extern (C) void function(_cairo_matrix *, _cairo_matrix *, _cairo_matrix *)cairo_matrix_multiply; | |
270 extern (C) int function(_cairo_matrix *)cairo_matrix_invert; | |
271 extern (C) void function(_cairo_matrix *, double)cairo_matrix_rotate; | |
272 extern (C) void function(_cairo_matrix *, double, double)cairo_matrix_scale; | |
273 extern (C) void function(_cairo_matrix *, double, double)cairo_matrix_translate; | |
274 extern (C) void function(_cairo_matrix *, double)cairo_matrix_init_rotate; | |
275 extern (C) void function(_cairo_matrix *, double, double)cairo_matrix_init_scale; | |
276 extern (C) void function(_cairo_matrix *, double, double)cairo_matrix_init_translate; | |
277 extern (C) void function(_cairo_matrix *)cairo_matrix_init_identity; | |
278 extern (C) void function(_cairo_matrix *, double, double, double, double, double, double)cairo_matrix_init; | |
279 extern (C) int function(void *, double *, double *, double *, double *, double *, double *)cairo_pattern_get_radial_circles; | |
280 extern (C) int function(void *, double *, double *, double *, double *)cairo_pattern_get_linear_points; | |
281 extern (C) int function(void *, int *)cairo_pattern_get_color_stop_count; | |
282 extern (C) int function(void *, int, double *, double *, double *, double *, double *)cairo_pattern_get_color_stop_rgba; | |
283 extern (C) int function(void *, void * *)cairo_pattern_get_surface; | |
284 extern (C) int function(void *, double *, double *, double *, double *)cairo_pattern_get_rgba; | |
285 extern (C) int function(void *)cairo_pattern_get_filter; | |
286 extern (C) void function(void *, int)cairo_pattern_set_filter; | |
287 extern (C) int function(void *)cairo_pattern_get_extend; | |
288 extern (C) void function(void *, int)cairo_pattern_set_extend; | |
289 extern (C) void function(void *, _cairo_matrix *)cairo_pattern_get_matrix; | |
290 extern (C) void function(void *, _cairo_matrix *)cairo_pattern_set_matrix; | |
291 extern (C) void function(void *, double, double, double, double, double)cairo_pattern_add_color_stop_rgba; | |
292 extern (C) void function(void *, double, double, double, double)cairo_pattern_add_color_stop_rgb; | |
293 extern (C) int function(void *)cairo_pattern_get_type; | |
294 extern (C) int function(void *, _cairo_user_data_key *, void *, _BCD_func__481)cairo_pattern_set_user_data; | |
295 extern (C) void * function(void *, _cairo_user_data_key *)cairo_pattern_get_user_data; | |
296 extern (C) int function(void *)cairo_pattern_status; | |
297 extern (C) uint function(void *)cairo_pattern_get_reference_count; | |
298 extern (C) void function(void *)cairo_pattern_destroy; | |
299 extern (C) void * function(void *)cairo_pattern_reference; | |
300 extern (C) void * function(double, double, double, double, double, double)cairo_pattern_create_radial; | |
301 extern (C) void * function(double, double, double, double)cairo_pattern_create_linear; | |
302 extern (C) void * function(void *)cairo_pattern_create_for_surface; | |
303 extern (C) void * function(double, double, double, double)cairo_pattern_create_rgba; | |
304 extern (C) void * function(double, double, double)cairo_pattern_create_rgb; | |
305 extern (C) void * function(_BCD_func__476, void *)cairo_image_surface_create_from_png_stream; | |
306 extern (C) void * function(char *)cairo_image_surface_create_from_png; | |
307 extern (C) int function(void *)cairo_image_surface_get_stride; | |
308 extern (C) int function(void *)cairo_image_surface_get_height; | |
309 extern (C) int function(void *)cairo_image_surface_get_width; | |
310 extern (C) int function(void *)cairo_image_surface_get_format; | |
311 extern (C) char * function(void *)cairo_image_surface_get_data; | |
312 extern (C) void * function(char *, int, int, int, int)cairo_image_surface_create_for_data; | |
313 extern (C) void * function(int, int, int)cairo_image_surface_create; | |
314 extern (C) void function(void *, double, double)cairo_surface_set_fallback_resolution; | |
315 extern (C) void function(void *, double *, double *)cairo_surface_get_device_offset; | |
316 extern (C) void function(void *, double, double)cairo_surface_set_device_offset; | |
317 extern (C) void function(void *, int, int, int, int)cairo_surface_mark_dirty_rectangle; | |
318 extern (C) void function(void *)cairo_surface_mark_dirty; | |
319 extern (C) void function(void *)cairo_surface_flush; | |
320 extern (C) void function(void *, void *)cairo_surface_get_font_options; | |
321 extern (C) int function(void *, _cairo_user_data_key *, void *, _BCD_func__481)cairo_surface_set_user_data; | |
322 extern (C) void * function(void *, _cairo_user_data_key *)cairo_surface_get_user_data; | |
323 extern (C) int function(void *, _BCD_func__477, void *)cairo_surface_write_to_png_stream; | |
324 extern (C) int function(void *, char *)cairo_surface_write_to_png; | |
325 extern (C) int function(void *)cairo_surface_get_content; | |
326 extern (C) int function(void *)cairo_surface_get_type; | |
327 extern (C) int function(void *)cairo_surface_status; | |
328 extern (C) uint function(void *)cairo_surface_get_reference_count; | |
329 extern (C) void function(void *)cairo_surface_destroy; | |
330 extern (C) void function(void *)cairo_surface_finish; | |
331 extern (C) void * function(void *)cairo_surface_reference; | |
332 extern (C) void * function(void *, int, int, int)cairo_surface_create_similar; | |
333 extern (C) char * function(int)cairo_status_to_string; | |
334 extern (C) int function(void *)cairo_status; | |
335 extern (C) void function(cairo_path *)cairo_path_destroy; | |
336 extern (C) void function(void *, cairo_path *)cairo_append_path; | |
337 extern (C) cairo_path * function(void *)cairo_copy_path_flat; | |
338 extern (C) cairo_path * function(void *)cairo_copy_path; | |
339 extern (C) void * function(void *)cairo_get_group_target; | |
340 extern (C) void * function(void *)cairo_get_target; | |
341 extern (C) void function(void *, _cairo_matrix *)cairo_get_matrix; | |
342 extern (C) void function(void *, double *, double *)cairo_get_dash; | |
343 extern (C) int function(void *)cairo_get_dash_count; | |
344 extern (C) double function(void *)cairo_get_miter_limit; | |
345 extern (C) int function(void *)cairo_get_line_join; | |
346 extern (C) int function(void *)cairo_get_line_cap; | |
347 extern (C) double function(void *)cairo_get_line_width; | |
348 extern (C) int function(void *)cairo_get_fill_rule; | |
349 extern (C) void function(void *, double *, double *)cairo_get_current_point; | |
350 extern (C) int function(void *)cairo_get_antialias; | |
351 extern (C) double function(void *)cairo_get_tolerance; | |
352 extern (C) void * function(void *)cairo_get_source; | |
353 extern (C) int function(void *)cairo_get_operator; | |
354 extern (C) void function(void *, void *)cairo_scaled_font_get_font_options; | |
355 extern (C) void function(void *, _cairo_matrix *)cairo_scaled_font_get_ctm; | |
356 extern (C) void function(void *, _cairo_matrix *)cairo_scaled_font_get_font_matrix; | |
357 extern (C) void * function(void *)cairo_scaled_font_get_font_face; | |
358 extern (C) void function(void *, cairo_glyph_t *, int, cairo_text_extents_t *)cairo_scaled_font_glyph_extents; | |
359 extern (C) void function(void *, char *, cairo_text_extents_t *)cairo_scaled_font_text_extents; | |
360 extern (C) void function(void *, cairo_font_extents_t *)cairo_scaled_font_extents; | |
361 extern (C) int function(void *, _cairo_user_data_key *, void *, _BCD_func__481)cairo_scaled_font_set_user_data; | |
362 extern (C) void * function(void *, _cairo_user_data_key *)cairo_scaled_font_get_user_data; | |
363 extern (C) int function(void *)cairo_scaled_font_get_type; | |
364 extern (C) int function(void *)cairo_scaled_font_status; | |
365 extern (C) uint function(void *)cairo_scaled_font_get_reference_count; | |
366 extern (C) void function(void *)cairo_scaled_font_destroy; | |
367 extern (C) void * function(void *)cairo_scaled_font_reference; | |
368 extern (C) void * function(void *, _cairo_matrix *, _cairo_matrix *, void *)cairo_scaled_font_create; | |
369 extern (C) int function(void *, _cairo_user_data_key *, void *, _BCD_func__481)cairo_font_face_set_user_data; | |
370 extern (C) void * function(void *, _cairo_user_data_key *)cairo_font_face_get_user_data; | |
371 extern (C) int function(void *)cairo_font_face_get_type; | |
372 extern (C) int function(void *)cairo_font_face_status; | |
373 extern (C) uint function(void *)cairo_font_face_get_reference_count; | |
374 extern (C) void function(void *)cairo_font_face_destroy; | |
375 extern (C) void * function(void *)cairo_font_face_reference; | |
376 extern (C) void function(void *, cairo_font_extents_t *)cairo_font_extents; | |
377 extern (C) void function(void *, cairo_glyph_t *, int, cairo_text_extents_t *)cairo_glyph_extents; | |
378 extern (C) void function(void *, char *, cairo_text_extents_t *)cairo_text_extents; | |
379 extern (C) void function(void *, cairo_glyph_t *, int)cairo_glyph_path; | |
380 extern (C) void function(void *, char *)cairo_text_path; | |
381 extern (C) void function(void *, cairo_glyph_t *, int)cairo_show_glyphs; | |
382 extern (C) void function(void *, char *)cairo_show_text; | |
383 extern (C) void * function(void *)cairo_get_scaled_font; | |
384 extern (C) void function(void *, void *)cairo_set_scaled_font; | |
385 extern (C) void * function(void *)cairo_get_font_face; | |
386 extern (C) void function(void *, void *)cairo_set_font_face; | |
387 extern (C) void function(void *, void *)cairo_get_font_options; | |
388 extern (C) void function(void *, void *)cairo_set_font_options; | |
389 extern (C) void function(void *, _cairo_matrix *)cairo_get_font_matrix; | |
390 extern (C) void function(void *, _cairo_matrix *)cairo_set_font_matrix; | |
391 extern (C) void function(void *, double)cairo_set_font_size; | |
392 extern (C) void function(void *, char *, int, int)cairo_select_font_face; | |
393 extern (C) int function(void *)cairo_font_options_get_hint_metrics; | |
394 extern (C) void function(void *, int)cairo_font_options_set_hint_metrics; | |
395 extern (C) int function(void *)cairo_font_options_get_hint_style; | |
396 extern (C) void function(void *, int)cairo_font_options_set_hint_style; | |
397 extern (C) int function(void *)cairo_font_options_get_subpixel_order; | |
398 extern (C) void function(void *, int)cairo_font_options_set_subpixel_order; | |
399 extern (C) int function(void *)cairo_font_options_get_antialias; | |
400 extern (C) void function(void *, int)cairo_font_options_set_antialias; | |
401 extern (C) uint function(void *)cairo_font_options_hash; | |
402 extern (C) int function(void *, void *)cairo_font_options_equal; | |
403 extern (C) void function(void *, void *)cairo_font_options_merge; | |
404 extern (C) int function(void *)cairo_font_options_status; | |
405 extern (C) void function(void *)cairo_font_options_destroy; | |
406 extern (C) void * function(void *)cairo_font_options_copy; | |
407 extern (C) void * function()cairo_font_options_create; | |
408 extern (C) void function(_cairo_rectangle_list *)cairo_rectangle_list_destroy; | |
409 extern (C) _cairo_rectangle_list * function(void *)cairo_copy_clip_rectangle_list; | |
410 extern (C) void function(void *, double *, double *, double *, double *)cairo_clip_extents; | |
411 extern (C) void function(void *)cairo_clip_preserve; | |
412 extern (C) void function(void *)cairo_clip; | |
413 extern (C) void function(void *)cairo_reset_clip; | |
414 extern (C) void function(void *, double *, double *, double *, double *)cairo_fill_extents; | |
415 extern (C) void function(void *, double *, double *, double *, double *)cairo_stroke_extents; | |
416 extern (C) int function(void *, double, double)cairo_in_fill; | |
417 extern (C) int function(void *, double, double)cairo_in_stroke; | |
418 extern (C) void function(void *)cairo_show_page; | |
419 extern (C) void function(void *)cairo_copy_page; | |
420 extern (C) void function(void *)cairo_fill_preserve; | |
421 extern (C) void function(void *)cairo_fill; | |
422 extern (C) void function(void *)cairo_stroke_preserve; | |
423 extern (C) void function(void *)cairo_stroke; | |
424 extern (C) void function(void *, void *, double, double)cairo_mask_surface; | |
425 extern (C) void function(void *, void *)cairo_mask; | |
426 extern (C) void function(void *, double)cairo_paint_with_alpha; | |
427 extern (C) void function(void *)cairo_paint; | |
428 extern (C) void function(void *)cairo_close_path; | |
429 extern (C) void function(void *, double, double, double, double)cairo_rectangle; | |
430 extern (C) void function(void *, double, double, double, double, double, double)cairo_rel_curve_to; | |
431 extern (C) void function(void *, double, double)cairo_rel_line_to; | |
432 extern (C) void function(void *, double, double)cairo_rel_move_to; | |
433 extern (C) void function(void *, double, double, double, double, double)cairo_arc_negative; | |
434 extern (C) void function(void *, double, double, double, double, double)cairo_arc; | |
435 extern (C) void function(void *, double, double, double, double, double, double)cairo_curve_to; | |
436 extern (C) void function(void *, double, double)cairo_line_to; | |
437 extern (C) void function(void *)cairo_new_sub_path; | |
438 extern (C) void function(void *, double, double)cairo_move_to; | |
439 extern (C) void function(void *)cairo_new_path; | |
440 extern (C) void function(void *, double *, double *)cairo_device_to_user_distance; | |
441 extern (C) void function(void *, double *, double *)cairo_device_to_user; | |
442 extern (C) void function(void *, double *, double *)cairo_user_to_device_distance; | |
443 extern (C) void function(void *, double *, double *)cairo_user_to_device; | |
444 extern (C) void function(void *)cairo_identity_matrix; | |
445 extern (C) void function(void *, _cairo_matrix *)cairo_set_matrix; | |
446 extern (C) void function(void *, _cairo_matrix *)cairo_transform; | |
447 extern (C) void function(void *, double)cairo_rotate; | |
448 extern (C) void function(void *, double, double)cairo_scale; | |
449 extern (C) void function(void *, double, double)cairo_translate; | |
450 extern (C) void function(void *, double)cairo_set_miter_limit; | |
451 extern (C) void function(void *, double *, int, double)cairo_set_dash; | |
452 extern (C) void function(void *, int)cairo_set_line_join; | |
453 extern (C) void function(void *, int)cairo_set_line_cap; | |
454 extern (C) void function(void *, double)cairo_set_line_width; | |
455 extern (C) void function(void *, int)cairo_set_fill_rule; | |
456 extern (C) void function(void *, int)cairo_set_antialias; | |
457 extern (C) void function(void *, double)cairo_set_tolerance; | |
458 extern (C) void function(void *, void *, double, double)cairo_set_source_surface; | |
459 extern (C) void function(void *, double, double, double, double)cairo_set_source_rgba; | |
460 extern (C) void function(void *, double, double, double)cairo_set_source_rgb; | |
461 extern (C) void function(void *, void *)cairo_set_source; | |
462 extern (C) void function(void *, int)cairo_set_operator; | |
463 extern (C) void function(void *)cairo_pop_group_to_source; | |
464 extern (C) void * function(void *)cairo_pop_group; | |
465 extern (C) void function(void *, int)cairo_push_group_with_content; | |
466 extern (C) void function(void *)cairo_push_group; | |
467 extern (C) void function(void *)cairo_restore; | |
468 extern (C) void function(void *)cairo_save; | |
469 extern (C) int function(void *, _cairo_user_data_key *, void *, _BCD_func__481)cairo_set_user_data; | |
470 extern (C) void * function(void *, _cairo_user_data_key *)cairo_get_user_data; | |
471 extern (C) uint function(void *)cairo_get_reference_count; | |
472 extern (C) void function(void *)cairo_destroy; | |
473 extern (C) void * function(void *)cairo_reference; | |
474 extern (C) void * function(void *)cairo_create; | |
475 extern (C) char * function()cairo_version_string; | |
476 extern (C) int function()cairo_version; | |
477 | |
478 | |
479 Symbol[] symbols = [ | |
480 { "cairo_debug_reset_static_data", cast(void**)& cairo_debug_reset_static_data}, | |
481 { "cairo_matrix_transform_point", cast(void**)& cairo_matrix_transform_point}, | |
482 { "cairo_matrix_transform_distance", cast(void**)& cairo_matrix_transform_distance}, | |
483 { "cairo_matrix_multiply", cast(void**)& cairo_matrix_multiply}, | |
484 { "cairo_matrix_invert", cast(void**)& cairo_matrix_invert}, | |
485 { "cairo_matrix_rotate", cast(void**)& cairo_matrix_rotate}, | |
486 { "cairo_matrix_scale", cast(void**)& cairo_matrix_scale}, | |
487 { "cairo_matrix_translate", cast(void**)& cairo_matrix_translate}, | |
488 { "cairo_matrix_init_rotate", cast(void**)& cairo_matrix_init_rotate}, | |
489 { "cairo_matrix_init_scale", cast(void**)& cairo_matrix_init_scale}, | |
490 { "cairo_matrix_init_translate", cast(void**)& cairo_matrix_init_translate}, | |
491 { "cairo_matrix_init_identity", cast(void**)& cairo_matrix_init_identity}, | |
492 { "cairo_matrix_init", cast(void**)& cairo_matrix_init}, | |
493 { "cairo_pattern_get_radial_circles", cast(void**)& cairo_pattern_get_radial_circles}, | |
494 { "cairo_pattern_get_linear_points", cast(void**)& cairo_pattern_get_linear_points}, | |
495 { "cairo_pattern_get_color_stop_count", cast(void**)& cairo_pattern_get_color_stop_count}, | |
496 { "cairo_pattern_get_color_stop_rgba", cast(void**)& cairo_pattern_get_color_stop_rgba}, | |
497 { "cairo_pattern_get_surface", cast(void**)& cairo_pattern_get_surface}, | |
498 { "cairo_pattern_get_rgba", cast(void**)& cairo_pattern_get_rgba}, | |
499 { "cairo_pattern_get_filter", cast(void**)& cairo_pattern_get_filter}, | |
500 { "cairo_pattern_set_filter", cast(void**)& cairo_pattern_set_filter}, | |
501 { "cairo_pattern_get_extend", cast(void**)& cairo_pattern_get_extend}, | |
502 { "cairo_pattern_set_extend", cast(void**)& cairo_pattern_set_extend}, | |
503 { "cairo_pattern_get_matrix", cast(void**)& cairo_pattern_get_matrix}, | |
504 { "cairo_pattern_set_matrix", cast(void**)& cairo_pattern_set_matrix}, | |
505 { "cairo_pattern_add_color_stop_rgba", cast(void**)& cairo_pattern_add_color_stop_rgba}, | |
506 { "cairo_pattern_add_color_stop_rgb", cast(void**)& cairo_pattern_add_color_stop_rgb}, | |
507 { "cairo_pattern_get_type", cast(void**)& cairo_pattern_get_type}, | |
508 { "cairo_pattern_set_user_data", cast(void**)& cairo_pattern_set_user_data}, | |
509 { "cairo_pattern_get_user_data", cast(void**)& cairo_pattern_get_user_data}, | |
510 { "cairo_pattern_status", cast(void**)& cairo_pattern_status}, | |
511 { "cairo_pattern_get_reference_count", cast(void**)& cairo_pattern_get_reference_count}, | |
512 { "cairo_pattern_destroy", cast(void**)& cairo_pattern_destroy}, | |
513 { "cairo_pattern_reference", cast(void**)& cairo_pattern_reference}, | |
514 { "cairo_pattern_create_radial", cast(void**)& cairo_pattern_create_radial}, | |
515 { "cairo_pattern_create_linear", cast(void**)& cairo_pattern_create_linear}, | |
516 { "cairo_pattern_create_for_surface", cast(void**)& cairo_pattern_create_for_surface}, | |
517 { "cairo_pattern_create_rgba", cast(void**)& cairo_pattern_create_rgba}, | |
518 { "cairo_pattern_create_rgb", cast(void**)& cairo_pattern_create_rgb}, | |
519 { "cairo_image_surface_create_from_png_stream", cast(void**)& cairo_image_surface_create_from_png_stream}, | |
520 { "cairo_image_surface_create_from_png", cast(void**)& cairo_image_surface_create_from_png}, | |
521 { "cairo_image_surface_get_stride", cast(void**)& cairo_image_surface_get_stride}, | |
522 { "cairo_image_surface_get_height", cast(void**)& cairo_image_surface_get_height}, | |
523 { "cairo_image_surface_get_width", cast(void**)& cairo_image_surface_get_width}, | |
524 { "cairo_image_surface_get_format", cast(void**)& cairo_image_surface_get_format}, | |
525 { "cairo_image_surface_get_data", cast(void**)& cairo_image_surface_get_data}, | |
526 { "cairo_image_surface_create_for_data", cast(void**)& cairo_image_surface_create_for_data}, | |
527 { "cairo_image_surface_create", cast(void**)& cairo_image_surface_create}, | |
528 { "cairo_surface_set_fallback_resolution", cast(void**)& cairo_surface_set_fallback_resolution}, | |
529 { "cairo_surface_get_device_offset", cast(void**)& cairo_surface_get_device_offset}, | |
530 { "cairo_surface_set_device_offset", cast(void**)& cairo_surface_set_device_offset}, | |
531 { "cairo_surface_mark_dirty_rectangle", cast(void**)& cairo_surface_mark_dirty_rectangle}, | |
532 { "cairo_surface_mark_dirty", cast(void**)& cairo_surface_mark_dirty}, | |
533 { "cairo_surface_flush", cast(void**)& cairo_surface_flush}, | |
534 { "cairo_surface_get_font_options", cast(void**)& cairo_surface_get_font_options}, | |
535 { "cairo_surface_set_user_data", cast(void**)& cairo_surface_set_user_data}, | |
536 { "cairo_surface_get_user_data", cast(void**)& cairo_surface_get_user_data}, | |
537 { "cairo_surface_write_to_png_stream", cast(void**)& cairo_surface_write_to_png_stream}, | |
538 { "cairo_surface_write_to_png", cast(void**)& cairo_surface_write_to_png}, | |
539 { "cairo_surface_get_content", cast(void**)& cairo_surface_get_content}, | |
540 { "cairo_surface_get_type", cast(void**)& cairo_surface_get_type}, | |
541 { "cairo_surface_status", cast(void**)& cairo_surface_status}, | |
542 { "cairo_surface_get_reference_count", cast(void**)& cairo_surface_get_reference_count}, | |
543 { "cairo_surface_destroy", cast(void**)& cairo_surface_destroy}, | |
544 { "cairo_surface_finish", cast(void**)& cairo_surface_finish}, | |
545 { "cairo_surface_reference", cast(void**)& cairo_surface_reference}, | |
546 { "cairo_surface_create_similar", cast(void**)& cairo_surface_create_similar}, | |
547 { "cairo_status_to_string", cast(void**)& cairo_status_to_string}, | |
548 { "cairo_status", cast(void**)& cairo_status}, | |
549 { "cairo_path_destroy", cast(void**)& cairo_path_destroy}, | |
550 { "cairo_append_path", cast(void**)& cairo_append_path}, | |
551 { "cairo_copy_path_flat", cast(void**)& cairo_copy_path_flat}, | |
552 { "cairo_copy_path", cast(void**)& cairo_copy_path}, | |
553 { "cairo_get_group_target", cast(void**)& cairo_get_group_target}, | |
554 { "cairo_get_target", cast(void**)& cairo_get_target}, | |
555 { "cairo_get_matrix", cast(void**)& cairo_get_matrix}, | |
556 { "cairo_get_dash", cast(void**)& cairo_get_dash}, | |
557 { "cairo_get_dash_count", cast(void**)& cairo_get_dash_count}, | |
558 { "cairo_get_miter_limit", cast(void**)& cairo_get_miter_limit}, | |
559 { "cairo_get_line_join", cast(void**)& cairo_get_line_join}, | |
560 { "cairo_get_line_cap", cast(void**)& cairo_get_line_cap}, | |
561 { "cairo_get_line_width", cast(void**)& cairo_get_line_width}, | |
562 { "cairo_get_fill_rule", cast(void**)& cairo_get_fill_rule}, | |
563 { "cairo_get_current_point", cast(void**)& cairo_get_current_point}, | |
564 { "cairo_get_antialias", cast(void**)& cairo_get_antialias}, | |
565 { "cairo_get_tolerance", cast(void**)& cairo_get_tolerance}, | |
566 { "cairo_get_source", cast(void**)& cairo_get_source}, | |
567 { "cairo_get_operator", cast(void**)& cairo_get_operator}, | |
568 { "cairo_scaled_font_get_font_options", cast(void**)& cairo_scaled_font_get_font_options}, | |
569 { "cairo_scaled_font_get_ctm", cast(void**)& cairo_scaled_font_get_ctm}, | |
570 { "cairo_scaled_font_get_font_matrix", cast(void**)& cairo_scaled_font_get_font_matrix}, | |
571 { "cairo_scaled_font_get_font_face", cast(void**)& cairo_scaled_font_get_font_face}, | |
572 { "cairo_scaled_font_glyph_extents", cast(void**)& cairo_scaled_font_glyph_extents}, | |
573 { "cairo_scaled_font_text_extents", cast(void**)& cairo_scaled_font_text_extents}, | |
574 { "cairo_scaled_font_extents", cast(void**)& cairo_scaled_font_extents}, | |
575 { "cairo_scaled_font_set_user_data", cast(void**)& cairo_scaled_font_set_user_data}, | |
576 { "cairo_scaled_font_get_user_data", cast(void**)& cairo_scaled_font_get_user_data}, | |
577 { "cairo_scaled_font_get_type", cast(void**)& cairo_scaled_font_get_type}, | |
578 { "cairo_scaled_font_status", cast(void**)& cairo_scaled_font_status}, | |
579 { "cairo_scaled_font_get_reference_count", cast(void**)& cairo_scaled_font_get_reference_count}, | |
580 { "cairo_scaled_font_destroy", cast(void**)& cairo_scaled_font_destroy}, | |
581 { "cairo_scaled_font_reference", cast(void**)& cairo_scaled_font_reference}, | |
582 { "cairo_scaled_font_create", cast(void**)& cairo_scaled_font_create}, | |
583 { "cairo_font_face_set_user_data", cast(void**)& cairo_font_face_set_user_data}, | |
584 { "cairo_font_face_get_user_data", cast(void**)& cairo_font_face_get_user_data}, | |
585 { "cairo_font_face_get_type", cast(void**)& cairo_font_face_get_type}, | |
586 { "cairo_font_face_status", cast(void**)& cairo_font_face_status}, | |
587 { "cairo_font_face_get_reference_count", cast(void**)& cairo_font_face_get_reference_count}, | |
588 { "cairo_font_face_destroy", cast(void**)& cairo_font_face_destroy}, | |
589 { "cairo_font_face_reference", cast(void**)& cairo_font_face_reference}, | |
590 { "cairo_font_extents", cast(void**)& cairo_font_extents}, | |
591 { "cairo_glyph_extents", cast(void**)& cairo_glyph_extents}, | |
592 { "cairo_text_extents", cast(void**)& cairo_text_extents}, | |
593 { "cairo_glyph_path", cast(void**)& cairo_glyph_path}, | |
594 { "cairo_text_path", cast(void**)& cairo_text_path}, | |
595 { "cairo_show_glyphs", cast(void**)& cairo_show_glyphs}, | |
596 { "cairo_show_text", cast(void**)& cairo_show_text}, | |
597 { "cairo_get_scaled_font", cast(void**)& cairo_get_scaled_font}, | |
598 { "cairo_set_scaled_font", cast(void**)& cairo_set_scaled_font}, | |
599 { "cairo_get_font_face", cast(void**)& cairo_get_font_face}, | |
600 { "cairo_set_font_face", cast(void**)& cairo_set_font_face}, | |
601 { "cairo_get_font_options", cast(void**)& cairo_get_font_options}, | |
602 { "cairo_set_font_options", cast(void**)& cairo_set_font_options}, | |
603 { "cairo_get_font_matrix", cast(void**)& cairo_get_font_matrix}, | |
604 { "cairo_set_font_matrix", cast(void**)& cairo_set_font_matrix}, | |
605 { "cairo_set_font_size", cast(void**)& cairo_set_font_size}, | |
606 { "cairo_select_font_face", cast(void**)& cairo_select_font_face}, | |
607 { "cairo_font_options_get_hint_metrics", cast(void**)& cairo_font_options_get_hint_metrics}, | |
608 { "cairo_font_options_set_hint_metrics", cast(void**)& cairo_font_options_set_hint_metrics}, | |
609 { "cairo_font_options_get_hint_style", cast(void**)& cairo_font_options_get_hint_style}, | |
610 { "cairo_font_options_set_hint_style", cast(void**)& cairo_font_options_set_hint_style}, | |
611 { "cairo_font_options_get_subpixel_order", cast(void**)& cairo_font_options_get_subpixel_order}, | |
612 { "cairo_font_options_set_subpixel_order", cast(void**)& cairo_font_options_set_subpixel_order}, | |
613 { "cairo_font_options_get_antialias", cast(void**)& cairo_font_options_get_antialias}, | |
614 { "cairo_font_options_set_antialias", cast(void**)& cairo_font_options_set_antialias}, | |
615 { "cairo_font_options_hash", cast(void**)& cairo_font_options_hash}, | |
616 { "cairo_font_options_equal", cast(void**)& cairo_font_options_equal}, | |
617 { "cairo_font_options_merge", cast(void**)& cairo_font_options_merge}, | |
618 { "cairo_font_options_status", cast(void**)& cairo_font_options_status}, | |
619 { "cairo_font_options_destroy", cast(void**)& cairo_font_options_destroy}, | |
620 { "cairo_font_options_copy", cast(void**)& cairo_font_options_copy}, | |
621 { "cairo_font_options_create", cast(void**)& cairo_font_options_create}, | |
622 { "cairo_rectangle_list_destroy", cast(void**)& cairo_rectangle_list_destroy}, | |
623 { "cairo_copy_clip_rectangle_list", cast(void**)& cairo_copy_clip_rectangle_list}, | |
624 { "cairo_clip_extents", cast(void**)& cairo_clip_extents}, | |
625 { "cairo_clip_preserve", cast(void**)& cairo_clip_preserve}, | |
626 { "cairo_clip", cast(void**)& cairo_clip}, | |
627 { "cairo_reset_clip", cast(void**)& cairo_reset_clip}, | |
628 { "cairo_fill_extents", cast(void**)& cairo_fill_extents}, | |
629 { "cairo_stroke_extents", cast(void**)& cairo_stroke_extents}, | |
630 { "cairo_in_fill", cast(void**)& cairo_in_fill}, | |
631 { "cairo_in_stroke", cast(void**)& cairo_in_stroke}, | |
632 { "cairo_show_page", cast(void**)& cairo_show_page}, | |
633 { "cairo_copy_page", cast(void**)& cairo_copy_page}, | |
634 { "cairo_fill_preserve", cast(void**)& cairo_fill_preserve}, | |
635 { "cairo_fill", cast(void**)& cairo_fill}, | |
636 { "cairo_stroke_preserve", cast(void**)& cairo_stroke_preserve}, | |
637 { "cairo_stroke", cast(void**)& cairo_stroke}, | |
638 { "cairo_mask_surface", cast(void**)& cairo_mask_surface}, | |
639 { "cairo_mask", cast(void**)& cairo_mask}, | |
640 { "cairo_paint_with_alpha", cast(void**)& cairo_paint_with_alpha}, | |
641 { "cairo_paint", cast(void**)& cairo_paint}, | |
642 { "cairo_close_path", cast(void**)& cairo_close_path}, | |
643 { "cairo_rectangle", cast(void**)& cairo_rectangle}, | |
644 { "cairo_rel_curve_to", cast(void**)& cairo_rel_curve_to}, | |
645 { "cairo_rel_line_to", cast(void**)& cairo_rel_line_to}, | |
646 { "cairo_rel_move_to", cast(void**)& cairo_rel_move_to}, | |
647 { "cairo_arc_negative", cast(void**)& cairo_arc_negative}, | |
648 { "cairo_arc", cast(void**)& cairo_arc}, | |
649 { "cairo_curve_to", cast(void**)& cairo_curve_to}, | |
650 { "cairo_line_to", cast(void**)& cairo_line_to}, | |
651 { "cairo_new_sub_path", cast(void**)& cairo_new_sub_path}, | |
652 { "cairo_move_to", cast(void**)& cairo_move_to}, | |
653 { "cairo_new_path", cast(void**)& cairo_new_path}, | |
654 { "cairo_device_to_user_distance", cast(void**)& cairo_device_to_user_distance}, | |
655 { "cairo_device_to_user", cast(void**)& cairo_device_to_user}, | |
656 { "cairo_user_to_device_distance", cast(void**)& cairo_user_to_device_distance}, | |
657 { "cairo_user_to_device", cast(void**)& cairo_user_to_device}, | |
658 { "cairo_identity_matrix", cast(void**)& cairo_identity_matrix}, | |
659 { "cairo_set_matrix", cast(void**)& cairo_set_matrix}, | |
660 { "cairo_transform", cast(void**)& cairo_transform}, | |
661 { "cairo_rotate", cast(void**)& cairo_rotate}, | |
662 { "cairo_scale", cast(void**)& cairo_scale}, | |
663 { "cairo_translate", cast(void**)& cairo_translate}, | |
664 { "cairo_set_miter_limit", cast(void**)& cairo_set_miter_limit}, | |
665 { "cairo_set_dash", cast(void**)& cairo_set_dash}, | |
666 { "cairo_set_line_join", cast(void**)& cairo_set_line_join}, | |
667 { "cairo_set_line_cap", cast(void**)& cairo_set_line_cap}, | |
668 { "cairo_set_line_width", cast(void**)& cairo_set_line_width}, | |
669 { "cairo_set_fill_rule", cast(void**)& cairo_set_fill_rule}, | |
670 { "cairo_set_antialias", cast(void**)& cairo_set_antialias}, | |
671 { "cairo_set_tolerance", cast(void**)& cairo_set_tolerance}, | |
672 { "cairo_set_source_surface", cast(void**)& cairo_set_source_surface}, | |
673 { "cairo_set_source_rgba", cast(void**)& cairo_set_source_rgba}, | |
674 { "cairo_set_source_rgb", cast(void**)& cairo_set_source_rgb}, | |
675 { "cairo_set_source", cast(void**)& cairo_set_source}, | |
676 { "cairo_set_operator", cast(void**)& cairo_set_operator}, | |
677 { "cairo_pop_group_to_source", cast(void**)& cairo_pop_group_to_source}, | |
678 { "cairo_pop_group", cast(void**)& cairo_pop_group}, | |
679 { "cairo_push_group_with_content", cast(void**)& cairo_push_group_with_content}, | |
680 { "cairo_push_group", cast(void**)& cairo_push_group}, | |
681 { "cairo_restore", cast(void**)& cairo_restore}, | |
682 { "cairo_save", cast(void**)& cairo_save}, | |
683 { "cairo_set_user_data", cast(void**)& cairo_set_user_data}, | |
684 { "cairo_get_user_data", cast(void**)& cairo_get_user_data}, | |
685 { "cairo_get_reference_count", cast(void**)& cairo_get_reference_count}, | |
686 { "cairo_destroy", cast(void**)& cairo_destroy}, | |
687 { "cairo_reference", cast(void**)& cairo_reference}, | |
688 { "cairo_create", cast(void**)& cairo_create}, | |
689 { "cairo_version_string", cast(void**)& cairo_version_string}, | |
690 { "cairo_version", cast(void**)& cairo_version}, | |
691 ]; | |
692 | |
693 } else { // version(DYNLINK) | |
694 extern (C) void cairo_debug_reset_static_data(); | |
695 extern (C) void cairo_matrix_transform_point(_cairo_matrix *, double *, double *); | |
696 extern (C) void cairo_matrix_transform_distance(_cairo_matrix *, double *, double *); | |
697 extern (C) void cairo_matrix_multiply(_cairo_matrix *, _cairo_matrix *, _cairo_matrix *); | |
698 extern (C) int cairo_matrix_invert(_cairo_matrix *); | |
699 extern (C) void cairo_matrix_rotate(_cairo_matrix *, double); | |
700 extern (C) void cairo_matrix_scale(_cairo_matrix *, double, double); | |
701 extern (C) void cairo_matrix_translate(_cairo_matrix *, double, double); | |
702 extern (C) void cairo_matrix_init_rotate(_cairo_matrix *, double); | |
703 extern (C) void cairo_matrix_init_scale(_cairo_matrix *, double, double); | |
704 extern (C) void cairo_matrix_init_translate(_cairo_matrix *, double, double); | |
705 extern (C) void cairo_matrix_init_identity(_cairo_matrix *); | |
706 extern (C) void cairo_matrix_init(_cairo_matrix *, double, double, double, double, double, double); | |
707 extern (C) int cairo_pattern_get_radial_circles(void *, double *, double *, double *, double *, double *, double *); | |
708 extern (C) int cairo_pattern_get_linear_points(void *, double *, double *, double *, double *); | |
709 extern (C) int cairo_pattern_get_color_stop_count(void *, int *); | |
710 extern (C) int cairo_pattern_get_color_stop_rgba(void *, int, double *, double *, double *, double *, double *); | |
711 extern (C) int cairo_pattern_get_surface(void *, void * *); | |
712 extern (C) int cairo_pattern_get_rgba(void *, double *, double *, double *, double *); | |
713 extern (C) int cairo_pattern_get_filter(void *); | |
714 extern (C) void cairo_pattern_set_filter(void *, int); | |
715 extern (C) int cairo_pattern_get_extend(void *); | |
716 extern (C) void cairo_pattern_set_extend(void *, int); | |
717 extern (C) void cairo_pattern_get_matrix(void *, _cairo_matrix *); | |
718 extern (C) void cairo_pattern_set_matrix(void *, _cairo_matrix *); | |
719 extern (C) void cairo_pattern_add_color_stop_rgba(void *, double, double, double, double, double); | |
720 extern (C) void cairo_pattern_add_color_stop_rgb(void *, double, double, double, double); | |
721 extern (C) int cairo_pattern_get_type(void *); | |
722 extern (C) int cairo_pattern_set_user_data(void *, _cairo_user_data_key *, void *, _BCD_func__481); | |
723 extern (C) void * cairo_pattern_get_user_data(void *, _cairo_user_data_key *); | |
724 extern (C) int cairo_pattern_status(void *); | |
725 extern (C) uint cairo_pattern_get_reference_count(void *); | |
726 extern (C) void cairo_pattern_destroy(void *); | |
727 extern (C) void * cairo_pattern_reference(void *); | |
728 extern (C) void * cairo_pattern_create_radial(double, double, double, double, double, double); | |
729 extern (C) void * cairo_pattern_create_linear(double, double, double, double); | |
730 extern (C) void * cairo_pattern_create_for_surface(void *); | |
731 extern (C) void * cairo_pattern_create_rgba(double, double, double, double); | |
732 extern (C) void * cairo_pattern_create_rgb(double, double, double); | |
733 extern (C) void * cairo_image_surface_create_from_png_stream(_BCD_func__476, void *); | |
734 extern (C) void * cairo_image_surface_create_from_png(char *); | |
735 extern (C) int cairo_image_surface_get_stride(void *); | |
736 extern (C) int cairo_image_surface_get_height(void *); | |
737 extern (C) int cairo_image_surface_get_width(void *); | |
738 extern (C) int cairo_image_surface_get_format(void *); | |
739 extern (C) char * cairo_image_surface_get_data(void *); | |
740 extern (C) void * cairo_image_surface_create_for_data(char *, int, int, int, int); | |
741 extern (C) void * cairo_image_surface_create(int, int, int); | |
742 extern (C) void cairo_surface_set_fallback_resolution(void *, double, double); | |
743 extern (C) void cairo_surface_get_device_offset(void *, double *, double *); | |
744 extern (C) void cairo_surface_set_device_offset(void *, double, double); | |
745 extern (C) void cairo_surface_mark_dirty_rectangle(void *, int, int, int, int); | |
746 extern (C) void cairo_surface_mark_dirty(void *); | |
747 extern (C) void cairo_surface_flush(void *); | |
748 extern (C) void cairo_surface_get_font_options(void *, void *); | |
749 extern (C) int cairo_surface_set_user_data(void *, _cairo_user_data_key *, void *, _BCD_func__481); | |
750 extern (C) void * cairo_surface_get_user_data(void *, _cairo_user_data_key *); | |
751 extern (C) int cairo_surface_write_to_png_stream(void *, _BCD_func__477, void *); | |
752 extern (C) int cairo_surface_write_to_png(void *, char *); | |
753 extern (C) int cairo_surface_get_content(void *); | |
754 extern (C) int cairo_surface_get_type(void *); | |
755 extern (C) int cairo_surface_status(void *); | |
756 extern (C) uint cairo_surface_get_reference_count(void *); | |
757 extern (C) void cairo_surface_destroy(void *); | |
758 extern (C) void cairo_surface_finish(void *); | |
759 extern (C) void * cairo_surface_reference(void *); | |
760 extern (C) void * cairo_surface_create_similar(void *, int, int, int); | |
761 extern (C) char * cairo_status_to_string(int); | |
762 extern (C) int cairo_status(void *); | |
763 extern (C) void cairo_path_destroy(cairo_path *); | |
764 extern (C) void cairo_append_path(void *, cairo_path *); | |
765 extern (C) cairo_path * cairo_copy_path_flat(void *); | |
766 extern (C) cairo_path * cairo_copy_path(void *); | |
767 extern (C) void * cairo_get_group_target(void *); | |
768 extern (C) void * cairo_get_target(void *); | |
769 extern (C) void cairo_get_matrix(void *, _cairo_matrix *); | |
770 extern (C) void cairo_get_dash(void *, double *, double *); | |
771 extern (C) int cairo_get_dash_count(void *); | |
772 extern (C) double cairo_get_miter_limit(void *); | |
773 extern (C) int cairo_get_line_join(void *); | |
774 extern (C) int cairo_get_line_cap(void *); | |
775 extern (C) double cairo_get_line_width(void *); | |
776 extern (C) int cairo_get_fill_rule(void *); | |
777 extern (C) void cairo_get_current_point(void *, double *, double *); | |
778 extern (C) int cairo_get_antialias(void *); | |
779 extern (C) double cairo_get_tolerance(void *); | |
780 extern (C) void * cairo_get_source(void *); | |
781 extern (C) int cairo_get_operator(void *); | |
782 extern (C) void cairo_scaled_font_get_font_options(void *, void *); | |
783 extern (C) void cairo_scaled_font_get_ctm(void *, _cairo_matrix *); | |
784 extern (C) void cairo_scaled_font_get_font_matrix(void *, _cairo_matrix *); | |
785 extern (C) void * cairo_scaled_font_get_font_face(void *); | |
786 extern (C) void cairo_scaled_font_glyph_extents(void *, cairo_glyph_t *, int, cairo_text_extents_t *); | |
787 extern (C) void cairo_scaled_font_text_extents(void *, char *, cairo_text_extents_t *); | |
788 extern (C) void cairo_scaled_font_extents(void *, cairo_font_extents_t *); | |
789 extern (C) int cairo_scaled_font_set_user_data(void *, _cairo_user_data_key *, void *, _BCD_func__481); | |
790 extern (C) void * cairo_scaled_font_get_user_data(void *, _cairo_user_data_key *); | |
791 extern (C) int cairo_scaled_font_get_type(void *); | |
792 extern (C) int cairo_scaled_font_status(void *); | |
793 extern (C) uint cairo_scaled_font_get_reference_count(void *); | |
794 extern (C) void cairo_scaled_font_destroy(void *); | |
795 extern (C) void * cairo_scaled_font_reference(void *); | |
796 extern (C) void * cairo_scaled_font_create(void *, _cairo_matrix *, _cairo_matrix *, void *); | |
797 extern (C) int cairo_font_face_set_user_data(void *, _cairo_user_data_key *, void *, _BCD_func__481); | |
798 extern (C) void * cairo_font_face_get_user_data(void *, _cairo_user_data_key *); | |
799 extern (C) int cairo_font_face_get_type(void *); | |
800 extern (C) int cairo_font_face_status(void *); | |
801 extern (C) uint cairo_font_face_get_reference_count(void *); | |
802 extern (C) void cairo_font_face_destroy(void *); | |
803 extern (C) void * cairo_font_face_reference(void *); | |
804 extern (C) void cairo_font_extents(void *, cairo_font_extents_t *); | |
805 extern (C) void cairo_glyph_extents(void *, cairo_glyph_t *, int, cairo_text_extents_t *); | |
806 extern (C) void cairo_text_extents(void *, char *, cairo_text_extents_t *); | |
807 extern (C) void cairo_glyph_path(void *, cairo_glyph_t *, int); | |
808 extern (C) void cairo_text_path(void *, char *); | |
809 extern (C) void cairo_show_glyphs(void *, cairo_glyph_t *, int); | |
810 extern (C) void cairo_show_text(void *, char *); | |
811 extern (C) void * cairo_get_scaled_font(void *); | |
812 extern (C) void cairo_set_scaled_font(void *, void *); | |
813 extern (C) void * cairo_get_font_face(void *); | |
814 extern (C) void cairo_set_font_face(void *, void *); | |
815 extern (C) void cairo_get_font_options(void *, void *); | |
816 extern (C) void cairo_set_font_options(void *, void *); | |
817 extern (C) void cairo_get_font_matrix(void *, _cairo_matrix *); | |
818 extern (C) void cairo_set_font_matrix(void *, _cairo_matrix *); | |
819 extern (C) void cairo_set_font_size(void *, double); | |
820 extern (C) void cairo_select_font_face(void *, char *, int, int); | |
821 extern (C) int cairo_font_options_get_hint_metrics(void *); | |
822 extern (C) void cairo_font_options_set_hint_metrics(void *, int); | |
823 extern (C) int cairo_font_options_get_hint_style(void *); | |
824 extern (C) void cairo_font_options_set_hint_style(void *, int); | |
825 extern (C) int cairo_font_options_get_subpixel_order(void *); | |
826 extern (C) void cairo_font_options_set_subpixel_order(void *, int); | |
827 extern (C) int cairo_font_options_get_antialias(void *); | |
828 extern (C) void cairo_font_options_set_antialias(void *, int); | |
829 extern (C) uint cairo_font_options_hash(void *); | |
830 extern (C) int cairo_font_options_equal(void *, void *); | |
831 extern (C) void cairo_font_options_merge(void *, void *); | |
832 extern (C) int cairo_font_options_status(void *); | |
833 extern (C) void cairo_font_options_destroy(void *); | |
834 extern (C) void * cairo_font_options_copy(void *); | |
835 extern (C) void * cairo_font_options_create(); | |
836 extern (C) void cairo_rectangle_list_destroy(_cairo_rectangle_list *); | |
837 extern (C) _cairo_rectangle_list * cairo_copy_clip_rectangle_list(void *); | |
838 extern (C) void cairo_clip_extents(void *, double *, double *, double *, double *); | |
839 extern (C) void cairo_clip_preserve(void *); | |
840 extern (C) void cairo_clip(void *); | |
841 extern (C) void cairo_reset_clip(void *); | |
842 extern (C) void cairo_fill_extents(void *, double *, double *, double *, double *); | |
843 extern (C) void cairo_stroke_extents(void *, double *, double *, double *, double *); | |
844 extern (C) int cairo_in_fill(void *, double, double); | |
845 extern (C) int cairo_in_stroke(void *, double, double); | |
846 extern (C) void cairo_show_page(void *); | |
847 extern (C) void cairo_copy_page(void *); | |
848 extern (C) void cairo_fill_preserve(void *); | |
849 extern (C) void cairo_fill(void *); | |
850 extern (C) void cairo_stroke_preserve(void *); | |
851 extern (C) void cairo_stroke(void *); | |
852 extern (C) void cairo_mask_surface(void *, void *, double, double); | |
853 extern (C) void cairo_mask(void *, void *); | |
854 extern (C) void cairo_paint_with_alpha(void *, double); | |
855 extern (C) void cairo_paint(void *); | |
856 extern (C) void cairo_close_path(void *); | |
857 extern (C) void cairo_rectangle(void *, double, double, double, double); | |
858 extern (C) void cairo_rel_curve_to(void *, double, double, double, double, double, double); | |
859 extern (C) void cairo_rel_line_to(void *, double, double); | |
860 extern (C) void cairo_rel_move_to(void *, double, double); | |
861 extern (C) void cairo_arc_negative(void *, double, double, double, double, double); | |
862 extern (C) void cairo_arc(void *, double, double, double, double, double); | |
863 extern (C) void cairo_curve_to(void *, double, double, double, double, double, double); | |
864 extern (C) void cairo_line_to(void *, double, double); | |
865 extern (C) void cairo_new_sub_path(void *); | |
866 extern (C) void cairo_move_to(void *, double, double); | |
867 extern (C) void cairo_new_path(void *); | |
868 extern (C) void cairo_device_to_user_distance(void *, double *, double *); | |
869 extern (C) void cairo_device_to_user(void *, double *, double *); | |
870 extern (C) void cairo_user_to_device_distance(void *, double *, double *); | |
871 extern (C) void cairo_user_to_device(void *, double *, double *); | |
872 extern (C) void cairo_identity_matrix(void *); | |
873 extern (C) void cairo_set_matrix(void *, _cairo_matrix *); | |
874 extern (C) void cairo_transform(void *, _cairo_matrix *); | |
875 extern (C) void cairo_rotate(void *, double); | |
876 extern (C) void cairo_scale(void *, double, double); | |
877 extern (C) void cairo_translate(void *, double, double); | |
878 extern (C) void cairo_set_miter_limit(void *, double); | |
879 extern (C) void cairo_set_dash(void *, double *, int, double); | |
880 extern (C) void cairo_set_line_join(void *, int); | |
881 extern (C) void cairo_set_line_cap(void *, int); | |
882 extern (C) void cairo_set_line_width(void *, double); | |
883 extern (C) void cairo_set_fill_rule(void *, int); | |
884 extern (C) void cairo_set_antialias(void *, int); | |
885 extern (C) void cairo_set_tolerance(void *, double); | |
886 extern (C) void cairo_set_source_surface(void *, void *, double, double); | |
887 extern (C) void cairo_set_source_rgba(void *, double, double, double, double); | |
888 extern (C) void cairo_set_source_rgb(void *, double, double, double); | |
889 extern (C) void cairo_set_source(void *, void *); | |
890 extern (C) void cairo_set_operator(void *, int); | |
891 extern (C) void cairo_pop_group_to_source(void *); | |
892 extern (C) void * cairo_pop_group(void *); | |
893 extern (C) void cairo_push_group_with_content(void *, int); | |
894 extern (C) void cairo_push_group(void *); | |
895 extern (C) void cairo_restore(void *); | |
896 extern (C) void cairo_save(void *); | |
897 extern (C) int cairo_set_user_data(void *, _cairo_user_data_key *, void *, _BCD_func__481); | |
898 extern (C) void * cairo_get_user_data(void *, _cairo_user_data_key *); | |
899 extern (C) uint cairo_get_reference_count(void *); | |
900 extern (C) void cairo_destroy(void *); | |
901 extern (C) void * cairo_reference(void *); | |
902 extern (C) void * cairo_create(void *); | |
903 extern (C) char * cairo_version_string(); | |
904 extern (C) int cairo_version(); | |
905 } // version(DYNLINK) |