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 typedef struct _context_object
{
52 typedef struct _surface_object
{
54 cairo_surface_t
*surface
;
57 typedef struct _path_object
{
62 typedef struct _fontoptions_object
{
64 cairo_font_options_t
*fontoptions
;
67 typedef struct _fontface_object
{
69 cairo_font_face_t
*fontface
;
72 typedef struct _matrix_object
{
74 cairo_matrix_t
*matrix
;
77 typedef struct _pattern_object
{
79 cairo_pattern_t
*pattern
;
84 #define PHP_PHPCAIRO_API __declspec(dllexport)
86 #define PHP_PHPCAIRO_API
89 PHP_MINIT_FUNCTION(phpCairo
);
90 PHP_MSHUTDOWN_FUNCTION(phpCairo
);
91 PHP_RINIT_FUNCTION(phpCairo
);
92 PHP_RSHUTDOWN_FUNCTION(phpCairo
);
93 PHP_MINFO_FUNCTION(phpCairo
);
99 #define FREE_RESOURCE(resource) zend_list_delete(Z_LVAL_P(resource))
101 #define PROP_GET_LONG(name) Z_LVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
102 #define PROP_SET_LONG(name, l) zend_update_property_long(_this_ce, _this_zval, #name, strlen(#name), l TSRMLS_CC)
104 #define PROP_GET_DOUBLE(name) Z_DVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
105 #define PROP_SET_DOUBLE(name, d) zend_update_property_double(_this_ce, _this_zval, #name, strlen(#name), d TSRMLS_CC)
107 #define PROP_GET_STRING(name) Z_STRVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
108 #define PROP_GET_STRLEN(name) Z_STRLEN_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
109 #define PROP_SET_STRING(name, s) zend_update_property_string(_this_ce, _this_zval, #name, strlen(#name), s TSRMLS_CC)
110 #define PROP_SET_STRINGL(name, s, l) zend_update_property_stringl(_this_ce, _this_zval, #name, strlen(#name), s, l TSRMLS_CC)
113 PHP_FUNCTION(cairo_version
);
114 #if (PHP_MAJOR_VERSION >= 5)
115 ZEND_BEGIN_ARG_INFO_EX(cairo_version_arg_info
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
118 #define cairo_version_arg_info NULL
121 PHP_FUNCTION(cairo_version_string
);
122 #if (PHP_MAJOR_VERSION >= 5)
123 ZEND_BEGIN_ARG_INFO_EX(cairo_version_string_arg_info
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
126 #define cairo_version_string_arg_info NULL
129 PHP_METHOD(CairoContext
, __construct
);
130 #if (PHP_MAJOR_VERSION >= 5)
131 ZEND_BEGIN_ARG_INFO_EX(CairoContext____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
132 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
135 #define CairoContext____construct_args NULL
138 PHP_METHOD(CairoContext
, append_path
);
139 #if (PHP_MAJOR_VERSION >= 5)
140 ZEND_BEGIN_ARG_INFO_EX(CairoContext__append_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
141 ZEND_ARG_OBJ_INFO(0, p
, , 1)
144 #define CairoContext__append_path_args NULL
147 PHP_METHOD(CairoContext
, arc
);
148 #if (PHP_MAJOR_VERSION >= 5)
149 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
152 ZEND_ARG_INFO(0, radius
)
153 ZEND_ARG_INFO(0, angle1
)
154 ZEND_ARG_INFO(0, angle2
)
157 #define CairoContext__arc_args NULL
160 PHP_METHOD(CairoContext
, arc_negative
);
161 #if (PHP_MAJOR_VERSION >= 5)
162 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_negative_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
165 ZEND_ARG_INFO(0, radius
)
166 ZEND_ARG_INFO(0, angle1
)
167 ZEND_ARG_INFO(0, angle2
)
170 #define CairoContext__arc_negative_args NULL
173 PHP_METHOD(CairoContext
, clip
);
174 #if (PHP_MAJOR_VERSION >= 5)
175 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
178 #define CairoContext__clip_args NULL
181 PHP_METHOD(CairoContext
, clip_extents
);
182 #if (PHP_MAJOR_VERSION >= 5)
183 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
186 #define CairoContext__clip_extents_args NULL
189 PHP_METHOD(CairoContext
, clip_preserve
);
190 #if (PHP_MAJOR_VERSION >= 5)
191 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
194 #define CairoContext__clip_preserve_args NULL
197 PHP_METHOD(CairoContext
, close_path
);
198 #if (PHP_MAJOR_VERSION >= 5)
199 ZEND_BEGIN_ARG_INFO_EX(CairoContext__close_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
202 #define CairoContext__close_path_args NULL
205 PHP_METHOD(CairoContext
, copy_clip_rectangle_list
);
206 #if (PHP_MAJOR_VERSION >= 5)
207 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_clip_rectangle_list_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
210 #define CairoContext__copy_clip_rectangle_list_args NULL
213 PHP_METHOD(CairoContext
, copy_page
);
214 #if (PHP_MAJOR_VERSION >= 5)
215 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
218 #define CairoContext__copy_page_args NULL
221 PHP_METHOD(CairoContext
, copy_path
);
222 #if (PHP_MAJOR_VERSION >= 5)
223 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
226 #define CairoContext__copy_path_args NULL
229 PHP_METHOD(CairoContext
, copy_path_flat
);
230 #if (PHP_MAJOR_VERSION >= 5)
231 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_flat_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
234 #define CairoContext__copy_path_flat_args NULL
237 PHP_METHOD(CairoContext
, curve_to
);
238 #if (PHP_MAJOR_VERSION >= 5)
239 ZEND_BEGIN_ARG_INFO_EX(CairoContext__curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
248 #define CairoContext__curve_to_args NULL
251 PHP_METHOD(CairoContext
, device_to_user
);
252 #if (PHP_MAJOR_VERSION >= 5)
253 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
258 #define CairoContext__device_to_user_args NULL
261 PHP_METHOD(CairoContext
, device_to_user_distance
);
262 #if (PHP_MAJOR_VERSION >= 5)
263 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
268 #define CairoContext__device_to_user_distance_args NULL
271 PHP_METHOD(CairoContext
, fill
);
272 #if (PHP_MAJOR_VERSION >= 5)
273 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
276 #define CairoContext__fill_args NULL
279 PHP_METHOD(CairoContext
, fill_extents
);
280 #if (PHP_MAJOR_VERSION >= 5)
281 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
284 #define CairoContext__fill_extents_args NULL
287 PHP_METHOD(CairoContext
, fill_preserve
);
288 #if (PHP_MAJOR_VERSION >= 5)
289 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
292 #define CairoContext__fill_preserve_args NULL
295 PHP_METHOD(CairoContext
, font_extents
);
296 #if (PHP_MAJOR_VERSION >= 5)
297 ZEND_BEGIN_ARG_INFO_EX(CairoContext__font_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
300 #define CairoContext__font_extents_args NULL
303 PHP_METHOD(CairoContext
, get_antialias
);
304 #if (PHP_MAJOR_VERSION >= 5)
305 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
308 #define CairoContext__get_antialias_args NULL
311 PHP_METHOD(CairoContext
, get_current_point
);
312 #if (PHP_MAJOR_VERSION >= 5)
313 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
316 #define CairoContext__get_current_point_args NULL
319 PHP_METHOD(CairoContext
, get_dash
);
320 #if (PHP_MAJOR_VERSION >= 5)
321 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
324 #define CairoContext__get_dash_args NULL
327 PHP_METHOD(CairoContext
, get_dash_count
);
328 #if (PHP_MAJOR_VERSION >= 5)
329 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_count_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
332 #define CairoContext__get_dash_count_args NULL
335 PHP_METHOD(CairoContext
, get_fill_rule
);
336 #if (PHP_MAJOR_VERSION >= 5)
337 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
340 #define CairoContext__get_fill_rule_args NULL
343 PHP_METHOD(CairoContext
, get_font_face
);
344 #if (PHP_MAJOR_VERSION >= 5)
345 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
348 #define CairoContext__get_font_face_args NULL
351 PHP_METHOD(CairoContext
, get_font_matrix
);
352 #if (PHP_MAJOR_VERSION >= 5)
353 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
356 #define CairoContext__get_font_matrix_args NULL
359 PHP_METHOD(CairoContext
, get_font_options
);
360 #if (PHP_MAJOR_VERSION >= 5)
361 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
364 #define CairoContext__get_font_options_args NULL
367 PHP_METHOD(CairoContext
, get_group_target
);
368 #if (PHP_MAJOR_VERSION >= 5)
369 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_group_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
372 #define CairoContext__get_group_target_args NULL
375 PHP_METHOD(CairoContext
, get_line_cap
);
376 #if (PHP_MAJOR_VERSION >= 5)
377 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
380 #define CairoContext__get_line_cap_args NULL
383 PHP_METHOD(CairoContext
, get_line_join
);
384 #if (PHP_MAJOR_VERSION >= 5)
385 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
388 #define CairoContext__get_line_join_args NULL
391 PHP_METHOD(CairoContext
, get_line_width
);
392 #if (PHP_MAJOR_VERSION >= 5)
393 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
396 #define CairoContext__get_line_width_args NULL
399 PHP_METHOD(CairoContext
, get_matrix
);
400 #if (PHP_MAJOR_VERSION >= 5)
401 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
404 #define CairoContext__get_matrix_args NULL
407 PHP_METHOD(CairoContext
, get_miter_limit
);
408 #if (PHP_MAJOR_VERSION >= 5)
409 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
412 #define CairoContext__get_miter_limit_args NULL
415 PHP_METHOD(CairoContext
, get_operator
);
416 #if (PHP_MAJOR_VERSION >= 5)
417 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
420 #define CairoContext__get_operator_args NULL
423 PHP_METHOD(CairoContext
, get_scaled_font
);
424 #if (PHP_MAJOR_VERSION >= 5)
425 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_scaled_font_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
428 #define CairoContext__get_scaled_font_args NULL
431 PHP_METHOD(CairoContext
, get_source
);
432 #if (PHP_MAJOR_VERSION >= 5)
433 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
436 #define CairoContext__get_source_args NULL
439 PHP_METHOD(CairoContext
, get_target
);
440 #if (PHP_MAJOR_VERSION >= 5)
441 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
444 #define CairoContext__get_target_args NULL
447 PHP_METHOD(CairoContext
, get_tolerance
);
448 #if (PHP_MAJOR_VERSION >= 5)
449 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
452 #define CairoContext__get_tolerance_args NULL
455 PHP_METHOD(CairoContext
, glyph_extents
);
456 #if (PHP_MAJOR_VERSION >= 5)
457 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
458 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
459 ZEND_ARG_INFO(0, num
)
462 #define CairoContext__glyph_extents_args NULL
465 PHP_METHOD(CairoContext
, glyph_path
);
466 #if (PHP_MAJOR_VERSION >= 5)
467 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
468 ZEND_ARG_OBJ_INFO(0, obh
, , 1)
469 ZEND_ARG_INFO(0, num
)
472 #define CairoContext__glyph_path_args NULL
475 PHP_METHOD(CairoContext
, has_current_point
);
476 #if (PHP_MAJOR_VERSION >= 5)
477 ZEND_BEGIN_ARG_INFO_EX(CairoContext__has_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
480 #define CairoContext__has_current_point_args NULL
483 PHP_METHOD(CairoContext
, identity_matrix
);
484 #if (PHP_MAJOR_VERSION >= 5)
485 ZEND_BEGIN_ARG_INFO_EX(CairoContext__identity_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
488 #define CairoContext__identity_matrix_args NULL
491 PHP_METHOD(CairoContext
, in_fill
);
492 #if (PHP_MAJOR_VERSION >= 5)
493 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
498 #define CairoContext__in_fill_args NULL
501 PHP_METHOD(CairoContext
, in_stroke
);
502 #if (PHP_MAJOR_VERSION >= 5)
503 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
508 #define CairoContext__in_stroke_args NULL
511 PHP_METHOD(CairoContext
, line_to
);
512 #if (PHP_MAJOR_VERSION >= 5)
513 ZEND_BEGIN_ARG_INFO_EX(CairoContext__line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
518 #define CairoContext__line_to_args NULL
521 PHP_METHOD(CairoContext
, mask
);
522 #if (PHP_MAJOR_VERSION >= 5)
523 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
524 ZEND_ARG_OBJ_INFO(0, p
, , 1)
527 #define CairoContext__mask_args NULL
530 PHP_METHOD(CairoContext
, mask_surface
);
531 #if (PHP_MAJOR_VERSION >= 5)
532 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
533 ZEND_ARG_OBJ_INFO(0, s
, , 1)
534 ZEND_ARG_INFO(0, surface_x
)
535 ZEND_ARG_INFO(0, surface_y
)
538 #define CairoContext__mask_surface_args NULL
541 PHP_METHOD(CairoContext
, move_to
);
542 #if (PHP_MAJOR_VERSION >= 5)
543 ZEND_BEGIN_ARG_INFO_EX(CairoContext__move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
548 #define CairoContext__move_to_args NULL
551 PHP_METHOD(CairoContext
, new_path
);
552 #if (PHP_MAJOR_VERSION >= 5)
553 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
556 #define CairoContext__new_path_args NULL
559 PHP_METHOD(CairoContext
, new_sub_path
);
560 #if (PHP_MAJOR_VERSION >= 5)
561 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_sub_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
564 #define CairoContext__new_sub_path_args NULL
567 PHP_METHOD(CairoContext
, paint
);
568 #if (PHP_MAJOR_VERSION >= 5)
569 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
572 #define CairoContext__paint_args NULL
575 PHP_METHOD(CairoContext
, paint_with_alpha
);
576 #if (PHP_MAJOR_VERSION >= 5)
577 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_with_alpha_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
578 ZEND_ARG_INFO(0, alpha
)
581 #define CairoContext__paint_with_alpha_args NULL
584 PHP_METHOD(CairoContext
, path_extents
);
585 #if (PHP_MAJOR_VERSION >= 5)
586 ZEND_BEGIN_ARG_INFO_EX(CairoContext__path_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
587 ZEND_ARG_OBJ_INFO(0, path
, , 1)
590 #define CairoContext__path_extents_args NULL
593 PHP_METHOD(CairoContext
, pop_group
);
594 #if (PHP_MAJOR_VERSION >= 5)
595 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
598 #define CairoContext__pop_group_args NULL
601 PHP_METHOD(CairoContext
, pop_group_to_source
);
602 #if (PHP_MAJOR_VERSION >= 5)
603 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_to_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
606 #define CairoContext__pop_group_to_source_args NULL
609 PHP_METHOD(CairoContext
, push_group
);
610 #if (PHP_MAJOR_VERSION >= 5)
611 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
614 #define CairoContext__push_group_args NULL
617 PHP_METHOD(CairoContext
, push_group_with_content
);
618 #if (PHP_MAJOR_VERSION >= 5)
619 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_with_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
620 ZEND_ARG_INFO(0, content
)
623 #define CairoContext__push_group_with_content_args NULL
626 PHP_METHOD(CairoContext
, rectangle
);
627 #if (PHP_MAJOR_VERSION >= 5)
628 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
631 ZEND_ARG_INFO(0, width
)
632 ZEND_ARG_INFO(0, height
)
635 #define CairoContext__rectangle_args NULL
638 PHP_METHOD(CairoContext
, rel_curve_to
);
639 #if (PHP_MAJOR_VERSION >= 5)
640 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
649 #define CairoContext__rel_curve_to_args NULL
652 PHP_METHOD(CairoContext
, rel_line_to
);
653 #if (PHP_MAJOR_VERSION >= 5)
654 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
659 #define CairoContext__rel_line_to_args NULL
662 PHP_METHOD(CairoContext
, rel_move_to
);
663 #if (PHP_MAJOR_VERSION >= 5)
664 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
669 #define CairoContext__rel_move_to_args NULL
672 PHP_METHOD(CairoContext
, reset_clip
);
673 #if (PHP_MAJOR_VERSION >= 5)
674 ZEND_BEGIN_ARG_INFO_EX(CairoContext__reset_clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
677 #define CairoContext__reset_clip_args NULL
680 PHP_METHOD(CairoContext
, restore
);
681 #if (PHP_MAJOR_VERSION >= 5)
682 ZEND_BEGIN_ARG_INFO_EX(CairoContext__restore_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
685 #define CairoContext__restore_args NULL
688 PHP_METHOD(CairoContext
, rotate
);
689 #if (PHP_MAJOR_VERSION >= 5)
690 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
691 ZEND_ARG_INFO(0, angle
)
694 #define CairoContext__rotate_args NULL
697 PHP_METHOD(CairoContext
, save
);
698 #if (PHP_MAJOR_VERSION >= 5)
699 ZEND_BEGIN_ARG_INFO_EX(CairoContext__save_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
702 #define CairoContext__save_args NULL
705 PHP_METHOD(CairoContext
, scale
);
706 #if (PHP_MAJOR_VERSION >= 5)
707 ZEND_BEGIN_ARG_INFO_EX(CairoContext__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
712 #define CairoContext__scale_args NULL
715 PHP_METHOD(CairoContext
, select_font_face
);
716 #if (PHP_MAJOR_VERSION >= 5)
717 ZEND_BEGIN_ARG_INFO_EX(CairoContext__select_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
718 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
719 ZEND_ARG_INFO(0, slant
)
720 ZEND_ARG_INFO(0, weight
)
723 #define CairoContext__select_font_face_args NULL
726 PHP_METHOD(CairoContext
, set_antialias
);
727 #if (PHP_MAJOR_VERSION >= 5)
728 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
729 ZEND_ARG_INFO(0, antialias
)
732 #define CairoContext__set_antialias_args NULL
735 PHP_METHOD(CairoContext
, set_dash
);
736 #if (PHP_MAJOR_VERSION >= 5)
737 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
738 ZEND_ARG_OBJ_INFO(0, dashes
, , 1)
739 ZEND_ARG_INFO(0, offset
)
742 #define CairoContext__set_dash_args NULL
745 PHP_METHOD(CairoContext
, set_fill_rule
);
746 #if (PHP_MAJOR_VERSION >= 5)
747 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
748 ZEND_ARG_INFO(0, fill_rule
)
751 #define CairoContext__set_fill_rule_args NULL
754 PHP_METHOD(CairoContext
, set_font_face
);
755 #if (PHP_MAJOR_VERSION >= 5)
756 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
757 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
760 #define CairoContext__set_font_face_args NULL
763 PHP_METHOD(CairoContext
, set_font_matrix
);
764 #if (PHP_MAJOR_VERSION >= 5)
765 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
766 ZEND_ARG_OBJ_INFO(0, matrix
, , 1)
769 #define CairoContext__set_font_matrix_args NULL
772 PHP_METHOD(CairoContext
, set_font_options
);
773 #if (PHP_MAJOR_VERSION >= 5)
774 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
775 ZEND_ARG_OBJ_INFO(0, options
, , 1)
778 #define CairoContext__set_font_options_args NULL
781 PHP_METHOD(CairoContext
, set_font_size
);
782 #if (PHP_MAJOR_VERSION >= 5)
783 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
784 ZEND_ARG_INFO(0, size
)
787 #define CairoContext__set_font_size_args NULL
790 PHP_METHOD(CairoContext
, set_line_cap
);
791 #if (PHP_MAJOR_VERSION >= 5)
792 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
793 ZEND_ARG_INFO(0, line_cap
)
796 #define CairoContext__set_line_cap_args NULL
799 PHP_METHOD(CairoContext
, set_line_join
);
800 #if (PHP_MAJOR_VERSION >= 5)
801 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
802 ZEND_ARG_INFO(0, line_join
)
805 #define CairoContext__set_line_join_args NULL
808 PHP_METHOD(CairoContext
, set_line_width
);
809 #if (PHP_MAJOR_VERSION >= 5)
810 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
811 ZEND_ARG_INFO(0, width
)
814 #define CairoContext__set_line_width_args NULL
817 PHP_METHOD(CairoContext
, set_matrix
);
818 #if (PHP_MAJOR_VERSION >= 5)
819 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
820 ZEND_ARG_OBJ_INFO(0, matix
, , 1)
823 #define CairoContext__set_matrix_args NULL
826 PHP_METHOD(CairoContext
, set_miter_limit
);
827 #if (PHP_MAJOR_VERSION >= 5)
828 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
829 ZEND_ARG_INFO(0, limit
)
832 #define CairoContext__set_miter_limit_args NULL
835 PHP_METHOD(CairoContext
, set_operator
);
836 #if (PHP_MAJOR_VERSION >= 5)
837 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
841 #define CairoContext__set_operator_args NULL
844 PHP_METHOD(CairoContext
, set_source
);
845 #if (PHP_MAJOR_VERSION >= 5)
846 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
847 ZEND_ARG_OBJ_INFO(0, p
, , 1)
850 #define CairoContext__set_source_args NULL
853 PHP_METHOD(CairoContext
, set_source_rgb
);
854 #if (PHP_MAJOR_VERSION >= 5)
855 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
856 ZEND_ARG_INFO(0, red
)
857 ZEND_ARG_INFO(0, green
)
858 ZEND_ARG_INFO(0, blue
)
861 #define CairoContext__set_source_rgb_args NULL
864 PHP_METHOD(CairoContext
, set_source_rgba
);
865 #if (PHP_MAJOR_VERSION >= 5)
866 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
867 ZEND_ARG_INFO(0, red
)
868 ZEND_ARG_INFO(0, green
)
869 ZEND_ARG_INFO(0, blue
)
870 ZEND_ARG_INFO(0, alpha
)
873 #define CairoContext__set_source_rgba_args NULL
876 PHP_METHOD(CairoContext
, set_source_surface
);
877 #if (PHP_MAJOR_VERSION >= 5)
878 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
879 ZEND_ARG_OBJ_INFO(0, surface
, , 1)
884 #define CairoContext__set_source_surface_args NULL
887 PHP_METHOD(CairoContext
, set_tolerance
);
888 #if (PHP_MAJOR_VERSION >= 5)
889 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
890 ZEND_ARG_INFO(0, tolerance
)
893 #define CairoContext__set_tolerance_args NULL
896 PHP_METHOD(CairoContext
, show_glyphs
);
897 #if (PHP_MAJOR_VERSION >= 5)
898 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_glyphs_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
899 ZEND_ARG_OBJ_INFO(0, glyphs
, , 1)
900 ZEND_ARG_INFO(0, num_glyphs
)
903 #define CairoContext__show_glyphs_args NULL
906 PHP_METHOD(CairoContext
, show_page
);
907 #if (PHP_MAJOR_VERSION >= 5)
908 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
911 #define CairoContext__show_page_args NULL
914 PHP_METHOD(CairoContext
, show_text
);
915 #if (PHP_MAJOR_VERSION >= 5)
916 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_text_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
917 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
920 #define CairoContext__show_text_args NULL
923 PHP_METHOD(CairoContext
, stroke
);
924 #if (PHP_MAJOR_VERSION >= 5)
925 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
928 #define CairoContext__stroke_args NULL
931 PHP_METHOD(CairoContext
, stroke_extents
);
932 #if (PHP_MAJOR_VERSION >= 5)
933 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
936 #define CairoContext__stroke_extents_args NULL
939 PHP_METHOD(CairoContext
, stroke_preserve
);
940 #if (PHP_MAJOR_VERSION >= 5)
941 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
944 #define CairoContext__stroke_preserve_args NULL
947 PHP_METHOD(CairoContext
, text_extents
);
948 #if (PHP_MAJOR_VERSION >= 5)
949 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
950 ZEND_ARG_OBJ_INFO(0, extents
, , 1)
953 #define CairoContext__text_extents_args NULL
956 PHP_METHOD(CairoContext
, text_path
);
957 #if (PHP_MAJOR_VERSION >= 5)
958 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
959 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
962 #define CairoContext__text_path_args NULL
965 PHP_METHOD(CairoContext
, transform
);
966 #if (PHP_MAJOR_VERSION >= 5)
967 ZEND_BEGIN_ARG_INFO_EX(CairoContext__transform_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
968 ZEND_ARG_OBJ_INFO(0, matrix
, , 1)
971 #define CairoContext__transform_args NULL
974 PHP_METHOD(CairoContext
, translate
);
975 #if (PHP_MAJOR_VERSION >= 5)
976 ZEND_BEGIN_ARG_INFO_EX(CairoContext__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
981 #define CairoContext__translate_args NULL
984 PHP_METHOD(CairoContext
, user_to_device
);
985 #if (PHP_MAJOR_VERSION >= 5)
986 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
991 #define CairoContext__user_to_device_args NULL
994 PHP_METHOD(CairoContext
, user_to_device_distance
);
995 #if (PHP_MAJOR_VERSION >= 5)
996 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1001 #define CairoContext__user_to_device_distance_args NULL
1004 PHP_METHOD(CairoFontFace
, __construct
);
1005 #if (PHP_MAJOR_VERSION >= 5)
1006 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1009 #define CairoFontFace____construct_args NULL
1012 PHP_METHOD(CairoFontFace
, __destruct
);
1013 #if (PHP_MAJOR_VERSION >= 5)
1014 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____destruct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1017 #define CairoFontFace____destruct_args NULL
1020 PHP_METHOD(CairoFontOptions
, __construct
);
1021 #if (PHP_MAJOR_VERSION >= 5)
1022 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1025 #define CairoFontOptions____construct_args NULL
1028 PHP_METHOD(CairoFontOptions
, get_antialias
);
1029 #if (PHP_MAJOR_VERSION >= 5)
1030 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1033 #define CairoFontOptions__get_antialias_args NULL
1036 PHP_METHOD(CairoFontOptions
, get_hint_metrics
);
1037 #if (PHP_MAJOR_VERSION >= 5)
1038 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_metrics_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1041 #define CairoFontOptions__get_hint_metrics_args NULL
1044 PHP_METHOD(CairoFontOptions
, get_hint_style
);
1045 #if (PHP_MAJOR_VERSION >= 5)
1046 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_style_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1049 #define CairoFontOptions__get_hint_style_args NULL
1052 PHP_METHOD(CairoFontOptions
, get_subpixel_order
);
1053 #if (PHP_MAJOR_VERSION >= 5)
1054 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_subpixel_order_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1057 #define CairoFontOptions__get_subpixel_order_args NULL
1060 PHP_METHOD(CairoFontOptions
, set_antialias
);
1061 #if (PHP_MAJOR_VERSION >= 5)
1062 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1063 ZEND_ARG_INFO(0, aa
)
1066 #define CairoFontOptions__set_antialias_args NULL
1069 PHP_METHOD(CairoFontOptions
, set_hint_metrics
);
1070 #if (PHP_MAJOR_VERSION >= 5)
1071 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_metrics_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1072 ZEND_ARG_INFO(0, hm
)
1075 #define CairoFontOptions__set_hint_metrics_args NULL
1078 PHP_METHOD(CairoFontOptions
, set_hint_style
);
1079 #if (PHP_MAJOR_VERSION >= 5)
1080 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_style_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1081 ZEND_ARG_INFO(0, hs
)
1084 #define CairoFontOptions__set_hint_style_args NULL
1087 PHP_METHOD(CairoFontOptions
, set_subpixel_order
);
1088 #if (PHP_MAJOR_VERSION >= 5)
1089 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_subpixel_order_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1090 ZEND_ARG_INFO(0, so
)
1093 #define CairoFontOptions__set_subpixel_order_args NULL
1096 PHP_METHOD(CairoMatrix
, __construct
);
1097 #if (PHP_MAJOR_VERSION >= 5)
1098 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
1099 ZEND_ARG_INFO(0, yx
)
1100 ZEND_ARG_INFO(0, xy
)
1101 ZEND_ARG_INFO(0, yy
)
1102 ZEND_ARG_INFO(0, x0
)
1103 ZEND_ARG_INFO(0, y0
)
1106 #define CairoMatrix____construct_args NULL
1109 PHP_METHOD(CairoMatrix
, init_rotate
);
1110 #if (PHP_MAJOR_VERSION >= 5)
1111 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__init_rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1112 ZEND_ARG_INFO(0, radians
)
1115 #define CairoMatrix__init_rotate_args NULL
1118 PHP_METHOD(CairoMatrix
, invert
);
1119 #if (PHP_MAJOR_VERSION >= 5)
1120 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__invert_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1123 #define CairoMatrix__invert_args NULL
1126 PHP_METHOD(CairoMatrix
, multiply
);
1127 #if (PHP_MAJOR_VERSION >= 5)
1128 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__multiply_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1129 ZEND_ARG_OBJ_INFO(0, o2
, , 1)
1132 #define CairoMatrix__multiply_args NULL
1135 PHP_METHOD(CairoMatrix
, rotate
);
1136 #if (PHP_MAJOR_VERSION >= 5)
1137 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1138 ZEND_ARG_INFO(0, radians
)
1141 #define CairoMatrix__rotate_args NULL
1144 PHP_METHOD(CairoMatrix
, scale
);
1145 #if (PHP_MAJOR_VERSION >= 5)
1146 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1147 ZEND_ARG_INFO(0, sx
)
1148 ZEND_ARG_INFO(0, xy
)
1151 #define CairoMatrix__scale_args NULL
1154 PHP_METHOD(CairoMatrix
, transform_distance
);
1155 #if (PHP_MAJOR_VERSION >= 5)
1156 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1157 ZEND_ARG_INFO(0, dx
)
1158 ZEND_ARG_INFO(0, dy
)
1161 #define CairoMatrix__transform_distance_args NULL
1164 PHP_METHOD(CairoMatrix
, transform_point
);
1165 #if (PHP_MAJOR_VERSION >= 5)
1166 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1171 #define CairoMatrix__transform_point_args NULL
1174 PHP_METHOD(CairoMatrix
, translate
);
1175 #if (PHP_MAJOR_VERSION >= 5)
1176 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1177 ZEND_ARG_INFO(0, tx
)
1178 ZEND_ARG_INFO(0, ty
)
1181 #define CairoMatrix__translate_args NULL
1184 PHP_METHOD(CairoPath
, __construct
);
1185 #if (PHP_MAJOR_VERSION >= 5)
1186 ZEND_BEGIN_ARG_INFO_EX(CairoPath____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1189 #define CairoPath____construct_args NULL
1192 PHP_METHOD(CairoPath
, str
);
1193 #if (PHP_MAJOR_VERSION >= 5)
1194 ZEND_BEGIN_ARG_INFO_EX(CairoPath__str_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1197 #define CairoPath__str_args NULL
1200 PHP_METHOD(CairoPattern
, __construct
);
1201 #if (PHP_MAJOR_VERSION >= 5)
1202 ZEND_BEGIN_ARG_INFO_EX(CairoPattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1205 #define CairoPattern____construct_args NULL
1208 PHP_METHOD(CairoPattern
, get_matrix
);
1209 #if (PHP_MAJOR_VERSION >= 5)
1210 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1213 #define CairoPattern__get_matrix_args NULL
1216 PHP_METHOD(CairoPattern
, set_matrix
);
1217 #if (PHP_MAJOR_VERSION >= 5)
1218 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1219 ZEND_ARG_OBJ_INFO(0, m
, , 1)
1222 #define CairoPattern__set_matrix_args NULL
1225 PHP_METHOD(CairoGradient
, __contruct
);
1226 #if (PHP_MAJOR_VERSION >= 5)
1227 ZEND_BEGIN_ARG_INFO_EX(CairoGradient____contruct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1230 #define CairoGradient____contruct_args NULL
1233 PHP_METHOD(CairoGradient
, add_color_stop_rgb
);
1234 #if (PHP_MAJOR_VERSION >= 5)
1235 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
1236 ZEND_ARG_INFO(0, offset
)
1237 ZEND_ARG_INFO(0, red
)
1238 ZEND_ARG_INFO(0, green
)
1239 ZEND_ARG_INFO(0, blue
)
1242 #define CairoGradient__add_color_stop_rgb_args NULL
1245 PHP_METHOD(CairoGradient
, add_color_stop_rgba
);
1246 #if (PHP_MAJOR_VERSION >= 5)
1247 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
1248 ZEND_ARG_INFO(0, offset
)
1249 ZEND_ARG_INFO(0, red
)
1250 ZEND_ARG_INFO(0, green
)
1251 ZEND_ARG_INFO(0, blue
)
1252 ZEND_ARG_INFO(0, alpha
)
1255 #define CairoGradient__add_color_stop_rgba_args NULL
1258 PHP_METHOD(CairoLinearGradient
, __construct
);
1259 #if (PHP_MAJOR_VERSION >= 5)
1260 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1261 ZEND_ARG_INFO(0, y0
)
1262 ZEND_ARG_INFO(0, x1
)
1263 ZEND_ARG_INFO(0, y1
)
1266 #define CairoLinearGradient____construct_args NULL
1269 PHP_METHOD(CairoLinearGradient
, get_linear_points
);
1270 #if (PHP_MAJOR_VERSION >= 5)
1271 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient__get_linear_points_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1274 #define CairoLinearGradient__get_linear_points_args NULL
1277 PHP_METHOD(CairoRadialGradient
, __constuct
);
1278 #if (PHP_MAJOR_VERSION >= 5)
1279 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient____constuct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
1280 ZEND_ARG_INFO(0, cx0
)
1281 ZEND_ARG_INFO(0, cy0
)
1282 ZEND_ARG_INFO(0, radius0
)
1283 ZEND_ARG_INFO(0, cx1
)
1284 ZEND_ARG_INFO(0, cy1
)
1285 ZEND_ARG_INFO(0, radius1
)
1288 #define CairoRadialGradient____constuct_args NULL
1291 PHP_METHOD(CairoRadialGradient
, get_radial_circles
);
1292 #if (PHP_MAJOR_VERSION >= 5)
1293 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient__get_radial_circles_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1296 #define CairoRadialGradient__get_radial_circles_args NULL
1299 PHP_METHOD(CairoSolidPattern
, __construct
);
1300 #if (PHP_MAJOR_VERSION >= 5)
1301 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1307 #define CairoSolidPattern____construct_args NULL
1310 PHP_METHOD(CairoSolidPattern
, get_rgba
);
1311 #if (PHP_MAJOR_VERSION >= 5)
1312 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern__get_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1315 #define CairoSolidPattern__get_rgba_args NULL
1318 PHP_METHOD(CairoSurfacePattern
, __construct
);
1319 #if (PHP_MAJOR_VERSION >= 5)
1320 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1323 #define CairoSurfacePattern____construct_args NULL
1326 PHP_METHOD(CairoSurfacePattern
, get_extend
);
1327 #if (PHP_MAJOR_VERSION >= 5)
1328 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_extend_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1331 #define CairoSurfacePattern__get_extend_args NULL
1334 PHP_METHOD(CairoSurfacePattern
, get_filter
);
1335 #if (PHP_MAJOR_VERSION >= 5)
1336 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_filter_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1339 #define CairoSurfacePattern__get_filter_args NULL
1342 PHP_METHOD(CairoSurfacePattern
, get_surface
);
1343 #if (PHP_MAJOR_VERSION >= 5)
1344 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1347 #define CairoSurfacePattern__get_surface_args NULL
1350 PHP_METHOD(CairoSurfacePattern
, set_extend
);
1351 #if (PHP_MAJOR_VERSION >= 5)
1352 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_extend_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1353 ZEND_ARG_INFO(0, extend
)
1356 #define CairoSurfacePattern__set_extend_args NULL
1359 PHP_METHOD(CairoSurfacePattern
, set_filter
);
1360 #if (PHP_MAJOR_VERSION >= 5)
1361 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_filter_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1362 ZEND_ARG_INFO(0, filter
)
1365 #define CairoSurfacePattern__set_filter_args NULL
1368 PHP_METHOD(CairoScaledFont
, __construct
);
1369 #if (PHP_MAJOR_VERSION >= 5)
1370 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1371 ZEND_ARG_OBJ_INFO(0, mx1
, , 1)
1372 ZEND_ARG_OBJ_INFO(0, mx2
, , 1)
1373 ZEND_ARG_OBJ_INFO(0, fo
, , 1)
1376 #define CairoScaledFont____construct_args NULL
1379 PHP_METHOD(CairoScaledFont
, extents
);
1380 #if (PHP_MAJOR_VERSION >= 5)
1381 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1384 #define CairoScaledFont__extents_args NULL
1387 PHP_METHOD(CairoScaledFont
, get_font_face
);
1388 #if (PHP_MAJOR_VERSION >= 5)
1389 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1392 #define CairoScaledFont__get_font_face_args NULL
1395 PHP_METHOD(CairoScaledFont
, text_extents
);
1396 #if (PHP_MAJOR_VERSION >= 5)
1397 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1398 ZEND_ARG_INFO(0, str
)
1401 #define CairoScaledFont__text_extents_args NULL
1404 PHP_METHOD(CairoSurface
, __construct
);
1405 #if (PHP_MAJOR_VERSION >= 5)
1406 ZEND_BEGIN_ARG_INFO_EX(CairoSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1409 #define CairoSurface____construct_args NULL
1412 PHP_METHOD(CairoSurface
, create_similar
);
1413 #if (PHP_MAJOR_VERSION >= 5)
1414 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__create_similar_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1415 ZEND_ARG_INFO(0, content
)
1416 ZEND_ARG_INFO(0, width
)
1417 ZEND_ARG_INFO(0, height
)
1420 #define CairoSurface__create_similar_args NULL
1423 PHP_METHOD(CairoSurface
, finish
);
1424 #if (PHP_MAJOR_VERSION >= 5)
1425 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__finish_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1428 #define CairoSurface__finish_args NULL
1431 PHP_METHOD(CairoSurface
, flush
);
1432 #if (PHP_MAJOR_VERSION >= 5)
1433 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__flush_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1436 #define CairoSurface__flush_args NULL
1439 PHP_METHOD(CairoSurface
, get_content
);
1440 #if (PHP_MAJOR_VERSION >= 5)
1441 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1444 #define CairoSurface__get_content_args NULL
1447 PHP_METHOD(CairoSurface
, get_device_offset
);
1448 #if (PHP_MAJOR_VERSION >= 5)
1449 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1452 #define CairoSurface__get_device_offset_args NULL
1455 PHP_METHOD(CairoSurface
, get_font_options
);
1456 #if (PHP_MAJOR_VERSION >= 5)
1457 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1460 #define CairoSurface__get_font_options_args NULL
1463 PHP_METHOD(CairoSurface
, mark_dirty_rectangle
);
1464 #if (PHP_MAJOR_VERSION >= 5)
1465 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__mark_dirty_rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1468 ZEND_ARG_INFO(0, width
)
1469 ZEND_ARG_INFO(0, height
)
1472 #define CairoSurface__mark_dirty_rectangle_args NULL
1475 PHP_METHOD(CairoSurface
, set_device_offset
);
1476 #if (PHP_MAJOR_VERSION >= 5)
1477 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1478 ZEND_ARG_INFO(0, x_offset
)
1479 ZEND_ARG_INFO(0, y_offset
)
1482 #define CairoSurface__set_device_offset_args NULL
1485 PHP_METHOD(CairoSurface
, set_fallback_resolution
);
1486 #if (PHP_MAJOR_VERSION >= 5)
1487 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_fallback_resolution_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1488 ZEND_ARG_INFO(0, x_ppi
)
1489 ZEND_ARG_INFO(0, y_ppi
)
1492 #define CairoSurface__set_fallback_resolution_args NULL
1495 PHP_METHOD(CairoSurface
, write_to_png
);
1496 #if (PHP_MAJOR_VERSION >= 5)
1497 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__write_to_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1498 ZEND_ARG_INFO(0, file
)
1501 #define CairoSurface__write_to_png_args NULL
1504 PHP_METHOD(CairoImageSurface
, __construct
);
1505 #if (PHP_MAJOR_VERSION >= 5)
1506 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1507 ZEND_ARG_INFO(0, widthm
)
1508 ZEND_ARG_INFO(0, height
)
1511 #define CairoImageSurface____construct_args NULL
1514 PHP_METHOD(CairoImageSurface
, create_from_data
);
1515 #if (PHP_MAJOR_VERSION >= 5)
1516 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
1517 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
1518 ZEND_ARG_INFO(0, format
)
1519 ZEND_ARG_INFO(0, width
)
1520 ZEND_ARG_INFO(0, height
)
1521 ZEND_ARG_INFO(0, stride
)
1524 #define CairoImageSurface__create_from_data_args NULL
1527 PHP_METHOD(CairoImageSurface
, create_from_png
);
1528 #if (PHP_MAJOR_VERSION >= 5)
1529 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1530 ZEND_ARG_INFO(0, file
)
1533 #define CairoImageSurface__create_from_png_args NULL
1536 PHP_METHOD(CairoImageSurface
, get_data
);
1537 #if (PHP_MAJOR_VERSION >= 5)
1538 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1541 #define CairoImageSurface__get_data_args NULL
1544 PHP_METHOD(CairoImageSurface
, get_format
);
1545 #if (PHP_MAJOR_VERSION >= 5)
1546 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_format_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1549 #define CairoImageSurface__get_format_args NULL
1552 PHP_METHOD(CairoImageSurface
, get_height
);
1553 #if (PHP_MAJOR_VERSION >= 5)
1554 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1557 #define CairoImageSurface__get_height_args NULL
1560 PHP_METHOD(CairoImageSurface
, get_stride
);
1561 #if (PHP_MAJOR_VERSION >= 5)
1562 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_stride_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1565 #define CairoImageSurface__get_stride_args NULL
1568 PHP_METHOD(CairoImageSurface
, get_width
);
1569 #if (PHP_MAJOR_VERSION >= 5)
1570 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1573 #define CairoImageSurface__get_width_args NULL
1576 PHP_METHOD(CairoPDFSurface
, __construct
);
1577 #if (PHP_MAJOR_VERSION >= 5)
1578 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1579 ZEND_ARG_INFO(0, wpts
)
1580 ZEND_ARG_INFO(0, hpts
)
1583 #define CairoPDFSurface____construct_args NULL
1586 PHP_METHOD(CairoPDFSurface
, set_size
);
1587 #if (PHP_MAJOR_VERSION >= 5)
1588 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1589 ZEND_ARG_INFO(0, wptd
)
1590 ZEND_ARG_INFO(0, hpts
)
1593 #define CairoPDFSurface__set_size_args NULL
1596 PHP_METHOD(CairoPSSurface
, __construct
);
1597 #if (PHP_MAJOR_VERSION >= 5)
1598 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1599 ZEND_ARG_INFO(0, wpts
)
1600 ZEND_ARG_INFO(0, hpts
)
1603 #define CairoPSSurface____construct_args NULL
1606 PHP_METHOD(CairoPSSurface
, dsc_begin_page_setup
);
1607 #if (PHP_MAJOR_VERSION >= 5)
1608 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_page_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1611 #define CairoPSSurface__dsc_begin_page_setup_args NULL
1614 PHP_METHOD(CairoPSSurface
, dsc_begin_setup
);
1615 #if (PHP_MAJOR_VERSION >= 5)
1616 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1619 #define CairoPSSurface__dsc_begin_setup_args NULL
1622 PHP_METHOD(CairoPSSurface
, dsc_comment
);
1623 #if (PHP_MAJOR_VERSION >= 5)
1624 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_comment_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1627 #define CairoPSSurface__dsc_comment_args NULL
1630 PHP_METHOD(CairoPSSurface
, get_levels
);
1631 #if (PHP_MAJOR_VERSION >= 5)
1632 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_levels_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1635 #define CairoPSSurface__get_levels_args NULL
1638 PHP_METHOD(CairoPSSurface
, get_level_string
);
1639 #if (PHP_MAJOR_VERSION >= 5)
1640 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_level_string_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1643 #define CairoPSSurface__get_level_string_args NULL
1646 PHP_METHOD(CairoPSSurface
, restrict_to_level
);
1647 #if (PHP_MAJOR_VERSION >= 5)
1648 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__restrict_to_level_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1649 ZEND_ARG_INFO(0, level
)
1652 #define CairoPSSurface__restrict_to_level_args NULL
1655 PHP_METHOD(CairoPSSurface
, set_eps
);
1656 #if (PHP_MAJOR_VERSION >= 5)
1657 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_eps_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1660 #define CairoPSSurface__set_eps_args NULL
1663 PHP_METHOD(CairoPSSurface
, set_size
);
1664 #if (PHP_MAJOR_VERSION >= 5)
1665 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1666 ZEND_ARG_INFO(0, wpts
)
1667 ZEND_ARG_INFO(0, hpts
)
1670 #define CairoPSSurface__set_size_args NULL
1673 PHP_METHOD(CairoQuartzSurface
, __construct
);
1674 #if (PHP_MAJOR_VERSION >= 5)
1675 ZEND_BEGIN_ARG_INFO_EX(CairoQuartzSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1676 ZEND_ARG_INFO(0, hpixels
)
1677 ZEND_ARG_INFO(0, format
)
1680 #define CairoQuartzSurface____construct_args NULL
1683 PHP_METHOD(CairoSVGSurface
, __construct
);
1684 #if (PHP_MAJOR_VERSION >= 5)
1685 ZEND_BEGIN_ARG_INFO_EX(CairoSVGSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1686 ZEND_ARG_INFO(0, wpts
)
1687 ZEND_ARG_INFO(0, hpts
)
1690 #define CairoSVGSurface____construct_args NULL
1693 PHP_METHOD(CairoWin32Surface
, __construct
);
1694 #if (PHP_MAJOR_VERSION >= 5)
1695 ZEND_BEGIN_ARG_INFO_EX(CairoWin32Surface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1698 #define CairoWin32Surface____construct_args NULL
1701 PHP_METHOD(CairoXlibSurface
, __construct
);
1702 #if (PHP_MAJOR_VERSION >= 5)
1703 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1706 #define CairoXlibSurface____construct_args NULL
1709 PHP_METHOD(CairoXlibSurface
, get_depth
);
1710 #if (PHP_MAJOR_VERSION >= 5)
1711 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_depth_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1714 #define CairoXlibSurface__get_depth_args NULL
1717 PHP_METHOD(CairoXlibSurface
, get_height
);
1718 #if (PHP_MAJOR_VERSION >= 5)
1719 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1722 #define CairoXlibSurface__get_height_args NULL
1725 PHP_METHOD(CairoXlibSurface
, get_width
);
1726 #if (PHP_MAJOR_VERSION >= 5)
1727 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1730 #define CairoXlibSurface__get_width_args NULL
1737 #endif /* PHP_HAVE_PHPCAIRO */
1739 #endif /* PHP_PHPCAIRO_H */
1747 * vim600: noet sw=4 ts=4 fdm=marker
1748 * vim<600: noet sw=4 ts=4