2 PHP_METHOD(CairoContext
, __construct
);
3 #if (PHP_MAJOR_VERSION >= 5)
4 ZEND_BEGIN_ARG_INFO_EX(CairoContext____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
5 ZEND_ARG_OBJ_INFO(0, obj
, CairoSurface
, 1)
9 PHP_METHOD(CairoContext
, appendPath
);
10 #if (PHP_MAJOR_VERSION >= 5)
11 ZEND_BEGIN_ARG_INFO_EX(CairoContext__append_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
12 ZEND_ARG_OBJ_INFO(0, p
, CairoPath
, 1)
16 PHP_METHOD(CairoContext
, arc
);
17 #if (PHP_MAJOR_VERSION >= 5)
18 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
21 ZEND_ARG_INFO(0, radius
)
22 ZEND_ARG_INFO(0, angle1
)
23 ZEND_ARG_INFO(0, angle2
)
27 PHP_METHOD(CairoContext
, arcNegative
);
28 #if (PHP_MAJOR_VERSION >= 5)
29 ZEND_BEGIN_ARG_INFO_EX(CairoContext__arc_negative_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 5)
32 ZEND_ARG_INFO(0, radius
)
33 ZEND_ARG_INFO(0, angle1
)
34 ZEND_ARG_INFO(0, angle2
)
38 PHP_METHOD(CairoContext
, clip
);
39 #if (PHP_MAJOR_VERSION >= 5)
40 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
44 PHP_METHOD(CairoContext
, clipExtents
);
45 #if (PHP_MAJOR_VERSION >= 5)
46 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
50 PHP_METHOD(CairoContext
, clipPreserve
);
51 #if (PHP_MAJOR_VERSION >= 5)
52 ZEND_BEGIN_ARG_INFO_EX(CairoContext__clip_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
56 PHP_METHOD(CairoContext
, closePath
);
57 #if (PHP_MAJOR_VERSION >= 5)
58 ZEND_BEGIN_ARG_INFO_EX(CairoContext__close_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
62 PHP_METHOD(CairoContext
, copyClipRectangleList
);
63 #if (PHP_MAJOR_VERSION >= 5)
64 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_clip_rectangle_list_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
68 PHP_METHOD(CairoContext
, copyPage
);
69 #if (PHP_MAJOR_VERSION >= 5)
70 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
74 PHP_METHOD(CairoContext
, copyPath
);
75 #if (PHP_MAJOR_VERSION >= 5)
76 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
80 PHP_METHOD(CairoContext
, copyPathFlat
);
81 #if (PHP_MAJOR_VERSION >= 5)
82 ZEND_BEGIN_ARG_INFO_EX(CairoContext__copy_path_flat_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
86 PHP_METHOD(CairoContext
, curveTo
);
87 #if (PHP_MAJOR_VERSION >= 5)
88 ZEND_BEGIN_ARG_INFO_EX(CairoContext__curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
98 PHP_METHOD(CairoContext
, deviceToUser
);
99 #if (PHP_MAJOR_VERSION >= 5)
100 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
106 PHP_METHOD(CairoContext
, deviceToUserDistance
);
107 #if (PHP_MAJOR_VERSION >= 5)
108 ZEND_BEGIN_ARG_INFO_EX(CairoContext__device_to_user_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
114 PHP_METHOD(CairoContext
, fill
);
115 #if (PHP_MAJOR_VERSION >= 5)
116 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
120 PHP_METHOD(CairoContext
, fillExtents
);
121 #if (PHP_MAJOR_VERSION >= 5)
122 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
126 PHP_METHOD(CairoContext
, fillPreserve
);
127 #if (PHP_MAJOR_VERSION >= 5)
128 ZEND_BEGIN_ARG_INFO_EX(CairoContext__fill_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
132 PHP_METHOD(CairoContext
, fontExtents
);
133 #if (PHP_MAJOR_VERSION >= 5)
134 ZEND_BEGIN_ARG_INFO_EX(CairoContext__font_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
138 PHP_METHOD(CairoContext
, getAntialias
);
139 #if (PHP_MAJOR_VERSION >= 5)
140 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
144 PHP_METHOD(CairoContext
, getCurrentPoint
);
145 #if (PHP_MAJOR_VERSION >= 5)
146 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
150 PHP_METHOD(CairoContext
, getDash
);
151 #if (PHP_MAJOR_VERSION >= 5)
152 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
156 PHP_METHOD(CairoContext
, getDashCount
);
157 #if (PHP_MAJOR_VERSION >= 5)
158 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_dash_count_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
162 PHP_METHOD(CairoContext
, getFillRule
);
163 #if (PHP_MAJOR_VERSION >= 5)
164 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
168 PHP_METHOD(CairoContext
, getFontFace
);
169 #if (PHP_MAJOR_VERSION >= 5)
170 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
174 PHP_METHOD(CairoContext
, getFontMatrix
);
175 #if (PHP_MAJOR_VERSION >= 5)
176 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
180 PHP_METHOD(CairoContext
, getFontOptions
);
181 #if (PHP_MAJOR_VERSION >= 5)
182 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
186 PHP_METHOD(CairoContext
, getGroupTarget
);
187 #if (PHP_MAJOR_VERSION >= 5)
188 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_group_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
192 PHP_METHOD(CairoContext
, getLineCap
);
193 #if (PHP_MAJOR_VERSION >= 5)
194 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
198 PHP_METHOD(CairoContext
, getLineJoin
);
199 #if (PHP_MAJOR_VERSION >= 5)
200 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
204 PHP_METHOD(CairoContext
, getLineWidth
);
205 #if (PHP_MAJOR_VERSION >= 5)
206 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
210 PHP_METHOD(CairoContext
, getMatrix
);
211 #if (PHP_MAJOR_VERSION >= 5)
212 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
216 PHP_METHOD(CairoContext
, getMiterLimit
);
217 #if (PHP_MAJOR_VERSION >= 5)
218 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
222 PHP_METHOD(CairoContext
, getOperator
);
223 #if (PHP_MAJOR_VERSION >= 5)
224 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
228 PHP_METHOD(CairoContext
, getScaledFont
);
229 #if (PHP_MAJOR_VERSION >= 5)
230 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_scaled_font_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
234 PHP_METHOD(CairoContext
, getSource
);
235 #if (PHP_MAJOR_VERSION >= 5)
236 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
240 PHP_METHOD(CairoContext
, getTarget
);
241 #if (PHP_MAJOR_VERSION >= 5)
242 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_target_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
246 PHP_METHOD(CairoContext
, getTolerance
);
247 #if (PHP_MAJOR_VERSION >= 5)
248 ZEND_BEGIN_ARG_INFO_EX(CairoContext__get_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
252 PHP_METHOD(CairoContext
, glyphExtents
);
253 #if (PHP_MAJOR_VERSION >= 5)
254 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
255 #if (PHP_MINOR_VERSION > 0)
256 ZEND_ARG_ARRAY_INFO(0, obj
, 1)
258 ZEND_ARG_INFO(0, obj
)
260 ZEND_ARG_INFO(0, num
)
264 PHP_METHOD(CairoContext
, glyphPath
);
265 #if (PHP_MAJOR_VERSION >= 5)
266 ZEND_BEGIN_ARG_INFO_EX(CairoContext__glyph_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
267 #if (PHP_MINOR_VERSION > 0)
268 ZEND_ARG_ARRAY_INFO(0, obh
, 1)
270 ZEND_ARG_INFO(0, obh
);
272 ZEND_ARG_INFO(0, num
)
276 PHP_METHOD(CairoContext
, hasCurrentPoint
);
277 #if (PHP_MAJOR_VERSION >= 5)
278 ZEND_BEGIN_ARG_INFO_EX(CairoContext__has_current_point_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
282 PHP_METHOD(CairoContext
, identityMatrix
);
283 #if (PHP_MAJOR_VERSION >= 5)
284 ZEND_BEGIN_ARG_INFO_EX(CairoContext__identity_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
288 PHP_METHOD(CairoContext
, inFill
);
289 #if (PHP_MAJOR_VERSION >= 5)
290 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_fill_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
296 PHP_METHOD(CairoContext
, inStroke
);
297 #if (PHP_MAJOR_VERSION >= 5)
298 ZEND_BEGIN_ARG_INFO_EX(CairoContext__in_stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
304 PHP_METHOD(CairoContext
, lineTo
);
305 #if (PHP_MAJOR_VERSION >= 5)
306 ZEND_BEGIN_ARG_INFO_EX(CairoContext__line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
312 PHP_METHOD(CairoContext
, mask
);
313 #if (PHP_MAJOR_VERSION >= 5)
314 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
315 ZEND_ARG_OBJ_INFO(0, p
, CairoPattern
, 1)
319 PHP_METHOD(CairoContext
, maskSurface
);
320 #if (PHP_MAJOR_VERSION >= 5)
321 ZEND_BEGIN_ARG_INFO_EX(CairoContext__mask_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
322 ZEND_ARG_OBJ_INFO(0, s
, CairoSurface
, 1)
323 ZEND_ARG_INFO(0, surface_x
)
324 ZEND_ARG_INFO(0, surface_y
)
328 PHP_METHOD(CairoContext
, moveTo
);
329 #if (PHP_MAJOR_VERSION >= 5)
330 ZEND_BEGIN_ARG_INFO_EX(CairoContext__move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
336 PHP_METHOD(CairoContext
, newPath
);
337 #if (PHP_MAJOR_VERSION >= 5)
338 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
342 PHP_METHOD(CairoContext
, newSubPath
);
343 #if (PHP_MAJOR_VERSION >= 5)
344 ZEND_BEGIN_ARG_INFO_EX(CairoContext__new_sub_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
348 PHP_METHOD(CairoContext
, paint
);
349 #if (PHP_MAJOR_VERSION >= 5)
350 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
354 PHP_METHOD(CairoContext
, paintWithAlpha
);
355 #if (PHP_MAJOR_VERSION >= 5)
356 ZEND_BEGIN_ARG_INFO_EX(CairoContext__paint_with_alpha_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
357 ZEND_ARG_INFO(0, alpha
)
361 PHP_METHOD(CairoContext
, pathExtents
);
362 #if (PHP_MAJOR_VERSION >= 5)
363 ZEND_BEGIN_ARG_INFO_EX(CairoContext__path_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
364 ZEND_ARG_OBJ_INFO(0, path
, CairoPath
, 1)
368 PHP_METHOD(CairoContext
, popGroup
);
369 #if (PHP_MAJOR_VERSION >= 5)
370 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
374 PHP_METHOD(CairoContext
, popGroupToSource
);
375 #if (PHP_MAJOR_VERSION >= 5)
376 ZEND_BEGIN_ARG_INFO_EX(CairoContext__pop_group_to_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
380 PHP_METHOD(CairoContext
, pushGroup
);
381 #if (PHP_MAJOR_VERSION >= 5)
382 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
386 PHP_METHOD(CairoContext
, pushGroupWithContent
);
387 #if (PHP_MAJOR_VERSION >= 5)
388 ZEND_BEGIN_ARG_INFO_EX(CairoContext__push_group_with_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
389 ZEND_ARG_INFO(0, content
)
393 PHP_METHOD(CairoContext
, rectangle
);
394 #if (PHP_MAJOR_VERSION >= 5)
395 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
398 ZEND_ARG_INFO(0, width
)
399 ZEND_ARG_INFO(0, height
)
403 PHP_METHOD(CairoContext
, relCurveTo
);
404 #if (PHP_MAJOR_VERSION >= 5)
405 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_curve_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 6)
415 PHP_METHOD(CairoContext
, relLineTo
);
416 #if (PHP_MAJOR_VERSION >= 5)
417 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_line_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
423 PHP_METHOD(CairoContext
, relMoveTo
);
424 #if (PHP_MAJOR_VERSION >= 5)
425 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rel_move_to_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
431 PHP_METHOD(CairoContext
, resetClip
);
432 #if (PHP_MAJOR_VERSION >= 5)
433 ZEND_BEGIN_ARG_INFO_EX(CairoContext__reset_clip_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
437 PHP_METHOD(CairoContext
, restore
);
438 #if (PHP_MAJOR_VERSION >= 5)
439 ZEND_BEGIN_ARG_INFO_EX(CairoContext__restore_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
443 PHP_METHOD(CairoContext
, rotate
);
444 #if (PHP_MAJOR_VERSION >= 5)
445 ZEND_BEGIN_ARG_INFO_EX(CairoContext__rotate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
446 ZEND_ARG_INFO(0, angle
)
450 PHP_METHOD(CairoContext
, save
);
451 #if (PHP_MAJOR_VERSION >= 5)
452 ZEND_BEGIN_ARG_INFO_EX(CairoContext__save_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
456 PHP_METHOD(CairoContext
, scale
);
457 #if (PHP_MAJOR_VERSION >= 5)
458 ZEND_BEGIN_ARG_INFO_EX(CairoContext__scale_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
464 PHP_METHOD(CairoContext
, selectFontFace
);
465 #if (PHP_MAJOR_VERSION >= 5)
466 ZEND_BEGIN_ARG_INFO_EX(CairoContext__select_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
467 ZEND_ARG_INFO(0, family
)
468 ZEND_ARG_INFO(0, slant
)
469 ZEND_ARG_INFO(0, weight
)
473 PHP_METHOD(CairoContext
, setAntialias
);
474 #if (PHP_MAJOR_VERSION >= 5)
475 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_antialias_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
476 ZEND_ARG_INFO(0, antialias
)
480 PHP_METHOD(CairoContext
, setDash
);
481 #if (PHP_MAJOR_VERSION >= 5)
482 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_dash_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
483 #if (PHP_MINOR_VERSION > 0)
484 ZEND_ARG_ARRAY_INFO(0, dashes
, 1)
486 ZEND_ARG_INFO(0, dashes
)
488 ZEND_ARG_INFO(0, num_dashes
)
489 ZEND_ARG_INFO(0, offset
)
493 PHP_METHOD(CairoContext
, setFillRule
);
494 #if (PHP_MAJOR_VERSION >= 5)
495 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_fill_rule_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
496 ZEND_ARG_INFO(0, fill_rule
)
500 PHP_METHOD(CairoContext
, setFontFace
);
501 #if (PHP_MAJOR_VERSION >= 5)
502 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_face_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
503 ZEND_ARG_OBJ_INFO(0, obj
, CairoFontFace
, 1)
507 PHP_METHOD(CairoContext
, setFontMatrix
);
508 #if (PHP_MAJOR_VERSION >= 5)
509 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
510 ZEND_ARG_OBJ_INFO(0, matrix
, CairoMatrix
, 1)
514 PHP_METHOD(CairoContext
, setFontOptions
);
515 #if (PHP_MAJOR_VERSION >= 5)
516 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
517 ZEND_ARG_OBJ_INFO(0, options
, CairoFontOptions
, 1)
521 PHP_METHOD(CairoContext
, setFontSize
);
522 #if (PHP_MAJOR_VERSION >= 5)
523 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_font_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
524 ZEND_ARG_INFO(0, size
)
528 PHP_METHOD(CairoContext
, setLineCap
);
529 #if (PHP_MAJOR_VERSION >= 5)
530 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_cap_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
531 ZEND_ARG_INFO(0, line_cap
)
535 PHP_METHOD(CairoContext
, setLineJoin
);
536 #if (PHP_MAJOR_VERSION >= 5)
537 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_join_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
538 ZEND_ARG_INFO(0, line_join
)
542 PHP_METHOD(CairoContext
, setLineWidth
);
543 #if (PHP_MAJOR_VERSION >= 5)
544 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_line_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
545 ZEND_ARG_INFO(0, width
)
549 PHP_METHOD(CairoContext
, setMatrix
);
550 #if (PHP_MAJOR_VERSION >= 5)
551 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_matrix_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
552 ZEND_ARG_OBJ_INFO(0, matix
, CairoMatrix
, 1)
556 PHP_METHOD(CairoContext
, setMiterLimit
);
557 #if (PHP_MAJOR_VERSION >= 5)
558 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_miter_limit_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
559 ZEND_ARG_INFO(0, limit
)
563 PHP_METHOD(CairoContext
, setOperator
);
564 #if (PHP_MAJOR_VERSION >= 5)
565 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_operator_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
570 PHP_METHOD(CairoContext
, setSource
);
571 #if (PHP_MAJOR_VERSION >= 5)
572 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
573 ZEND_ARG_OBJ_INFO(0, p
, CairoPattern
, 1)
577 PHP_METHOD(CairoContext
, setSourceRgb
);
578 #if (PHP_MAJOR_VERSION >= 5)
579 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgb_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
580 ZEND_ARG_INFO(0, red
)
581 ZEND_ARG_INFO(0, green
)
582 ZEND_ARG_INFO(0, blue
)
586 PHP_METHOD(CairoContext
, setSourceRgba
);
587 #if (PHP_MAJOR_VERSION >= 5)
588 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_rgba_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
589 ZEND_ARG_INFO(0, red
)
590 ZEND_ARG_INFO(0, green
)
591 ZEND_ARG_INFO(0, blue
)
592 ZEND_ARG_INFO(0, alpha
)
596 PHP_METHOD(CairoContext
, setSourceSurface
);
597 #if (PHP_MAJOR_VERSION >= 5)
598 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_source_surface_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
599 ZEND_ARG_OBJ_INFO(0, surface
, CairoSurface
, 1)
605 PHP_METHOD(CairoContext
, setTolerance
);
606 #if (PHP_MAJOR_VERSION >= 5)
607 ZEND_BEGIN_ARG_INFO_EX(CairoContext__set_tolerance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
608 ZEND_ARG_INFO(0, tolerance
)
612 PHP_METHOD(CairoContext
, showGlyphs
);
613 #if (PHP_MAJOR_VERSION >= 5)
614 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_glyphs_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
615 #if (PHP_MINOR_VERSION > 0)
616 ZEND_ARG_ARRAY_INFO(0, obj
, 1)
618 ZEND_ARG_INFO(0, obj
)
620 ZEND_ARG_INFO(0, num_glyphs
)
624 PHP_METHOD(CairoContext
, showPage
);
625 #if (PHP_MAJOR_VERSION >= 5)
626 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_page_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
630 PHP_METHOD(CairoContext
, showText
);
631 #if (PHP_MAJOR_VERSION >= 5)
632 ZEND_BEGIN_ARG_INFO_EX(CairoContext__show_text_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
633 ZEND_ARG_INFO(0, obj
)
637 PHP_METHOD(CairoContext
, stroke
);
638 #if (PHP_MAJOR_VERSION >= 5)
639 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
643 PHP_METHOD(CairoContext
, strokeExtents
);
644 #if (PHP_MAJOR_VERSION >= 5)
645 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
649 PHP_METHOD(CairoContext
, strokePreserve
);
650 #if (PHP_MAJOR_VERSION >= 5)
651 ZEND_BEGIN_ARG_INFO_EX(CairoContext__stroke_preserve_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
655 PHP_METHOD(CairoContext
, textExtents
);
656 #if (PHP_MAJOR_VERSION >= 5)
657 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_extents_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
658 ZEND_ARG_INFO(0, str
)
662 PHP_METHOD(CairoContext
, textPath
);
663 #if (PHP_MAJOR_VERSION >= 5)
664 ZEND_BEGIN_ARG_INFO_EX(CairoContext__text_path_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
665 ZEND_ARG_INFO(0, obj
)
669 PHP_METHOD(CairoContext
, transform
);
670 #if (PHP_MAJOR_VERSION >= 5)
671 ZEND_BEGIN_ARG_INFO_EX(CairoContext__transform_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
672 ZEND_ARG_OBJ_INFO(0, matrix
, CairoMatrix
, 1)
676 PHP_METHOD(CairoContext
, translate
);
677 #if (PHP_MAJOR_VERSION >= 5)
678 ZEND_BEGIN_ARG_INFO_EX(CairoContext__translate_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
684 PHP_METHOD(CairoContext
, userToDevice
);
685 #if (PHP_MAJOR_VERSION >= 5)
686 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
692 PHP_METHOD(CairoContext
, userToDeviceDistance
);
693 #if (PHP_MAJOR_VERSION >= 5)
694 ZEND_BEGIN_ARG_INFO_EX(CairoContext__user_to_device_distance_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)