2 +----------------------------------------------------------------------+
3 | This source file is subject to version 3.0 of the PHP license, |
4 | that is bundled with this package in the file LICENSE, and is |
5 | available through the world-wide-web at the following url: |
6 | http://www.php.net/license/3_0.txt. |
7 | If you did not receive a copy of the PHP license and are unable to |
8 | obtain it through the world-wide-web, please send a note to |
9 | license@php.net so we can mail you a copy immediately. |
10 +----------------------------------------------------------------------+
11 | Authors: Akshat Gupta <g.akshat@gmail.com> |
12 +----------------------------------------------------------------------+
17 #ifndef PHP_PHPCAIRO_H
18 #define PHP_PHPCAIRO_H
34 #include <ext/standard/info.h>
35 #include <Zend/zend_extensions.h>
43 extern zend_module_entry phpCairo_module_entry
;
44 #define phpext_phpCairo_ptr &phpCairo_module_entry
47 #define PHP_PHPCAIRO_API __declspec(dllexport)
49 #define PHP_PHPCAIRO_API
52 PHP_MINIT_FUNCTION(phpCairo
);
53 PHP_MSHUTDOWN_FUNCTION(phpCairo
);
54 PHP_RINIT_FUNCTION(phpCairo
);
55 PHP_RSHUTDOWN_FUNCTION(phpCairo
);
56 PHP_MINFO_FUNCTION(phpCairo
);
62 #define FREE_RESOURCE(resource) zend_list_delete(Z_LVAL_P(resource))
64 #define PROP_GET_LONG(name) Z_LVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
65 #define PROP_SET_LONG(name, l) zend_update_property_long(_this_ce, _this_zval, #name, strlen(#name), l TSRMLS_CC)
67 #define PROP_GET_DOUBLE(name) Z_DVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
68 #define PROP_SET_DOUBLE(name, d) zend_update_property_double(_this_ce, _this_zval, #name, strlen(#name), d TSRMLS_CC)
70 #define PROP_GET_STRING(name) Z_STRVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
71 #define PROP_GET_STRLEN(name) Z_STRLEN_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
72 #define PROP_SET_STRING(name, s) zend_update_property_string(_this_ce, _this_zval, #name, strlen(#name), s TSRMLS_CC)
73 #define PROP_SET_STRINGL(name, s, l) zend_update_property_stringl(_this_ce, _this_zval, #name, strlen(#name), s, l TSRMLS_CC)
76 PHP_FUNCTION(cairo_version
);
77 #if (PHP_MAJOR_VERSION >= 5)
78 ZEND_BEGIN_ARG_INFO_EX(cairo_version_arg_info
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
81 #define cairo_version_arg_info NULL
84 PHP_FUNCTION(cairo_version_string
);
85 #if (PHP_MAJOR_VERSION >= 5)
86 ZEND_BEGIN_ARG_INFO_EX(cairo_version_string_arg_info
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
89 #define cairo_version_string_arg_info NULL
92 PHP_METHOD(CairoContext
, append_path
);
93 #if (PHP_MAJOR_VERSION >= 5)
94 ZEND_BEGIN_ARG_INFO_EX(CairoContext__append_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
95 ZEND_ARG_OBJ_INFO(0, p
, , 1)
98 #define CairoContext__append_path_args NULL
101 PHP_METHOD(CairoContext
, arc
);
102 #if (PHP_MAJOR_VERSION >= 5)
103 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
106 ZEND_ARG_INFO(0, radius
)
107 ZEND_ARG_INFO(0, angle1
)
108 ZEND_ARG_INFO(0, angle2
)
111 #define CairoContext__arc_args NULL
114 PHP_METHOD(CairoContext
, arc_negative
);
115 #if (PHP_MAJOR_VERSION >= 5)
116 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_negative_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
119 ZEND_ARG_INFO(0, radius
)
120 ZEND_ARG_INFO(0, angle1
)
121 ZEND_ARG_INFO(0, angle2
)
124 #define CairoContext__arc_negative_args NULL
127 PHP_METHOD(CairoContext
, clip
);
128 #if (PHP_MAJOR_VERSION >= 5)
129 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
132 #define CairoContext__clip_args NULL
135 PHP_METHOD(CairoContext
, clip_extents
);
136 #if (PHP_MAJOR_VERSION >= 5)
137 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
140 #define CairoContext__clip_extents_args NULL
143 PHP_METHOD(CairoContext
, clip_preserve
);
144 #if (PHP_MAJOR_VERSION >= 5)
145 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
148 #define CairoContext__clip_preserve_args NULL
151 PHP_METHOD(CairoContext
, close_path
);
152 #if (PHP_MAJOR_VERSION >= 5)
153 ZEND_BEGIN_ARG_INFO_EX(CairoContext__close_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
156 #define CairoContext__close_path_args NULL
159 PHP_METHOD(CairoContext
, copy_clip_rectangle_list
);
160 #if (PHP_MAJOR_VERSION >= 5)
161 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_clip_rectangle_list_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
164 #define CairoContext__copy_clip_rectangle_list_args NULL
167 PHP_METHOD(CairoContext
, copy_page
);
168 #if (PHP_MAJOR_VERSION >= 5)
169 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
172 #define CairoContext__copy_page_args NULL
175 PHP_METHOD(CairoContext
, copy_path
);
176 #if (PHP_MAJOR_VERSION >= 5)
177 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
180 #define CairoContext__copy_path_args NULL
183 PHP_METHOD(CairoContext
, copy_path_flat
);
184 #if (PHP_MAJOR_VERSION >= 5)
185 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_flat_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
188 #define CairoContext__copy_path_flat_args NULL
191 PHP_METHOD(CairoContext
, curve_to
);
192 #if (PHP_MAJOR_VERSION >= 5)
193 ZEND_BEGIN_ARG_INFO_EX(CairoContext__curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
202 #define CairoContext__curve_to_args NULL
205 PHP_METHOD(CairoContext
, device_to_user
);
206 #if (PHP_MAJOR_VERSION >= 5)
207 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
212 #define CairoContext__device_to_user_args NULL
215 PHP_METHOD(CairoContext
, device_to_user_distance
);
216 #if (PHP_MAJOR_VERSION >= 5)
217 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
222 #define CairoContext__device_to_user_distance_args NULL
225 PHP_METHOD(CairoContext
, fill
);
226 #if (PHP_MAJOR_VERSION >= 5)
227 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
230 #define CairoContext__fill_args NULL
233 PHP_METHOD(CairoContext
, fill_extents
);
234 #if (PHP_MAJOR_VERSION >= 5)
235 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
238 #define CairoContext__fill_extents_args NULL
241 PHP_METHOD(CairoContext
, fill_preserve
);
242 #if (PHP_MAJOR_VERSION >= 5)
243 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
246 #define CairoContext__fill_preserve_args NULL
249 PHP_METHOD(CairoContext
, font_extents
);
250 #if (PHP_MAJOR_VERSION >= 5)
251 ZEND_BEGIN_ARG_INFO_EX(CairoContext__font_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
254 #define CairoContext__font_extents_args NULL
257 PHP_METHOD(CairoContext
, get_antialias
);
258 #if (PHP_MAJOR_VERSION >= 5)
259 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
262 #define CairoContext__get_antialias_args NULL
265 PHP_METHOD(CairoContext
, get_current_point
);
266 #if (PHP_MAJOR_VERSION >= 5)
267 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
270 #define CairoContext__get_current_point_args NULL
273 PHP_METHOD(CairoContext
, get_dash
);
274 #if (PHP_MAJOR_VERSION >= 5)
275 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
278 #define CairoContext__get_dash_args NULL
281 PHP_METHOD(CairoContext
, get_dash_count
);
282 #if (PHP_MAJOR_VERSION >= 5)
283 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_count_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
286 #define CairoContext__get_dash_count_args NULL
289 PHP_METHOD(CairoContext
, get_fill_rule
);
290 #if (PHP_MAJOR_VERSION >= 5)
291 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
294 #define CairoContext__get_fill_rule_args NULL
297 PHP_METHOD(CairoContext
, get_font_face
);
298 #if (PHP_MAJOR_VERSION >= 5)
299 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
302 #define CairoContext__get_font_face_args NULL
305 PHP_METHOD(CairoContext
, get_font_matrix
);
306 #if (PHP_MAJOR_VERSION >= 5)
307 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
310 #define CairoContext__get_font_matrix_args NULL
313 PHP_METHOD(CairoContext
, get_font_options
);
314 #if (PHP_MAJOR_VERSION >= 5)
315 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
318 #define CairoContext__get_font_options_args NULL
321 PHP_METHOD(CairoContext
, get_group_target
);
322 #if (PHP_MAJOR_VERSION >= 5)
323 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_group_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
326 #define CairoContext__get_group_target_args NULL
329 PHP_METHOD(CairoContext
, get_line_cap
);
330 #if (PHP_MAJOR_VERSION >= 5)
331 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
334 #define CairoContext__get_line_cap_args NULL
337 PHP_METHOD(CairoContext
, get_line_join
);
338 #if (PHP_MAJOR_VERSION >= 5)
339 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
342 #define CairoContext__get_line_join_args NULL
345 PHP_METHOD(CairoContext
, get_line_width
);
346 #if (PHP_MAJOR_VERSION >= 5)
347 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
350 #define CairoContext__get_line_width_args NULL
353 PHP_METHOD(CairoContext
, get_matrix
);
354 #if (PHP_MAJOR_VERSION >= 5)
355 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
358 #define CairoContext__get_matrix_args NULL
361 PHP_METHOD(CairoContext
, get_matrix_limit
);
362 #if (PHP_MAJOR_VERSION >= 5)
363 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_matrix_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
366 #define CairoContext__get_matrix_limit_args NULL
369 PHP_METHOD(CairoContext
, get_operator
);
370 #if (PHP_MAJOR_VERSION >= 5)
371 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
374 #define CairoContext__get_operator_args NULL
377 PHP_METHOD(CairoContext
, get_scaled_font
);
378 #if (PHP_MAJOR_VERSION >= 5)
379 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_scaled_font_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
382 #define CairoContext__get_scaled_font_args NULL
385 PHP_METHOD(CairoContext
, get_source
);
386 #if (PHP_MAJOR_VERSION >= 5)
387 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
390 #define CairoContext__get_source_args NULL
393 PHP_METHOD(CairoContext
, get_target
);
394 #if (PHP_MAJOR_VERSION >= 5)
395 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
398 #define CairoContext__get_target_args NULL
401 PHP_METHOD(CairoContext
, get_tolerance
);
402 #if (PHP_MAJOR_VERSION >= 5)
403 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
406 #define CairoContext__get_tolerance_args NULL
409 PHP_METHOD(CairoContext
, glyph_extents
);
410 #if (PHP_MAJOR_VERSION >= 5)
411 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
412 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
413 ZEND_ARG_INFO(0, num
)
416 #define CairoContext__glyph_extents_args NULL
419 PHP_METHOD(CairoContext
, glyph_path
);
420 #if (PHP_MAJOR_VERSION >= 5)
421 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
422 ZEND_ARG_OBJ_INFO(0, obh
, , 1)
423 ZEND_ARG_INFO(0, num
)
426 #define CairoContext__glyph_path_args NULL
429 PHP_METHOD(CairoContext
, has_current_point
);
430 #if (PHP_MAJOR_VERSION >= 5)
431 ZEND_BEGIN_ARG_INFO_EX(CairoContext__has_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
434 #define CairoContext__has_current_point_args NULL
437 PHP_METHOD(CairoContext
, identity_matrix
);
438 #if (PHP_MAJOR_VERSION >= 5)
439 ZEND_BEGIN_ARG_INFO_EX(CairoContext__identity_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
442 #define CairoContext__identity_matrix_args NULL
445 PHP_METHOD(CairoContext
, in_fill
);
446 #if (PHP_MAJOR_VERSION >= 5)
447 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
452 #define CairoContext__in_fill_args NULL
455 PHP_METHOD(CairoContext
, in_stroke
);
456 #if (PHP_MAJOR_VERSION >= 5)
457 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
462 #define CairoContext__in_stroke_args NULL
465 PHP_METHOD(CairoContext
, line_to
);
466 #if (PHP_MAJOR_VERSION >= 5)
467 ZEND_BEGIN_ARG_INFO_EX(CairoContext__line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
472 #define CairoContext__line_to_args NULL
475 PHP_METHOD(CairoContext
, mask
);
476 #if (PHP_MAJOR_VERSION >= 5)
477 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
478 ZEND_ARG_OBJ_INFO(0, p
, , 1)
481 #define CairoContext__mask_args NULL
484 PHP_METHOD(CairoContext
, mask_surface
);
485 #if (PHP_MAJOR_VERSION >= 5)
486 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
487 ZEND_ARG_OBJ_INFO(0, s
, , 1)
488 ZEND_ARG_INFO(0, surface_x
)
489 ZEND_ARG_INFO(0, surface_y
)
492 #define CairoContext__mask_surface_args NULL
495 PHP_METHOD(CairoContext
, move_to
);
496 #if (PHP_MAJOR_VERSION >= 5)
497 ZEND_BEGIN_ARG_INFO_EX(CairoContext__move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
502 #define CairoContext__move_to_args NULL
505 PHP_METHOD(CairoContext
, new_path
);
506 #if (PHP_MAJOR_VERSION >= 5)
507 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
510 #define CairoContext__new_path_args NULL
513 PHP_METHOD(CairoContext
, new_sub_path
);
514 #if (PHP_MAJOR_VERSION >= 5)
515 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_sub_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
518 #define CairoContext__new_sub_path_args NULL
521 PHP_METHOD(CairoContext
, paint
);
522 #if (PHP_MAJOR_VERSION >= 5)
523 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
526 #define CairoContext__paint_args NULL
529 PHP_METHOD(CairoContext
, paint_with_alpha
);
530 #if (PHP_MAJOR_VERSION >= 5)
531 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_with_alpha_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
532 ZEND_ARG_INFO(0, alpha
)
535 #define CairoContext__paint_with_alpha_args NULL
538 PHP_METHOD(CairoContext
, path_extents
);
539 #if (PHP_MAJOR_VERSION >= 5)
540 ZEND_BEGIN_ARG_INFO_EX(CairoContext__path_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
541 ZEND_ARG_OBJ_INFO(0, path
, , 1)
544 #define CairoContext__path_extents_args NULL
547 PHP_METHOD(CairoContext
, pop_group
);
548 #if (PHP_MAJOR_VERSION >= 5)
549 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
552 #define CairoContext__pop_group_args NULL
555 PHP_METHOD(CairoContext
, pop_group_to_source
);
556 #if (PHP_MAJOR_VERSION >= 5)
557 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_to_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
560 #define CairoContext__pop_group_to_source_args NULL
563 PHP_METHOD(CairoContext
, push_group
);
564 #if (PHP_MAJOR_VERSION >= 5)
565 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
568 #define CairoContext__push_group_args NULL
571 PHP_METHOD(CairoContext
, push_group_with_content
);
572 #if (PHP_MAJOR_VERSION >= 5)
573 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_with_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
574 ZEND_ARG_INFO(0, content
)
577 #define CairoContext__push_group_with_content_args NULL
580 PHP_METHOD(CairoContext
, rectangle
);
581 #if (PHP_MAJOR_VERSION >= 5)
582 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
585 ZEND_ARG_INFO(0, width
)
586 ZEND_ARG_INFO(0, height
)
589 #define CairoContext__rectangle_args NULL
592 PHP_METHOD(CairoContext
, rel_curve_to
);
593 #if (PHP_MAJOR_VERSION >= 5)
594 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
603 #define CairoContext__rel_curve_to_args NULL
606 PHP_METHOD(CairoContext
, rel_line_to
);
607 #if (PHP_MAJOR_VERSION >= 5)
608 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
613 #define CairoContext__rel_line_to_args NULL
616 PHP_METHOD(CairoContext
, rel_move_to
);
617 #if (PHP_MAJOR_VERSION >= 5)
618 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
623 #define CairoContext__rel_move_to_args NULL
626 PHP_METHOD(CairoContext
, reset_clip
);
627 #if (PHP_MAJOR_VERSION >= 5)
628 ZEND_BEGIN_ARG_INFO_EX(CairoContext__reset_clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
631 #define CairoContext__reset_clip_args NULL
634 PHP_METHOD(CairoContext
, restore
);
635 #if (PHP_MAJOR_VERSION >= 5)
636 ZEND_BEGIN_ARG_INFO_EX(CairoContext__restore_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
639 #define CairoContext__restore_args NULL
642 PHP_METHOD(CairoContext
, rotate
);
643 #if (PHP_MAJOR_VERSION >= 5)
644 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
645 ZEND_ARG_INFO(0, angle
)
648 #define CairoContext__rotate_args NULL
651 PHP_METHOD(CairoContext
, save
);
652 #if (PHP_MAJOR_VERSION >= 5)
653 ZEND_BEGIN_ARG_INFO_EX(CairoContext__save_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
656 #define CairoContext__save_args NULL
659 PHP_METHOD(CairoContext
, scale
);
660 #if (PHP_MAJOR_VERSION >= 5)
661 ZEND_BEGIN_ARG_INFO_EX(CairoContext__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
666 #define CairoContext__scale_args NULL
669 PHP_METHOD(CairoContext
, select_font_face
);
670 #if (PHP_MAJOR_VERSION >= 5)
671 ZEND_BEGIN_ARG_INFO_EX(CairoContext__select_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
672 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
673 ZEND_ARG_INFO(0, slant
)
674 ZEND_ARG_INFO(0, weight
)
677 #define CairoContext__select_font_face_args NULL
680 PHP_METHOD(CairoContext
, set_antialias
);
681 #if (PHP_MAJOR_VERSION >= 5)
682 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
683 ZEND_ARG_INFO(0, antialias
)
686 #define CairoContext__set_antialias_args NULL
689 PHP_METHOD(CairoContext
, set_dash
);
690 #if (PHP_MAJOR_VERSION >= 5)
691 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
692 ZEND_ARG_OBJ_INFO(0, dashes
, , 1)
693 ZEND_ARG_INFO(0, offset
)
696 #define CairoContext__set_dash_args NULL
699 PHP_METHOD(CairoContext
, set_fill_rule
);
700 #if (PHP_MAJOR_VERSION >= 5)
701 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
702 ZEND_ARG_INFO(0, fill_rule
)
705 #define CairoContext__set_fill_rule_args NULL
708 PHP_METHOD(CairoContext
, set_font_face
);
709 #if (PHP_MAJOR_VERSION >= 5)
710 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
711 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
714 #define CairoContext__set_font_face_args NULL
717 PHP_METHOD(CairoContext
, set_font_matrix
);
718 #if (PHP_MAJOR_VERSION >= 5)
719 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
720 ZEND_ARG_OBJ_INFO(0, matrix
, , 1)
723 #define CairoContext__set_font_matrix_args NULL
726 PHP_METHOD(CairoContext
, set_font_options
);
727 #if (PHP_MAJOR_VERSION >= 5)
728 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
729 ZEND_ARG_OBJ_INFO(0, options
, , 1)
732 #define CairoContext__set_font_options_args NULL
735 PHP_METHOD(CairoContext
, set_font_size
);
736 #if (PHP_MAJOR_VERSION >= 5)
737 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
738 ZEND_ARG_INFO(0, size
)
741 #define CairoContext__set_font_size_args NULL
744 PHP_METHOD(CairoContext
, set_line_cap
);
745 #if (PHP_MAJOR_VERSION >= 5)
746 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
747 ZEND_ARG_INFO(0, line_cap
)
750 #define CairoContext__set_line_cap_args NULL
753 PHP_METHOD(CairoContext
, set_line_join
);
754 #if (PHP_MAJOR_VERSION >= 5)
755 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
756 ZEND_ARG_INFO(0, line_join
)
759 #define CairoContext__set_line_join_args NULL
762 PHP_METHOD(CairoContext
, set_line_width
);
763 #if (PHP_MAJOR_VERSION >= 5)
764 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
765 ZEND_ARG_INFO(0, width
)
768 #define CairoContext__set_line_width_args NULL
771 PHP_METHOD(CairoContext
, set_matrix
);
772 #if (PHP_MAJOR_VERSION >= 5)
773 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
774 ZEND_ARG_OBJ_INFO(0, matix
, , 1)
777 #define CairoContext__set_matrix_args NULL
780 PHP_METHOD(CairoContext
, set_miter_limit
);
781 #if (PHP_MAJOR_VERSION >= 5)
782 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
783 ZEND_ARG_INFO(0, limit
)
786 #define CairoContext__set_miter_limit_args NULL
789 PHP_METHOD(CairoContext
, set_operator
);
790 #if (PHP_MAJOR_VERSION >= 5)
791 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
795 #define CairoContext__set_operator_args NULL
798 PHP_METHOD(CairoContext
, set_source
);
799 #if (PHP_MAJOR_VERSION >= 5)
800 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
801 ZEND_ARG_OBJ_INFO(0, p
, , 1)
804 #define CairoContext__set_source_args NULL
807 PHP_METHOD(CairoContext
, set_source_rgb
);
808 #if (PHP_MAJOR_VERSION >= 5)
809 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
810 ZEND_ARG_INFO(0, red
)
811 ZEND_ARG_INFO(0, green
)
812 ZEND_ARG_INFO(0, blue
)
815 #define CairoContext__set_source_rgb_args NULL
818 PHP_METHOD(CairoContext
, set_source_rgba
);
819 #if (PHP_MAJOR_VERSION >= 5)
820 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
821 ZEND_ARG_INFO(0, red
)
822 ZEND_ARG_INFO(0, green
)
823 ZEND_ARG_INFO(0, blue
)
824 ZEND_ARG_INFO(0, alpha
)
827 #define CairoContext__set_source_rgba_args NULL
830 PHP_METHOD(CairoContext
, set_source_surface
);
831 #if (PHP_MAJOR_VERSION >= 5)
832 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
833 ZEND_ARG_OBJ_INFO(0, surface
, , 1)
838 #define CairoContext__set_source_surface_args NULL
841 PHP_METHOD(CairoContext
, set_tolerance
);
842 #if (PHP_MAJOR_VERSION >= 5)
843 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
844 ZEND_ARG_INFO(0, tolerance
)
847 #define CairoContext__set_tolerance_args NULL
850 PHP_METHOD(CairoContext
, show_glyphs
);
851 #if (PHP_MAJOR_VERSION >= 5)
852 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_glyphs_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
853 ZEND_ARG_OBJ_INFO(0, glyphs
, , 1)
854 ZEND_ARG_INFO(0, num_glyphs
)
857 #define CairoContext__show_glyphs_args NULL
860 PHP_METHOD(CairoContext
, show_page
);
861 #if (PHP_MAJOR_VERSION >= 5)
862 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
865 #define CairoContext__show_page_args NULL
868 PHP_METHOD(CairoContext
, show_text
);
869 #if (PHP_MAJOR_VERSION >= 5)
870 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_text_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
871 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
874 #define CairoContext__show_text_args NULL
877 PHP_METHOD(CairoContext
, stroke
);
878 #if (PHP_MAJOR_VERSION >= 5)
879 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
882 #define CairoContext__stroke_args NULL
885 PHP_METHOD(CairoContext
, stroke_extents
);
886 #if (PHP_MAJOR_VERSION >= 5)
887 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
890 #define CairoContext__stroke_extents_args NULL
893 PHP_METHOD(CairoContext
, stroke_preserve
);
894 #if (PHP_MAJOR_VERSION >= 5)
895 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
898 #define CairoContext__stroke_preserve_args NULL
901 PHP_METHOD(CairoContext
, text_extents
);
902 #if (PHP_MAJOR_VERSION >= 5)
903 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
904 ZEND_ARG_OBJ_INFO(0, extents
, , 1)
907 #define CairoContext__text_extents_args NULL
910 PHP_METHOD(CairoContext
, text_path
);
911 #if (PHP_MAJOR_VERSION >= 5)
912 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
913 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
916 #define CairoContext__text_path_args NULL
919 PHP_METHOD(CairoContext
, transform
);
920 #if (PHP_MAJOR_VERSION >= 5)
921 ZEND_BEGIN_ARG_INFO_EX(CairoContext__transform_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
922 ZEND_ARG_OBJ_INFO(0, matrix
, , 1)
925 #define CairoContext__transform_args NULL
928 PHP_METHOD(CairoContext
, translate
);
929 #if (PHP_MAJOR_VERSION >= 5)
930 ZEND_BEGIN_ARG_INFO_EX(CairoContext__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
935 #define CairoContext__translate_args NULL
938 PHP_METHOD(CairoContext
, user_to_device
);
939 #if (PHP_MAJOR_VERSION >= 5)
940 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
945 #define CairoContext__user_to_device_args NULL
948 PHP_METHOD(CairoContext
, user_to_device_distance
);
949 #if (PHP_MAJOR_VERSION >= 5)
950 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
955 #define CairoContext__user_to_device_distance_args NULL
958 PHP_METHOD(CairoFontFace
, __construct
);
959 #if (PHP_MAJOR_VERSION >= 5)
960 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
963 #define CairoFontFace____construct_args NULL
966 PHP_METHOD(CairoFontFace
, __destruct
);
967 #if (PHP_MAJOR_VERSION >= 5)
968 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____destruct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
971 #define CairoFontFace____destruct_args NULL
974 PHP_METHOD(CairoFontOptions
, __construct
);
975 #if (PHP_MAJOR_VERSION >= 5)
976 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
979 #define CairoFontOptions____construct_args NULL
982 PHP_METHOD(CairoFontOptions
, get_antialias
);
983 #if (PHP_MAJOR_VERSION >= 5)
984 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
987 #define CairoFontOptions__get_antialias_args NULL
990 PHP_METHOD(CairoFontOptions
, get_hint_metrics
);
991 #if (PHP_MAJOR_VERSION >= 5)
992 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_metrics_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
995 #define CairoFontOptions__get_hint_metrics_args NULL
998 PHP_METHOD(CairoFontOptions
, get_hint_style
);
999 #if (PHP_MAJOR_VERSION >= 5)
1000 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_style_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1003 #define CairoFontOptions__get_hint_style_args NULL
1006 PHP_METHOD(CairoFontOptions
, get_subpixel_order
);
1007 #if (PHP_MAJOR_VERSION >= 5)
1008 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_subpixel_order_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1011 #define CairoFontOptions__get_subpixel_order_args NULL
1014 PHP_METHOD(CairoFontOptions
, set_antialias
);
1015 #if (PHP_MAJOR_VERSION >= 5)
1016 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1017 ZEND_ARG_INFO(0, aa
)
1020 #define CairoFontOptions__set_antialias_args NULL
1023 PHP_METHOD(CairoFontOptions
, set_hint_metrics
);
1024 #if (PHP_MAJOR_VERSION >= 5)
1025 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_metrics_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1026 ZEND_ARG_INFO(0, hm
)
1029 #define CairoFontOptions__set_hint_metrics_args NULL
1032 PHP_METHOD(CairoFontOptions
, set_hint_style
);
1033 #if (PHP_MAJOR_VERSION >= 5)
1034 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_style_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1035 ZEND_ARG_INFO(0, hs
)
1038 #define CairoFontOptions__set_hint_style_args NULL
1041 PHP_METHOD(CairoFontOptions
, set_subpixel_order
);
1042 #if (PHP_MAJOR_VERSION >= 5)
1043 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_subpixel_order_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1044 ZEND_ARG_INFO(0, so
)
1047 #define CairoFontOptions__set_subpixel_order_args NULL
1050 PHP_METHOD(CairoMatrix
, __construct
);
1051 #if (PHP_MAJOR_VERSION >= 5)
1052 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
1053 ZEND_ARG_INFO(0, yx
)
1054 ZEND_ARG_INFO(0, xy
)
1055 ZEND_ARG_INFO(0, yy
)
1056 ZEND_ARG_INFO(0, x0
)
1057 ZEND_ARG_INFO(0, y0
)
1060 #define CairoMatrix____construct_args NULL
1063 PHP_METHOD(CairoMatrix
, init_rotate
);
1064 #if (PHP_MAJOR_VERSION >= 5)
1065 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__init_rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1066 ZEND_ARG_INFO(0, radians
)
1069 #define CairoMatrix__init_rotate_args NULL
1072 PHP_METHOD(CairoMatrix
, invert
);
1073 #if (PHP_MAJOR_VERSION >= 5)
1074 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__invert_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1077 #define CairoMatrix__invert_args NULL
1080 PHP_METHOD(CairoMatrix
, multiply
);
1081 #if (PHP_MAJOR_VERSION >= 5)
1082 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__multiply_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1083 ZEND_ARG_OBJ_INFO(0, o2
, , 1)
1086 #define CairoMatrix__multiply_args NULL
1089 PHP_METHOD(CairoMatrix
, rotate
);
1090 #if (PHP_MAJOR_VERSION >= 5)
1091 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1092 ZEND_ARG_INFO(0, radians
)
1095 #define CairoMatrix__rotate_args NULL
1098 PHP_METHOD(CairoMatrix
, scale
);
1099 #if (PHP_MAJOR_VERSION >= 5)
1100 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1101 ZEND_ARG_INFO(0, sx
)
1102 ZEND_ARG_INFO(0, xy
)
1105 #define CairoMatrix__scale_args NULL
1108 PHP_METHOD(CairoMatrix
, transform_distance
);
1109 #if (PHP_MAJOR_VERSION >= 5)
1110 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1111 ZEND_ARG_INFO(0, dx
)
1112 ZEND_ARG_INFO(0, dy
)
1115 #define CairoMatrix__transform_distance_args NULL
1118 PHP_METHOD(CairoMatrix
, transform_point
);
1119 #if (PHP_MAJOR_VERSION >= 5)
1120 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1125 #define CairoMatrix__transform_point_args NULL
1128 PHP_METHOD(CairoMatrix
, translate
);
1129 #if (PHP_MAJOR_VERSION >= 5)
1130 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1131 ZEND_ARG_INFO(0, tx
)
1132 ZEND_ARG_INFO(0, ty
)
1135 #define CairoMatrix__translate_args NULL
1138 PHP_METHOD(CairoPattern
, __construct
);
1139 #if (PHP_MAJOR_VERSION >= 5)
1140 ZEND_BEGIN_ARG_INFO_EX(CairoPattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1143 #define CairoPattern____construct_args NULL
1146 PHP_METHOD(CairoPattern
, get_matrix
);
1147 #if (PHP_MAJOR_VERSION >= 5)
1148 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1151 #define CairoPattern__get_matrix_args NULL
1154 PHP_METHOD(CairoPattern
, set_matrix
);
1155 #if (PHP_MAJOR_VERSION >= 5)
1156 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1157 ZEND_ARG_OBJ_INFO(0, m
, , 1)
1160 #define CairoPattern__set_matrix_args NULL
1163 PHP_METHOD(CairoGradient
, __contruct
);
1164 #if (PHP_MAJOR_VERSION >= 5)
1165 ZEND_BEGIN_ARG_INFO_EX(CairoGradient____contruct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1168 #define CairoGradient____contruct_args NULL
1171 PHP_METHOD(CairoGradient
, add_color_stop_rgb
);
1172 #if (PHP_MAJOR_VERSION >= 5)
1173 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
1174 ZEND_ARG_INFO(0, offset
)
1175 ZEND_ARG_INFO(0, red
)
1176 ZEND_ARG_INFO(0, green
)
1177 ZEND_ARG_INFO(0, blue
)
1180 #define CairoGradient__add_color_stop_rgb_args NULL
1183 PHP_METHOD(CairoGradient
, add_color_stop_rgba
);
1184 #if (PHP_MAJOR_VERSION >= 5)
1185 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
1186 ZEND_ARG_INFO(0, offset
)
1187 ZEND_ARG_INFO(0, red
)
1188 ZEND_ARG_INFO(0, green
)
1189 ZEND_ARG_INFO(0, blue
)
1190 ZEND_ARG_INFO(0, alpha
)
1193 #define CairoGradient__add_color_stop_rgba_args NULL
1196 PHP_METHOD(CairoLinearGradient
, __construct
);
1197 #if (PHP_MAJOR_VERSION >= 5)
1198 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1199 ZEND_ARG_INFO(0, y0
)
1200 ZEND_ARG_INFO(0, x1
)
1201 ZEND_ARG_INFO(0, y1
)
1204 #define CairoLinearGradient____construct_args NULL
1207 PHP_METHOD(CairoLinearGradient
, get_linear_points
);
1208 #if (PHP_MAJOR_VERSION >= 5)
1209 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient__get_linear_points_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1212 #define CairoLinearGradient__get_linear_points_args NULL
1215 PHP_METHOD(CairoRadialGradient
, __constuct
);
1216 #if (PHP_MAJOR_VERSION >= 5)
1217 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient____constuct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
1218 ZEND_ARG_INFO(0, cx0
)
1219 ZEND_ARG_INFO(0, cy0
)
1220 ZEND_ARG_INFO(0, radius0
)
1221 ZEND_ARG_INFO(0, cx1
)
1222 ZEND_ARG_INFO(0, cy1
)
1223 ZEND_ARG_INFO(0, radius1
)
1226 #define CairoRadialGradient____constuct_args NULL
1229 PHP_METHOD(CairoRadialGradient
, get_radial_circles
);
1230 #if (PHP_MAJOR_VERSION >= 5)
1231 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient__get_radial_circles_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1234 #define CairoRadialGradient__get_radial_circles_args NULL
1237 PHP_METHOD(CairoSolidPattern
, __construct
);
1238 #if (PHP_MAJOR_VERSION >= 5)
1239 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1245 #define CairoSolidPattern____construct_args NULL
1248 PHP_METHOD(CairoSolidPattern
, get_rgba
);
1249 #if (PHP_MAJOR_VERSION >= 5)
1250 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern__get_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1253 #define CairoSolidPattern__get_rgba_args NULL
1256 PHP_METHOD(CairoSurfacePattern
, __construct
);
1257 #if (PHP_MAJOR_VERSION >= 5)
1258 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1261 #define CairoSurfacePattern____construct_args NULL
1264 PHP_METHOD(CairoSurfacePattern
, get_extend
);
1265 #if (PHP_MAJOR_VERSION >= 5)
1266 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_extend_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1269 #define CairoSurfacePattern__get_extend_args NULL
1272 PHP_METHOD(CairoSurfacePattern
, get_filter
);
1273 #if (PHP_MAJOR_VERSION >= 5)
1274 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_filter_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1277 #define CairoSurfacePattern__get_filter_args NULL
1280 PHP_METHOD(CairoSurfacePattern
, get_surface
);
1281 #if (PHP_MAJOR_VERSION >= 5)
1282 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1285 #define CairoSurfacePattern__get_surface_args NULL
1288 PHP_METHOD(CairoSurfacePattern
, set_extend
);
1289 #if (PHP_MAJOR_VERSION >= 5)
1290 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_extend_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1291 ZEND_ARG_INFO(0, extend
)
1294 #define CairoSurfacePattern__set_extend_args NULL
1297 PHP_METHOD(CairoSurfacePattern
, set_filter
);
1298 #if (PHP_MAJOR_VERSION >= 5)
1299 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_filter_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1300 ZEND_ARG_INFO(0, filter
)
1303 #define CairoSurfacePattern__set_filter_args NULL
1306 PHP_METHOD(CairoScaledFont
, __construct
);
1307 #if (PHP_MAJOR_VERSION >= 5)
1308 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1309 ZEND_ARG_OBJ_INFO(0, mx1
, , 1)
1310 ZEND_ARG_OBJ_INFO(0, mx2
, , 1)
1311 ZEND_ARG_OBJ_INFO(0, fo
, , 1)
1314 #define CairoScaledFont____construct_args NULL
1317 PHP_METHOD(CairoScaledFont
, extents
);
1318 #if (PHP_MAJOR_VERSION >= 5)
1319 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1322 #define CairoScaledFont__extents_args NULL
1325 PHP_METHOD(CairoScaledFont
, get_font_face
);
1326 #if (PHP_MAJOR_VERSION >= 5)
1327 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1330 #define CairoScaledFont__get_font_face_args NULL
1333 PHP_METHOD(CairoScaledFont
, text_extents
);
1334 #if (PHP_MAJOR_VERSION >= 5)
1335 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1336 ZEND_ARG_INFO(0, str
)
1339 #define CairoScaledFont__text_extents_args NULL
1342 PHP_METHOD(CairoSurface
, __construct
);
1343 #if (PHP_MAJOR_VERSION >= 5)
1344 ZEND_BEGIN_ARG_INFO_EX(CairoSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1347 #define CairoSurface____construct_args NULL
1350 PHP_METHOD(CairoSurface
, create_similar
);
1351 #if (PHP_MAJOR_VERSION >= 5)
1352 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__create_similar_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1353 ZEND_ARG_INFO(0, content
)
1354 ZEND_ARG_INFO(0, width
)
1355 ZEND_ARG_INFO(0, height
)
1358 #define CairoSurface__create_similar_args NULL
1361 PHP_METHOD(CairoSurface
, finish
);
1362 #if (PHP_MAJOR_VERSION >= 5)
1363 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__finish_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1366 #define CairoSurface__finish_args NULL
1369 PHP_METHOD(CairoSurface
, flush
);
1370 #if (PHP_MAJOR_VERSION >= 5)
1371 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__flush_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1374 #define CairoSurface__flush_args NULL
1377 PHP_METHOD(CairoSurface
, get_content
);
1378 #if (PHP_MAJOR_VERSION >= 5)
1379 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1382 #define CairoSurface__get_content_args NULL
1385 PHP_METHOD(CairoSurface
, get_device_offset
);
1386 #if (PHP_MAJOR_VERSION >= 5)
1387 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1390 #define CairoSurface__get_device_offset_args NULL
1393 PHP_METHOD(CairoSurface
, get_font_options
);
1394 #if (PHP_MAJOR_VERSION >= 5)
1395 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1398 #define CairoSurface__get_font_options_args NULL
1401 PHP_METHOD(CairoSurface
, mark_dirty_rectangle
);
1402 #if (PHP_MAJOR_VERSION >= 5)
1403 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__mark_dirty_rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1406 ZEND_ARG_INFO(0, width
)
1407 ZEND_ARG_INFO(0, height
)
1410 #define CairoSurface__mark_dirty_rectangle_args NULL
1413 PHP_METHOD(CairoSurface
, set_device_offset
);
1414 #if (PHP_MAJOR_VERSION >= 5)
1415 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1416 ZEND_ARG_INFO(0, x_offset
)
1417 ZEND_ARG_INFO(0, y_offset
)
1420 #define CairoSurface__set_device_offset_args NULL
1423 PHP_METHOD(CairoSurface
, set_fallback_resolution
);
1424 #if (PHP_MAJOR_VERSION >= 5)
1425 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_fallback_resolution_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1426 ZEND_ARG_INFO(0, x_ppi
)
1427 ZEND_ARG_INFO(0, y_ppi
)
1430 #define CairoSurface__set_fallback_resolution_args NULL
1433 PHP_METHOD(CairoSurface
, write_to_png
);
1434 #if (PHP_MAJOR_VERSION >= 5)
1435 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__write_to_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1436 ZEND_ARG_INFO(0, file
)
1439 #define CairoSurface__write_to_png_args NULL
1442 PHP_METHOD(CairoImageSurface
, __construct
);
1443 #if (PHP_MAJOR_VERSION >= 5)
1444 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1445 ZEND_ARG_INFO(0, widthm
)
1446 ZEND_ARG_INFO(0, height
)
1449 #define CairoImageSurface____construct_args NULL
1452 PHP_METHOD(CairoImageSurface
, create_from_data
);
1453 #if (PHP_MAJOR_VERSION >= 5)
1454 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
1455 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
1456 ZEND_ARG_INFO(0, format
)
1457 ZEND_ARG_INFO(0, width
)
1458 ZEND_ARG_INFO(0, height
)
1459 ZEND_ARG_INFO(0, stride
)
1462 #define CairoImageSurface__create_from_data_args NULL
1465 PHP_METHOD(CairoImageSurface
, create_from_png
);
1466 #if (PHP_MAJOR_VERSION >= 5)
1467 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1468 ZEND_ARG_INFO(0, file
)
1471 #define CairoImageSurface__create_from_png_args NULL
1474 PHP_METHOD(CairoImageSurface
, get_data
);
1475 #if (PHP_MAJOR_VERSION >= 5)
1476 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1479 #define CairoImageSurface__get_data_args NULL
1482 PHP_METHOD(CairoImageSurface
, get_format
);
1483 #if (PHP_MAJOR_VERSION >= 5)
1484 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_format_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1487 #define CairoImageSurface__get_format_args NULL
1490 PHP_METHOD(CairoImageSurface
, get_height
);
1491 #if (PHP_MAJOR_VERSION >= 5)
1492 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1495 #define CairoImageSurface__get_height_args NULL
1498 PHP_METHOD(CairoImageSurface
, get_stride
);
1499 #if (PHP_MAJOR_VERSION >= 5)
1500 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_stride_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1503 #define CairoImageSurface__get_stride_args NULL
1506 PHP_METHOD(CairoImageSurface
, get_width
);
1507 #if (PHP_MAJOR_VERSION >= 5)
1508 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1511 #define CairoImageSurface__get_width_args NULL
1514 PHP_METHOD(CairoPDFSurface
, __construct
);
1515 #if (PHP_MAJOR_VERSION >= 5)
1516 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1517 ZEND_ARG_INFO(0, wpts
)
1518 ZEND_ARG_INFO(0, hpts
)
1521 #define CairoPDFSurface____construct_args NULL
1524 PHP_METHOD(CairoPDFSurface
, set_size
);
1525 #if (PHP_MAJOR_VERSION >= 5)
1526 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1527 ZEND_ARG_INFO(0, wptd
)
1528 ZEND_ARG_INFO(0, hpts
)
1531 #define CairoPDFSurface__set_size_args NULL
1534 PHP_METHOD(CairoPSSurface
, __construct
);
1535 #if (PHP_MAJOR_VERSION >= 5)
1536 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1537 ZEND_ARG_INFO(0, wpts
)
1538 ZEND_ARG_INFO(0, hpts
)
1541 #define CairoPSSurface____construct_args NULL
1544 PHP_METHOD(CairoPSSurface
, dsc_begin_page_setup
);
1545 #if (PHP_MAJOR_VERSION >= 5)
1546 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_page_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1549 #define CairoPSSurface__dsc_begin_page_setup_args NULL
1552 PHP_METHOD(CairoPSSurface
, dsc_begin_setup
);
1553 #if (PHP_MAJOR_VERSION >= 5)
1554 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1557 #define CairoPSSurface__dsc_begin_setup_args NULL
1560 PHP_METHOD(CairoPSSurface
, dsc_comment
);
1561 #if (PHP_MAJOR_VERSION >= 5)
1562 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_comment_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1565 #define CairoPSSurface__dsc_comment_args NULL
1568 PHP_METHOD(CairoPSSurface
, get_levels
);
1569 #if (PHP_MAJOR_VERSION >= 5)
1570 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_levels_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1573 #define CairoPSSurface__get_levels_args NULL
1576 PHP_METHOD(CairoPSSurface
, get_level_string
);
1577 #if (PHP_MAJOR_VERSION >= 5)
1578 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_level_string_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1581 #define CairoPSSurface__get_level_string_args NULL
1584 PHP_METHOD(CairoPSSurface
, restrict_to_level
);
1585 #if (PHP_MAJOR_VERSION >= 5)
1586 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__restrict_to_level_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1587 ZEND_ARG_INFO(0, level
)
1590 #define CairoPSSurface__restrict_to_level_args NULL
1593 PHP_METHOD(CairoPSSurface
, set_eps
);
1594 #if (PHP_MAJOR_VERSION >= 5)
1595 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_eps_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1598 #define CairoPSSurface__set_eps_args NULL
1601 PHP_METHOD(CairoPSSurface
, set_size
);
1602 #if (PHP_MAJOR_VERSION >= 5)
1603 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1604 ZEND_ARG_INFO(0, wpts
)
1605 ZEND_ARG_INFO(0, hpts
)
1608 #define CairoPSSurface__set_size_args NULL
1611 PHP_METHOD(CairoQuartzSurface
, __construct
);
1612 #if (PHP_MAJOR_VERSION >= 5)
1613 ZEND_BEGIN_ARG_INFO_EX(CairoQuartzSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1614 ZEND_ARG_INFO(0, hpixels
)
1615 ZEND_ARG_INFO(0, format
)
1618 #define CairoQuartzSurface____construct_args NULL
1621 PHP_METHOD(CairoSVGSurface
, __construct
);
1622 #if (PHP_MAJOR_VERSION >= 5)
1623 ZEND_BEGIN_ARG_INFO_EX(CairoSVGSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1624 ZEND_ARG_INFO(0, wpts
)
1625 ZEND_ARG_INFO(0, hpts
)
1628 #define CairoSVGSurface____construct_args NULL
1631 PHP_METHOD(CairoWin32Surface
, __construct
);
1632 #if (PHP_MAJOR_VERSION >= 5)
1633 ZEND_BEGIN_ARG_INFO_EX(CairoWin32Surface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1636 #define CairoWin32Surface____construct_args NULL
1639 PHP_METHOD(CairoXlibSurface
, __construct
);
1640 #if (PHP_MAJOR_VERSION >= 5)
1641 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1644 #define CairoXlibSurface____construct_args NULL
1647 PHP_METHOD(CairoXlibSurface
, get_depth
);
1648 #if (PHP_MAJOR_VERSION >= 5)
1649 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_depth_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1652 #define CairoXlibSurface__get_depth_args NULL
1655 PHP_METHOD(CairoXlibSurface
, get_height
);
1656 #if (PHP_MAJOR_VERSION >= 5)
1657 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1660 #define CairoXlibSurface__get_height_args NULL
1663 PHP_METHOD(CairoXlibSurface
, get_width
);
1664 #if (PHP_MAJOR_VERSION >= 5)
1665 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1668 #define CairoXlibSurface__get_width_args NULL
1675 #endif /* PHP_HAVE_PHPCAIRO */
1677 #endif /* PHP_PHPCAIRO_H */
1685 * vim600: noet sw=4 ts=4 fdm=marker
1686 * vim<600: noet sw=4 ts=4