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
;
82 typedef struct _scaledfont_object
{
84 cairo_scaled_font_t
*scaledfont
;
88 #define PHP_PHPCAIRO_API __declspec(dllexport)
90 #define PHP_PHPCAIRO_API
93 PHP_MINIT_FUNCTION(phpCairo
);
94 PHP_MSHUTDOWN_FUNCTION(phpCairo
);
95 PHP_RINIT_FUNCTION(phpCairo
);
96 PHP_RSHUTDOWN_FUNCTION(phpCairo
);
97 PHP_MINFO_FUNCTION(phpCairo
);
103 #define FREE_RESOURCE(resource) zend_list_delete(Z_LVAL_P(resource))
105 #define PROP_GET_LONG(name) Z_LVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
106 #define PROP_SET_LONG(name, l) zend_update_property_long(_this_ce, _this_zval, #name, strlen(#name), l TSRMLS_CC)
108 #define PROP_GET_DOUBLE(name) Z_DVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
109 #define PROP_SET_DOUBLE(name, d) zend_update_property_double(_this_ce, _this_zval, #name, strlen(#name), d TSRMLS_CC)
111 #define PROP_GET_STRING(name) Z_STRVAL_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
112 #define PROP_GET_STRLEN(name) Z_STRLEN_P(zend_read_property(_this_ce, _this_zval, #name, strlen(#name), 1 TSRMLS_CC))
113 #define PROP_SET_STRING(name, s) zend_update_property_string(_this_ce, _this_zval, #name, strlen(#name), s TSRMLS_CC)
114 #define PROP_SET_STRINGL(name, s, l) zend_update_property_stringl(_this_ce, _this_zval, #name, strlen(#name), s, l TSRMLS_CC)
117 PHP_FUNCTION(cairo_version
);
118 #if (PHP_MAJOR_VERSION >= 5)
119 ZEND_BEGIN_ARG_INFO_EX(cairo_version_arg_info
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
122 #define cairo_version_arg_info NULL
125 PHP_FUNCTION(cairo_version_string
);
126 #if (PHP_MAJOR_VERSION >= 5)
127 ZEND_BEGIN_ARG_INFO_EX(cairo_version_string_arg_info
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
130 #define cairo_version_string_arg_info NULL
133 PHP_METHOD(CairoContext
, __construct
);
134 #if (PHP_MAJOR_VERSION >= 5)
135 ZEND_BEGIN_ARG_INFO_EX(CairoContext____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
136 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
139 #define CairoContext____construct_args NULL
142 PHP_METHOD(CairoContext
, append_path
);
143 #if (PHP_MAJOR_VERSION >= 5)
144 ZEND_BEGIN_ARG_INFO_EX(CairoContext__append_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
145 ZEND_ARG_OBJ_INFO(0, p
, , 1)
148 #define CairoContext__append_path_args NULL
151 PHP_METHOD(CairoContext
, arc
);
152 #if (PHP_MAJOR_VERSION >= 5)
153 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
156 ZEND_ARG_INFO(0, radius
)
157 ZEND_ARG_INFO(0, angle1
)
158 ZEND_ARG_INFO(0, angle2
)
161 #define CairoContext__arc_args NULL
164 PHP_METHOD(CairoContext
, arc_negative
);
165 #if (PHP_MAJOR_VERSION >= 5)
166 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_negative_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
169 ZEND_ARG_INFO(0, radius
)
170 ZEND_ARG_INFO(0, angle1
)
171 ZEND_ARG_INFO(0, angle2
)
174 #define CairoContext__arc_negative_args NULL
177 PHP_METHOD(CairoContext
, clip
);
178 #if (PHP_MAJOR_VERSION >= 5)
179 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
182 #define CairoContext__clip_args NULL
185 PHP_METHOD(CairoContext
, clip_extents
);
186 #if (PHP_MAJOR_VERSION >= 5)
187 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
190 #define CairoContext__clip_extents_args NULL
193 PHP_METHOD(CairoContext
, clip_preserve
);
194 #if (PHP_MAJOR_VERSION >= 5)
195 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
198 #define CairoContext__clip_preserve_args NULL
201 PHP_METHOD(CairoContext
, close_path
);
202 #if (PHP_MAJOR_VERSION >= 5)
203 ZEND_BEGIN_ARG_INFO_EX(CairoContext__close_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
206 #define CairoContext__close_path_args NULL
209 PHP_METHOD(CairoContext
, copy_clip_rectangle_list
);
210 #if (PHP_MAJOR_VERSION >= 5)
211 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_clip_rectangle_list_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
214 #define CairoContext__copy_clip_rectangle_list_args NULL
217 PHP_METHOD(CairoContext
, copy_page
);
218 #if (PHP_MAJOR_VERSION >= 5)
219 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
222 #define CairoContext__copy_page_args NULL
225 PHP_METHOD(CairoContext
, copy_path
);
226 #if (PHP_MAJOR_VERSION >= 5)
227 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
230 #define CairoContext__copy_path_args NULL
233 PHP_METHOD(CairoContext
, copy_path_flat
);
234 #if (PHP_MAJOR_VERSION >= 5)
235 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_flat_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
238 #define CairoContext__copy_path_flat_args NULL
241 PHP_METHOD(CairoContext
, curve_to
);
242 #if (PHP_MAJOR_VERSION >= 5)
243 ZEND_BEGIN_ARG_INFO_EX(CairoContext__curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
252 #define CairoContext__curve_to_args NULL
255 PHP_METHOD(CairoContext
, device_to_user
);
256 #if (PHP_MAJOR_VERSION >= 5)
257 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
262 #define CairoContext__device_to_user_args NULL
265 PHP_METHOD(CairoContext
, device_to_user_distance
);
266 #if (PHP_MAJOR_VERSION >= 5)
267 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
272 #define CairoContext__device_to_user_distance_args NULL
275 PHP_METHOD(CairoContext
, fill
);
276 #if (PHP_MAJOR_VERSION >= 5)
277 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
280 #define CairoContext__fill_args NULL
283 PHP_METHOD(CairoContext
, fill_extents
);
284 #if (PHP_MAJOR_VERSION >= 5)
285 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
288 #define CairoContext__fill_extents_args NULL
291 PHP_METHOD(CairoContext
, fill_preserve
);
292 #if (PHP_MAJOR_VERSION >= 5)
293 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
296 #define CairoContext__fill_preserve_args NULL
299 PHP_METHOD(CairoContext
, font_extents
);
300 #if (PHP_MAJOR_VERSION >= 5)
301 ZEND_BEGIN_ARG_INFO_EX(CairoContext__font_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
304 #define CairoContext__font_extents_args NULL
307 PHP_METHOD(CairoContext
, get_antialias
);
308 #if (PHP_MAJOR_VERSION >= 5)
309 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
312 #define CairoContext__get_antialias_args NULL
315 PHP_METHOD(CairoContext
, get_current_point
);
316 #if (PHP_MAJOR_VERSION >= 5)
317 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
320 #define CairoContext__get_current_point_args NULL
323 PHP_METHOD(CairoContext
, get_dash
);
324 #if (PHP_MAJOR_VERSION >= 5)
325 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
328 #define CairoContext__get_dash_args NULL
331 PHP_METHOD(CairoContext
, get_dash_count
);
332 #if (PHP_MAJOR_VERSION >= 5)
333 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_count_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
336 #define CairoContext__get_dash_count_args NULL
339 PHP_METHOD(CairoContext
, get_fill_rule
);
340 #if (PHP_MAJOR_VERSION >= 5)
341 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
344 #define CairoContext__get_fill_rule_args NULL
347 PHP_METHOD(CairoContext
, get_font_face
);
348 #if (PHP_MAJOR_VERSION >= 5)
349 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
352 #define CairoContext__get_font_face_args NULL
355 PHP_METHOD(CairoContext
, get_font_matrix
);
356 #if (PHP_MAJOR_VERSION >= 5)
357 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
360 #define CairoContext__get_font_matrix_args NULL
363 PHP_METHOD(CairoContext
, get_font_options
);
364 #if (PHP_MAJOR_VERSION >= 5)
365 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
368 #define CairoContext__get_font_options_args NULL
371 PHP_METHOD(CairoContext
, get_group_target
);
372 #if (PHP_MAJOR_VERSION >= 5)
373 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_group_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
376 #define CairoContext__get_group_target_args NULL
379 PHP_METHOD(CairoContext
, get_line_cap
);
380 #if (PHP_MAJOR_VERSION >= 5)
381 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
384 #define CairoContext__get_line_cap_args NULL
387 PHP_METHOD(CairoContext
, get_line_join
);
388 #if (PHP_MAJOR_VERSION >= 5)
389 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
392 #define CairoContext__get_line_join_args NULL
395 PHP_METHOD(CairoContext
, get_line_width
);
396 #if (PHP_MAJOR_VERSION >= 5)
397 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
400 #define CairoContext__get_line_width_args NULL
403 PHP_METHOD(CairoContext
, get_matrix
);
404 #if (PHP_MAJOR_VERSION >= 5)
405 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
408 #define CairoContext__get_matrix_args NULL
411 PHP_METHOD(CairoContext
, get_miter_limit
);
412 #if (PHP_MAJOR_VERSION >= 5)
413 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
416 #define CairoContext__get_miter_limit_args NULL
419 PHP_METHOD(CairoContext
, get_operator
);
420 #if (PHP_MAJOR_VERSION >= 5)
421 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
424 #define CairoContext__get_operator_args NULL
427 PHP_METHOD(CairoContext
, get_scaled_font
);
428 #if (PHP_MAJOR_VERSION >= 5)
429 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_scaled_font_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
432 #define CairoContext__get_scaled_font_args NULL
435 PHP_METHOD(CairoContext
, get_source
);
436 #if (PHP_MAJOR_VERSION >= 5)
437 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
440 #define CairoContext__get_source_args NULL
443 PHP_METHOD(CairoContext
, get_target
);
444 #if (PHP_MAJOR_VERSION >= 5)
445 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
448 #define CairoContext__get_target_args NULL
451 PHP_METHOD(CairoContext
, get_tolerance
);
452 #if (PHP_MAJOR_VERSION >= 5)
453 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
456 #define CairoContext__get_tolerance_args NULL
459 PHP_METHOD(CairoContext
, glyph_extents
);
460 #if (PHP_MAJOR_VERSION >= 5)
461 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
462 #if (PHP_MINOR_VERSION > 0)
463 ZEND_ARG_ARRAY_INFO(0, obj
, 1)
465 ZEND_ARG_INFO(O
, obj
)
467 ZEND_ARG_INFO(0, num
)
470 #define CairoContext__glyph_extents_args NULL
473 PHP_METHOD(CairoContext
, glyph_path
);
474 #if (PHP_MAJOR_VERSION >= 5)
475 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
476 #if (PHP_MINOR_VERSION > 0)
477 ZEND_ARG_ARRAY_INFO(0, obh
, 1)
479 ZEND_ARG_INFO(0, obh
);
481 ZEND_ARG_INFO(0, num
)
484 #define CairoContext__glyph_path_args NULL
487 PHP_METHOD(CairoContext
, has_current_point
);
488 #if (PHP_MAJOR_VERSION >= 5)
489 ZEND_BEGIN_ARG_INFO_EX(CairoContext__has_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
492 #define CairoContext__has_current_point_args NULL
495 PHP_METHOD(CairoContext
, identity_matrix
);
496 #if (PHP_MAJOR_VERSION >= 5)
497 ZEND_BEGIN_ARG_INFO_EX(CairoContext__identity_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
500 #define CairoContext__identity_matrix_args NULL
503 PHP_METHOD(CairoContext
, in_fill
);
504 #if (PHP_MAJOR_VERSION >= 5)
505 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
510 #define CairoContext__in_fill_args NULL
513 PHP_METHOD(CairoContext
, in_stroke
);
514 #if (PHP_MAJOR_VERSION >= 5)
515 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
520 #define CairoContext__in_stroke_args NULL
523 PHP_METHOD(CairoContext
, line_to
);
524 #if (PHP_MAJOR_VERSION >= 5)
525 ZEND_BEGIN_ARG_INFO_EX(CairoContext__line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
530 #define CairoContext__line_to_args NULL
533 PHP_METHOD(CairoContext
, mask
);
534 #if (PHP_MAJOR_VERSION >= 5)
535 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
536 ZEND_ARG_OBJ_INFO(0, p
, , 1)
539 #define CairoContext__mask_args NULL
542 PHP_METHOD(CairoContext
, mask_surface
);
543 #if (PHP_MAJOR_VERSION >= 5)
544 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
545 ZEND_ARG_OBJ_INFO(0, s
, , 1)
546 ZEND_ARG_INFO(0, surface_x
)
547 ZEND_ARG_INFO(0, surface_y
)
550 #define CairoContext__mask_surface_args NULL
553 PHP_METHOD(CairoContext
, move_to
);
554 #if (PHP_MAJOR_VERSION >= 5)
555 ZEND_BEGIN_ARG_INFO_EX(CairoContext__move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
560 #define CairoContext__move_to_args NULL
563 PHP_METHOD(CairoContext
, new_path
);
564 #if (PHP_MAJOR_VERSION >= 5)
565 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
568 #define CairoContext__new_path_args NULL
571 PHP_METHOD(CairoContext
, new_sub_path
);
572 #if (PHP_MAJOR_VERSION >= 5)
573 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_sub_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
576 #define CairoContext__new_sub_path_args NULL
579 PHP_METHOD(CairoContext
, paint
);
580 #if (PHP_MAJOR_VERSION >= 5)
581 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
584 #define CairoContext__paint_args NULL
587 PHP_METHOD(CairoContext
, paint_with_alpha
);
588 #if (PHP_MAJOR_VERSION >= 5)
589 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_with_alpha_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
590 ZEND_ARG_INFO(0, alpha
)
593 #define CairoContext__paint_with_alpha_args NULL
596 PHP_METHOD(CairoContext
, path_extents
);
597 #if (PHP_MAJOR_VERSION >= 5)
598 ZEND_BEGIN_ARG_INFO_EX(CairoContext__path_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
599 ZEND_ARG_OBJ_INFO(0, path
, , 1)
602 #define CairoContext__path_extents_args NULL
605 PHP_METHOD(CairoContext
, pop_group
);
606 #if (PHP_MAJOR_VERSION >= 5)
607 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
610 #define CairoContext__pop_group_args NULL
613 PHP_METHOD(CairoContext
, pop_group_to_source
);
614 #if (PHP_MAJOR_VERSION >= 5)
615 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_to_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
618 #define CairoContext__pop_group_to_source_args NULL
621 PHP_METHOD(CairoContext
, push_group
);
622 #if (PHP_MAJOR_VERSION >= 5)
623 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
626 #define CairoContext__push_group_args NULL
629 PHP_METHOD(CairoContext
, push_group_with_content
);
630 #if (PHP_MAJOR_VERSION >= 5)
631 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_with_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
632 ZEND_ARG_INFO(0, content
)
635 #define CairoContext__push_group_with_content_args NULL
638 PHP_METHOD(CairoContext
, rectangle
);
639 #if (PHP_MAJOR_VERSION >= 5)
640 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
643 ZEND_ARG_INFO(0, width
)
644 ZEND_ARG_INFO(0, height
)
647 #define CairoContext__rectangle_args NULL
650 PHP_METHOD(CairoContext
, rel_curve_to
);
651 #if (PHP_MAJOR_VERSION >= 5)
652 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
661 #define CairoContext__rel_curve_to_args NULL
664 PHP_METHOD(CairoContext
, rel_line_to
);
665 #if (PHP_MAJOR_VERSION >= 5)
666 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
671 #define CairoContext__rel_line_to_args NULL
674 PHP_METHOD(CairoContext
, rel_move_to
);
675 #if (PHP_MAJOR_VERSION >= 5)
676 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
681 #define CairoContext__rel_move_to_args NULL
684 PHP_METHOD(CairoContext
, reset_clip
);
685 #if (PHP_MAJOR_VERSION >= 5)
686 ZEND_BEGIN_ARG_INFO_EX(CairoContext__reset_clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
689 #define CairoContext__reset_clip_args NULL
692 PHP_METHOD(CairoContext
, restore
);
693 #if (PHP_MAJOR_VERSION >= 5)
694 ZEND_BEGIN_ARG_INFO_EX(CairoContext__restore_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
697 #define CairoContext__restore_args NULL
700 PHP_METHOD(CairoContext
, rotate
);
701 #if (PHP_MAJOR_VERSION >= 5)
702 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
703 ZEND_ARG_INFO(0, angle
)
706 #define CairoContext__rotate_args NULL
709 PHP_METHOD(CairoContext
, save
);
710 #if (PHP_MAJOR_VERSION >= 5)
711 ZEND_BEGIN_ARG_INFO_EX(CairoContext__save_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
714 #define CairoContext__save_args NULL
717 PHP_METHOD(CairoContext
, scale
);
718 #if (PHP_MAJOR_VERSION >= 5)
719 ZEND_BEGIN_ARG_INFO_EX(CairoContext__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
724 #define CairoContext__scale_args NULL
727 PHP_METHOD(CairoContext
, select_font_face
);
728 #if (PHP_MAJOR_VERSION >= 5)
729 ZEND_BEGIN_ARG_INFO_EX(CairoContext__select_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
730 ZEND_ARG_INFO(0, family
)
731 ZEND_ARG_INFO(0, slant
)
732 ZEND_ARG_INFO(0, weight
)
735 #define CairoContext__select_font_face_args NULL
738 PHP_METHOD(CairoContext
, set_antialias
);
739 #if (PHP_MAJOR_VERSION >= 5)
740 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
741 ZEND_ARG_INFO(0, antialias
)
744 #define CairoContext__set_antialias_args NULL
747 PHP_METHOD(CairoContext
, set_dash
);
748 #if (PHP_MAJOR_VERSION >= 5)
749 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
750 #if (PHP_MINOR_VERSION > 0)
751 ZEND_ARG_ARRAY_INFO(0, dashes
, 1)
753 ZEND_ARG_INFO(0, dashes
)
755 ZEND_ARG_INFO(0, num_dashes
)
756 ZEND_ARG_INFO(0, offset
)
759 #define CairoContext__set_dash_args NULL
762 PHP_METHOD(CairoContext
, set_fill_rule
);
763 #if (PHP_MAJOR_VERSION >= 5)
764 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
765 ZEND_ARG_INFO(0, fill_rule
)
768 #define CairoContext__set_fill_rule_args NULL
771 PHP_METHOD(CairoContext
, set_font_face
);
772 #if (PHP_MAJOR_VERSION >= 5)
773 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
774 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
777 #define CairoContext__set_font_face_args NULL
780 PHP_METHOD(CairoContext
, set_font_matrix
);
781 #if (PHP_MAJOR_VERSION >= 5)
782 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
783 ZEND_ARG_OBJ_INFO(0, matrix
, , 1)
786 #define CairoContext__set_font_matrix_args NULL
789 PHP_METHOD(CairoContext
, set_font_options
);
790 #if (PHP_MAJOR_VERSION >= 5)
791 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
792 ZEND_ARG_OBJ_INFO(0, options
, , 1)
795 #define CairoContext__set_font_options_args NULL
798 PHP_METHOD(CairoContext
, set_font_size
);
799 #if (PHP_MAJOR_VERSION >= 5)
800 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
801 ZEND_ARG_INFO(0, size
)
804 #define CairoContext__set_font_size_args NULL
807 PHP_METHOD(CairoContext
, set_line_cap
);
808 #if (PHP_MAJOR_VERSION >= 5)
809 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
810 ZEND_ARG_INFO(0, line_cap
)
813 #define CairoContext__set_line_cap_args NULL
816 PHP_METHOD(CairoContext
, set_line_join
);
817 #if (PHP_MAJOR_VERSION >= 5)
818 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
819 ZEND_ARG_INFO(0, line_join
)
822 #define CairoContext__set_line_join_args NULL
825 PHP_METHOD(CairoContext
, set_line_width
);
826 #if (PHP_MAJOR_VERSION >= 5)
827 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
828 ZEND_ARG_INFO(0, width
)
831 #define CairoContext__set_line_width_args NULL
834 PHP_METHOD(CairoContext
, set_matrix
);
835 #if (PHP_MAJOR_VERSION >= 5)
836 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
837 ZEND_ARG_OBJ_INFO(0, matix
, , 1)
840 #define CairoContext__set_matrix_args NULL
843 PHP_METHOD(CairoContext
, set_miter_limit
);
844 #if (PHP_MAJOR_VERSION >= 5)
845 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
846 ZEND_ARG_INFO(0, limit
)
849 #define CairoContext__set_miter_limit_args NULL
852 PHP_METHOD(CairoContext
, set_operator
);
853 #if (PHP_MAJOR_VERSION >= 5)
854 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
858 #define CairoContext__set_operator_args NULL
861 PHP_METHOD(CairoContext
, set_source
);
862 #if (PHP_MAJOR_VERSION >= 5)
863 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
864 ZEND_ARG_OBJ_INFO(0, p
, , 1)
867 #define CairoContext__set_source_args NULL
870 PHP_METHOD(CairoContext
, set_source_rgb
);
871 #if (PHP_MAJOR_VERSION >= 5)
872 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
873 ZEND_ARG_INFO(0, red
)
874 ZEND_ARG_INFO(0, green
)
875 ZEND_ARG_INFO(0, blue
)
878 #define CairoContext__set_source_rgb_args NULL
881 PHP_METHOD(CairoContext
, set_source_rgba
);
882 #if (PHP_MAJOR_VERSION >= 5)
883 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
884 ZEND_ARG_INFO(0, red
)
885 ZEND_ARG_INFO(0, green
)
886 ZEND_ARG_INFO(0, blue
)
887 ZEND_ARG_INFO(0, alpha
)
890 #define CairoContext__set_source_rgba_args NULL
893 PHP_METHOD(CairoContext
, set_source_surface
);
894 #if (PHP_MAJOR_VERSION >= 5)
895 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
896 ZEND_ARG_OBJ_INFO(0, surface
, , 1)
901 #define CairoContext__set_source_surface_args NULL
904 PHP_METHOD(CairoContext
, set_tolerance
);
905 #if (PHP_MAJOR_VERSION >= 5)
906 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
907 ZEND_ARG_INFO(0, tolerance
)
910 #define CairoContext__set_tolerance_args NULL
913 PHP_METHOD(CairoContext
, show_glyphs
);
914 #if (PHP_MAJOR_VERSION >= 5)
915 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_glyphs_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
916 #if (PHP_MINOR_VERSION > 0)
917 ZEND_ARG_ARRAY_INFO(0, obj
, 1)
919 ZEND_ARG_INFO(0, obj
)
921 ZEND_ARG_INFO(0, num_glyphs
)
924 #define CairoContext__show_glyphs_args NULL
927 PHP_METHOD(CairoContext
, show_page
);
928 #if (PHP_MAJOR_VERSION >= 5)
929 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
932 #define CairoContext__show_page_args NULL
935 PHP_METHOD(CairoContext
, show_text
);
936 #if (PHP_MAJOR_VERSION >= 5)
937 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_text_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
938 ZEND_ARG_INFO(0, obj
)
941 #define CairoContext__show_text_args NULL
944 PHP_METHOD(CairoContext
, stroke
);
945 #if (PHP_MAJOR_VERSION >= 5)
946 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
949 #define CairoContext__stroke_args NULL
952 PHP_METHOD(CairoContext
, stroke_extents
);
953 #if (PHP_MAJOR_VERSION >= 5)
954 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
957 #define CairoContext__stroke_extents_args NULL
960 PHP_METHOD(CairoContext
, stroke_preserve
);
961 #if (PHP_MAJOR_VERSION >= 5)
962 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
965 #define CairoContext__stroke_preserve_args NULL
968 PHP_METHOD(CairoContext
, text_extents
);
969 #if (PHP_MAJOR_VERSION >= 5)
970 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
971 ZEND_ARG_INFO(0, str
)
974 #define CairoContext__text_extents_args NULL
977 PHP_METHOD(CairoContext
, text_path
);
978 #if (PHP_MAJOR_VERSION >= 5)
979 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
980 ZEND_ARG_INFO(0, obj
)
983 #define CairoContext__text_path_args NULL
986 PHP_METHOD(CairoContext
, transform
);
987 #if (PHP_MAJOR_VERSION >= 5)
988 ZEND_BEGIN_ARG_INFO_EX(CairoContext__transform_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
989 ZEND_ARG_OBJ_INFO(0, matrix
, , 1)
992 #define CairoContext__transform_args NULL
995 PHP_METHOD(CairoContext
, translate
);
996 #if (PHP_MAJOR_VERSION >= 5)
997 ZEND_BEGIN_ARG_INFO_EX(CairoContext__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1002 #define CairoContext__translate_args NULL
1005 PHP_METHOD(CairoContext
, user_to_device
);
1006 #if (PHP_MAJOR_VERSION >= 5)
1007 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1012 #define CairoContext__user_to_device_args NULL
1015 PHP_METHOD(CairoContext
, user_to_device_distance
);
1016 #if (PHP_MAJOR_VERSION >= 5)
1017 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1018 ZEND_ARG_INFO(0, dx
)
1019 ZEND_ARG_INFO(0, dy
)
1022 #define CairoContext__user_to_device_distance_args NULL
1025 PHP_METHOD(CairoFontFace
, __construct
);
1026 #if (PHP_MAJOR_VERSION >= 5)
1027 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1030 #define CairoFontFace____construct_args NULL
1033 PHP_METHOD(CairoFontFace
, __destruct
);
1034 #if (PHP_MAJOR_VERSION >= 5)
1035 ZEND_BEGIN_ARG_INFO_EX(CairoFontFace____destruct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1038 #define CairoFontFace____destruct_args NULL
1041 PHP_METHOD(CairoFontOptions
, __construct
);
1042 #if (PHP_MAJOR_VERSION >= 5)
1043 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1046 #define CairoFontOptions____construct_args NULL
1049 PHP_METHOD(CairoFontOptions
, get_antialias
);
1050 #if (PHP_MAJOR_VERSION >= 5)
1051 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1054 #define CairoFontOptions__get_antialias_args NULL
1057 PHP_METHOD(CairoFontOptions
, get_hint_metrics
);
1058 #if (PHP_MAJOR_VERSION >= 5)
1059 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_metrics_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1062 #define CairoFontOptions__get_hint_metrics_args NULL
1065 PHP_METHOD(CairoFontOptions
, get_hint_style
);
1066 #if (PHP_MAJOR_VERSION >= 5)
1067 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_hint_style_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1070 #define CairoFontOptions__get_hint_style_args NULL
1073 PHP_METHOD(CairoFontOptions
, get_subpixel_order
);
1074 #if (PHP_MAJOR_VERSION >= 5)
1075 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__get_subpixel_order_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1078 #define CairoFontOptions__get_subpixel_order_args NULL
1081 PHP_METHOD(CairoFontOptions
, set_antialias
);
1082 #if (PHP_MAJOR_VERSION >= 5)
1083 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1084 ZEND_ARG_INFO(0, aa
)
1087 #define CairoFontOptions__set_antialias_args NULL
1090 PHP_METHOD(CairoFontOptions
, set_hint_metrics
);
1091 #if (PHP_MAJOR_VERSION >= 5)
1092 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_metrics_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1093 ZEND_ARG_INFO(0, hm
)
1096 #define CairoFontOptions__set_hint_metrics_args NULL
1099 PHP_METHOD(CairoFontOptions
, set_hint_style
);
1100 #if (PHP_MAJOR_VERSION >= 5)
1101 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_hint_style_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1102 ZEND_ARG_INFO(0, hs
)
1105 #define CairoFontOptions__set_hint_style_args NULL
1108 PHP_METHOD(CairoFontOptions
, set_subpixel_order
);
1109 #if (PHP_MAJOR_VERSION >= 5)
1110 ZEND_BEGIN_ARG_INFO_EX(CairoFontOptions__set_subpixel_order_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1111 ZEND_ARG_INFO(0, so
)
1114 #define CairoFontOptions__set_subpixel_order_args NULL
1117 PHP_METHOD(CairoMatrix
, __construct
);
1118 #if (PHP_MAJOR_VERSION >= 5)
1119 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
1120 ZEND_ARG_INFO(0, yx
)
1121 ZEND_ARG_INFO(0, xy
)
1122 ZEND_ARG_INFO(0, yy
)
1123 ZEND_ARG_INFO(0, x0
)
1124 ZEND_ARG_INFO(0, y0
)
1127 #define CairoMatrix____construct_args NULL
1130 PHP_METHOD(CairoMatrix
, init_rotate
);
1131 #if (PHP_MAJOR_VERSION >= 5)
1132 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__init_rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1133 ZEND_ARG_INFO(0, radians
)
1136 #define CairoMatrix__init_rotate_args NULL
1139 PHP_METHOD(CairoMatrix
, invert
);
1140 #if (PHP_MAJOR_VERSION >= 5)
1141 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__invert_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1144 #define CairoMatrix__invert_args NULL
1147 PHP_METHOD(CairoMatrix
, multiply
);
1148 #if (PHP_MAJOR_VERSION >= 5)
1149 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__multiply_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1150 ZEND_ARG_OBJ_INFO(0, o2
, , 1)
1153 #define CairoMatrix__multiply_args NULL
1156 PHP_METHOD(CairoMatrix
, rotate
);
1157 #if (PHP_MAJOR_VERSION >= 5)
1158 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1159 ZEND_ARG_INFO(0, radians
)
1162 #define CairoMatrix__rotate_args NULL
1165 PHP_METHOD(CairoMatrix
, scale
);
1166 #if (PHP_MAJOR_VERSION >= 5)
1167 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1168 ZEND_ARG_INFO(0, sx
)
1169 ZEND_ARG_INFO(0, xy
)
1172 #define CairoMatrix__scale_args NULL
1175 PHP_METHOD(CairoMatrix
, transform_distance
);
1176 #if (PHP_MAJOR_VERSION >= 5)
1177 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1178 ZEND_ARG_INFO(0, dx
)
1179 ZEND_ARG_INFO(0, dy
)
1182 #define CairoMatrix__transform_distance_args NULL
1185 PHP_METHOD(CairoMatrix
, transform_point
);
1186 #if (PHP_MAJOR_VERSION >= 5)
1187 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__transform_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1192 #define CairoMatrix__transform_point_args NULL
1195 PHP_METHOD(CairoMatrix
, translate
);
1196 #if (PHP_MAJOR_VERSION >= 5)
1197 ZEND_BEGIN_ARG_INFO_EX(CairoMatrix__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1198 ZEND_ARG_INFO(0, tx
)
1199 ZEND_ARG_INFO(0, ty
)
1202 #define CairoMatrix__translate_args NULL
1205 PHP_METHOD(CairoPath
, __construct
);
1206 #if (PHP_MAJOR_VERSION >= 5)
1207 ZEND_BEGIN_ARG_INFO_EX(CairoPath____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1210 #define CairoPath____construct_args NULL
1213 PHP_METHOD(CairoPath
, to_str
);
1214 #if (PHP_MAJOR_VERSION >= 5)
1215 ZEND_BEGIN_ARG_INFO_EX(CairoPath__to_str_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1218 #define CairoPath__to_str_args NULL
1221 PHP_METHOD(CairoPattern
, __construct
);
1222 #if (PHP_MAJOR_VERSION >= 5)
1223 ZEND_BEGIN_ARG_INFO_EX(CairoPattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1226 #define CairoPattern____construct_args NULL
1229 PHP_METHOD(CairoPattern
, get_matrix
);
1230 #if (PHP_MAJOR_VERSION >= 5)
1231 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1234 #define CairoPattern__get_matrix_args NULL
1237 PHP_METHOD(CairoPattern
, set_matrix
);
1238 #if (PHP_MAJOR_VERSION >= 5)
1239 ZEND_BEGIN_ARG_INFO_EX(CairoPattern__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1240 ZEND_ARG_OBJ_INFO(0, m
, , 1)
1243 #define CairoPattern__set_matrix_args NULL
1246 PHP_METHOD(CairoGradient
, __contruct
);
1247 #if (PHP_MAJOR_VERSION >= 5)
1248 ZEND_BEGIN_ARG_INFO_EX(CairoGradient____contruct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1251 #define CairoGradient____contruct_args NULL
1254 PHP_METHOD(CairoGradient
, add_color_stop_rgb
);
1255 #if (PHP_MAJOR_VERSION >= 5)
1256 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
1257 ZEND_ARG_INFO(0, offset
)
1258 ZEND_ARG_INFO(0, red
)
1259 ZEND_ARG_INFO(0, green
)
1260 ZEND_ARG_INFO(0, blue
)
1263 #define CairoGradient__add_color_stop_rgb_args NULL
1266 PHP_METHOD(CairoGradient
, add_color_stop_rgba
);
1267 #if (PHP_MAJOR_VERSION >= 5)
1268 ZEND_BEGIN_ARG_INFO_EX(CairoGradient__add_color_stop_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
1269 ZEND_ARG_INFO(0, offset
)
1270 ZEND_ARG_INFO(0, red
)
1271 ZEND_ARG_INFO(0, green
)
1272 ZEND_ARG_INFO(0, blue
)
1273 ZEND_ARG_INFO(0, alpha
)
1276 #define CairoGradient__add_color_stop_rgba_args NULL
1279 PHP_METHOD(CairoLinearGradient
, __construct
);
1280 #if (PHP_MAJOR_VERSION >= 5)
1281 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1282 ZEND_ARG_INFO(0, y0
)
1283 ZEND_ARG_INFO(0, x1
)
1284 ZEND_ARG_INFO(0, y1
)
1287 #define CairoLinearGradient____construct_args NULL
1290 PHP_METHOD(CairoLinearGradient
, get_linear_points
);
1291 #if (PHP_MAJOR_VERSION >= 5)
1292 ZEND_BEGIN_ARG_INFO_EX(CairoLinearGradient__get_linear_points_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1295 #define CairoLinearGradient__get_linear_points_args NULL
1298 PHP_METHOD(CairoRadialGradient
, __constuct
);
1299 #if (PHP_MAJOR_VERSION >= 5)
1300 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient____constuct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
1301 ZEND_ARG_INFO(0, cx0
)
1302 ZEND_ARG_INFO(0, cy0
)
1303 ZEND_ARG_INFO(0, radius0
)
1304 ZEND_ARG_INFO(0, cx1
)
1305 ZEND_ARG_INFO(0, cy1
)
1306 ZEND_ARG_INFO(0, radius1
)
1309 #define CairoRadialGradient____constuct_args NULL
1312 PHP_METHOD(CairoRadialGradient
, get_radial_circles
);
1313 #if (PHP_MAJOR_VERSION >= 5)
1314 ZEND_BEGIN_ARG_INFO_EX(CairoRadialGradient__get_radial_circles_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1317 #define CairoRadialGradient__get_radial_circles_args NULL
1320 PHP_METHOD(CairoSolidPattern
, __construct
);
1321 #if (PHP_MAJOR_VERSION >= 5)
1322 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1328 #define CairoSolidPattern____construct_args NULL
1331 PHP_METHOD(CairoSolidPattern
, get_rgba
);
1332 #if (PHP_MAJOR_VERSION >= 5)
1333 ZEND_BEGIN_ARG_INFO_EX(CairoSolidPattern__get_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1336 #define CairoSolidPattern__get_rgba_args NULL
1339 PHP_METHOD(CairoSurfacePattern
, __construct
);
1340 #if (PHP_MAJOR_VERSION >= 5)
1341 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1344 #define CairoSurfacePattern____construct_args NULL
1347 PHP_METHOD(CairoSurfacePattern
, get_extend
);
1348 #if (PHP_MAJOR_VERSION >= 5)
1349 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_extend_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1352 #define CairoSurfacePattern__get_extend_args NULL
1355 PHP_METHOD(CairoSurfacePattern
, get_filter
);
1356 #if (PHP_MAJOR_VERSION >= 5)
1357 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_filter_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1360 #define CairoSurfacePattern__get_filter_args NULL
1363 PHP_METHOD(CairoSurfacePattern
, get_surface
);
1364 #if (PHP_MAJOR_VERSION >= 5)
1365 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__get_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1368 #define CairoSurfacePattern__get_surface_args NULL
1371 PHP_METHOD(CairoSurfacePattern
, set_extend
);
1372 #if (PHP_MAJOR_VERSION >= 5)
1373 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_extend_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1374 ZEND_ARG_INFO(0, extend
)
1377 #define CairoSurfacePattern__set_extend_args NULL
1380 PHP_METHOD(CairoSurfacePattern
, set_filter
);
1381 #if (PHP_MAJOR_VERSION >= 5)
1382 ZEND_BEGIN_ARG_INFO_EX(CairoSurfacePattern__set_filter_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1383 ZEND_ARG_INFO(0, filter
)
1386 #define CairoSurfacePattern__set_filter_args NULL
1389 PHP_METHOD(CairoScaledFont
, __construct
);
1390 #if (PHP_MAJOR_VERSION >= 5)
1391 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1392 ZEND_ARG_OBJ_INFO(0, mx1
, , 1)
1393 ZEND_ARG_OBJ_INFO(0, mx2
, , 1)
1394 ZEND_ARG_OBJ_INFO(0, fo
, , 1)
1397 #define CairoScaledFont____construct_args NULL
1400 PHP_METHOD(CairoScaledFont
, extents
);
1401 #if (PHP_MAJOR_VERSION >= 5)
1402 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1405 #define CairoScaledFont__extents_args NULL
1408 PHP_METHOD(CairoScaledFont
, get_font_face
);
1409 #if (PHP_MAJOR_VERSION >= 5)
1410 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1413 #define CairoScaledFont__get_font_face_args NULL
1416 PHP_METHOD(CairoScaledFont
, text_extents
);
1417 #if (PHP_MAJOR_VERSION >= 5)
1418 ZEND_BEGIN_ARG_INFO_EX(CairoScaledFont__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1419 ZEND_ARG_INFO(0, str
)
1422 #define CairoScaledFont__text_extents_args NULL
1425 PHP_METHOD(CairoSurface
, __construct
);
1426 #if (PHP_MAJOR_VERSION >= 5)
1427 ZEND_BEGIN_ARG_INFO_EX(CairoSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1430 #define CairoSurface____construct_args NULL
1433 PHP_METHOD(CairoSurface
, create_similar
);
1434 #if (PHP_MAJOR_VERSION >= 5)
1435 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__create_similar_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
1436 ZEND_ARG_INFO(0, content
)
1437 ZEND_ARG_INFO(0, width
)
1438 ZEND_ARG_INFO(0, height
)
1441 #define CairoSurface__create_similar_args NULL
1444 PHP_METHOD(CairoSurface
, finish
);
1445 #if (PHP_MAJOR_VERSION >= 5)
1446 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__finish_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1449 #define CairoSurface__finish_args NULL
1452 PHP_METHOD(CairoSurface
, flush
);
1453 #if (PHP_MAJOR_VERSION >= 5)
1454 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__flush_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1457 #define CairoSurface__flush_args NULL
1460 PHP_METHOD(CairoSurface
, get_content
);
1461 #if (PHP_MAJOR_VERSION >= 5)
1462 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1465 #define CairoSurface__get_content_args NULL
1468 PHP_METHOD(CairoSurface
, get_device_offset
);
1469 #if (PHP_MAJOR_VERSION >= 5)
1470 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1473 #define CairoSurface__get_device_offset_args NULL
1476 PHP_METHOD(CairoSurface
, get_font_options
);
1477 #if (PHP_MAJOR_VERSION >= 5)
1478 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1481 #define CairoSurface__get_font_options_args NULL
1484 PHP_METHOD(CairoSurface
, mark_dirty_rectangle
);
1485 #if (PHP_MAJOR_VERSION >= 5)
1486 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__mark_dirty_rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1489 ZEND_ARG_INFO(0, width
)
1490 ZEND_ARG_INFO(0, height
)
1493 #define CairoSurface__mark_dirty_rectangle_args NULL
1496 PHP_METHOD(CairoSurface
, set_device_offset
);
1497 #if (PHP_MAJOR_VERSION >= 5)
1498 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1499 ZEND_ARG_INFO(0, x_offset
)
1500 ZEND_ARG_INFO(0, y_offset
)
1503 #define CairoSurface__set_device_offset_args NULL
1506 PHP_METHOD(CairoSurface
, set_fallback_resolution
);
1507 #if (PHP_MAJOR_VERSION >= 5)
1508 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_fallback_resolution_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1509 ZEND_ARG_INFO(0, x_ppi
)
1510 ZEND_ARG_INFO(0, y_ppi
)
1513 #define CairoSurface__set_fallback_resolution_args NULL
1516 PHP_METHOD(CairoSurface
, write_to_png
);
1517 #if (PHP_MAJOR_VERSION >= 5)
1518 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__write_to_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1519 ZEND_ARG_INFO(0, file
)
1522 #define CairoSurface__write_to_png_args NULL
1525 PHP_METHOD(CairoSurface
, write_to_png_stream
);
1526 #if (PHP_MAJOR_VERSION >=5)
1527 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__write_to_png_stream_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1528 ZEND_ARG_INFO(0, zstream
)
1531 #define CairoSurface__write_to_png_stream_args NULL
1534 PHP_METHOD(CairoImageSurface
, __construct
);
1535 #if (PHP_MAJOR_VERSION >= 5)
1536 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1537 ZEND_ARG_INFO(0, widthm
)
1538 ZEND_ARG_INFO(0, height
)
1541 #define CairoImageSurface____construct_args NULL
1544 PHP_METHOD(CairoImageSurface
, create_from_data
);
1545 #if (PHP_MAJOR_VERSION >= 5)
1546 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
1547 ZEND_ARG_OBJ_INFO(0, obj
, , 1)
1548 ZEND_ARG_INFO(0, format
)
1549 ZEND_ARG_INFO(0, width
)
1550 ZEND_ARG_INFO(0, height
)
1551 ZEND_ARG_INFO(0, stride
)
1554 #define CairoImageSurface__create_from_data_args NULL
1557 PHP_METHOD(CairoImageSurface
, create_from_png
);
1558 #if (PHP_MAJOR_VERSION >= 5)
1559 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1560 ZEND_ARG_INFO(0, file
)
1563 #define CairoImageSurface__create_from_png_args NULL
1567 PHP_METHOD(CairoImageSurface
, create_from_png_stream
);
1568 #if (PHP_MAJOR_VERSION >= 5)
1569 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_png_stream_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1570 ZEND_ARG_INFO(0, zstream
)
1573 #define CairoImageSurface__create_from_png_stream_args NULL
1576 PHP_METHOD(CairoImageSurface
, get_data
);
1577 #if (PHP_MAJOR_VERSION >= 5)
1578 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1581 #define CairoImageSurface__get_data_args NULL
1584 PHP_METHOD(CairoImageSurface
, get_format
);
1585 #if (PHP_MAJOR_VERSION >= 5)
1586 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_format_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1589 #define CairoImageSurface__get_format_args NULL
1592 PHP_METHOD(CairoImageSurface
, get_height
);
1593 #if (PHP_MAJOR_VERSION >= 5)
1594 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1597 #define CairoImageSurface__get_height_args NULL
1600 PHP_METHOD(CairoImageSurface
, get_stride
);
1601 #if (PHP_MAJOR_VERSION >= 5)
1602 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_stride_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1605 #define CairoImageSurface__get_stride_args NULL
1608 PHP_METHOD(CairoImageSurface
, get_width
);
1609 #if (PHP_MAJOR_VERSION >= 5)
1610 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1613 #define CairoImageSurface__get_width_args NULL
1616 PHP_METHOD(CairoPDFSurface
, __construct
);
1617 #if (PHP_MAJOR_VERSION >= 5)
1618 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1619 ZEND_ARG_INFO(0, wpts
)
1620 ZEND_ARG_INFO(0, hpts
)
1623 #define CairoPDFSurface____construct_args NULL
1626 PHP_METHOD(CairoPDFSurface
, set_size
);
1627 #if (PHP_MAJOR_VERSION >= 5)
1628 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1629 ZEND_ARG_INFO(0, wpts
)
1630 ZEND_ARG_INFO(0, hpts
)
1633 #define CairoPDFSurface__set_size_args NULL
1636 PHP_METHOD(CairoPSSurface
, __construct
);
1637 #if (PHP_MAJOR_VERSION >= 5)
1638 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1639 ZEND_ARG_INFO(0, wpts
)
1640 ZEND_ARG_INFO(0, hpts
)
1643 #define CairoPSSurface____construct_args NULL
1646 PHP_METHOD(CairoPSSurface
, dsc_begin_page_setup
);
1647 #if (PHP_MAJOR_VERSION >= 5)
1648 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_page_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1651 #define CairoPSSurface__dsc_begin_page_setup_args NULL
1654 PHP_METHOD(CairoPSSurface
, dsc_begin_setup
);
1655 #if (PHP_MAJOR_VERSION >= 5)
1656 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1659 #define CairoPSSurface__dsc_begin_setup_args NULL
1662 PHP_METHOD(CairoPSSurface
, dsc_comment
);
1663 #if (PHP_MAJOR_VERSION >= 5)
1664 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_comment_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1667 #define CairoPSSurface__dsc_comment_args NULL
1670 PHP_METHOD(CairoPSSurface
, get_levels
);
1671 #if (PHP_MAJOR_VERSION >= 5)
1672 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_levels_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1675 #define CairoPSSurface__get_levels_args NULL
1678 PHP_METHOD(CairoPSSurface
, get_level_string
);
1679 #if (PHP_MAJOR_VERSION >= 5)
1680 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_level_string_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1683 #define CairoPSSurface__get_level_string_args NULL
1686 PHP_METHOD(CairoPSSurface
, restrict_to_level
);
1687 #if (PHP_MAJOR_VERSION >= 5)
1688 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__restrict_to_level_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1689 ZEND_ARG_INFO(0, level
)
1692 #define CairoPSSurface__restrict_to_level_args NULL
1695 PHP_METHOD(CairoPSSurface
, set_eps
);
1696 #if (PHP_MAJOR_VERSION >= 5)
1697 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_eps_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1700 #define CairoPSSurface__set_eps_args NULL
1703 PHP_METHOD(CairoPSSurface
, set_size
);
1704 #if (PHP_MAJOR_VERSION >= 5)
1705 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1706 ZEND_ARG_INFO(0, wpts
)
1707 ZEND_ARG_INFO(0, hpts
)
1710 #define CairoPSSurface__set_size_args NULL
1713 PHP_METHOD(CairoQuartzSurface
, __construct
);
1714 #if (PHP_MAJOR_VERSION >= 5)
1715 ZEND_BEGIN_ARG_INFO_EX(CairoQuartzSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
1716 ZEND_ARG_INFO(0, hpixels
)
1717 ZEND_ARG_INFO(0, format
)
1720 #define CairoQuartzSurface____construct_args NULL
1723 PHP_METHOD(CairoSVGSurface
, __construct
);
1724 #if (PHP_MAJOR_VERSION >= 5)
1725 ZEND_BEGIN_ARG_INFO_EX(CairoSVGSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
1726 ZEND_ARG_INFO(0, wpts
)
1727 ZEND_ARG_INFO(0, hpts
)
1730 #define CairoSVGSurface____construct_args NULL
1733 PHP_METHOD(CairoWin32Surface
, __construct
);
1734 #if (PHP_MAJOR_VERSION >= 5)
1735 ZEND_BEGIN_ARG_INFO_EX(CairoWin32Surface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1738 #define CairoWin32Surface____construct_args NULL
1741 PHP_METHOD(CairoXlibSurface
, __construct
);
1742 #if (PHP_MAJOR_VERSION >= 5)
1743 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1746 #define CairoXlibSurface____construct_args NULL
1749 PHP_METHOD(CairoXlibSurface
, get_depth
);
1750 #if (PHP_MAJOR_VERSION >= 5)
1751 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_depth_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1754 #define CairoXlibSurface__get_depth_args NULL
1757 PHP_METHOD(CairoXlibSurface
, get_height
);
1758 #if (PHP_MAJOR_VERSION >= 5)
1759 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1762 #define CairoXlibSurface__get_height_args NULL
1765 PHP_METHOD(CairoXlibSurface
, get_width
);
1766 #if (PHP_MAJOR_VERSION >= 5)
1767 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
1770 #define CairoXlibSurface__get_width_args NULL
1777 #endif /* PHP_HAVE_PHPCAIRO */
1779 #endif /* PHP_PHPCAIRO_H */
1787 * vim600: noet sw=4 ts=4 fdm=marker
1788 * vim<600: noet sw=4 ts=4