1 PHP_METHOD(CairoSurface
, __construct
);
2 #if (PHP_MAJOR_VERSION >= 5)
3 ZEND_BEGIN_ARG_INFO_EX(CairoSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
7 PHP_METHOD(CairoSurface
, createSimilar
);
8 #if (PHP_MAJOR_VERSION >= 5)
9 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__create_similar_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 3)
10 ZEND_ARG_INFO(0, content
)
11 ZEND_ARG_INFO(0, width
)
12 ZEND_ARG_INFO(0, height
)
16 PHP_METHOD(CairoSurface
, finish
);
17 #if (PHP_MAJOR_VERSION >= 5)
18 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__finish_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
22 PHP_METHOD(CairoSurface
, flush
);
23 #if (PHP_MAJOR_VERSION >= 5)
24 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__flush_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
28 PHP_METHOD(CairoSurface
, getContent
);
29 #if (PHP_MAJOR_VERSION >= 5)
30 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_content_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
34 PHP_METHOD(CairoSurface
, getDeviceOffset
);
35 #if (PHP_MAJOR_VERSION >= 5)
36 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
40 PHP_METHOD(CairoSurface
, getFontOptions
);
41 #if (PHP_MAJOR_VERSION >= 5)
42 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__get_font_options_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
46 PHP_METHOD(CairoSurface
, markDirtyRectangle
);
47 #if (PHP_MAJOR_VERSION >= 5)
48 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__mark_dirty_rectangle_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
51 ZEND_ARG_INFO(0, width
)
52 ZEND_ARG_INFO(0, height
)
56 PHP_METHOD(CairoSurface
, setDeviceOffset
);
57 #if (PHP_MAJOR_VERSION >= 5)
58 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_device_offset_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
59 ZEND_ARG_INFO(0, x_offset
)
60 ZEND_ARG_INFO(0, y_offset
)
64 PHP_METHOD(CairoSurface
, setFallbackResolution
);
65 #if (PHP_MAJOR_VERSION >= 5)
66 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__set_fallback_resolution_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
67 ZEND_ARG_INFO(0, x_ppi
)
68 ZEND_ARG_INFO(0, y_ppi
)
72 PHP_METHOD(CairoSurface
, writeToPng
);
73 #if (PHP_MAJOR_VERSION >= 5)
74 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__write_to_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
75 ZEND_ARG_INFO(0, file
)
79 PHP_METHOD(CairoSurface
, writeToPngStream
);
80 #if (PHP_MAJOR_VERSION >=5)
81 ZEND_BEGIN_ARG_INFO_EX(CairoSurface__write_to_png_stream_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
82 ZEND_ARG_INFO(0, zstream
)
86 PHP_METHOD(CairoImageSurface
, __construct
);
87 #if (PHP_MAJOR_VERSION >= 5)
88 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
89 ZEND_ARG_INFO(0, widthm
)
90 ZEND_ARG_INFO(0, height
)
94 PHP_METHOD(CairoImageSurface
, createFromData
);
95 #if (PHP_MAJOR_VERSION >= 5)
96 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 4)
98 ZEND_ARG_INFO(0, format
)
99 ZEND_ARG_INFO(0, width
)
100 ZEND_ARG_INFO(0, height
)
101 ZEND_ARG_INFO(0, stride
)
105 PHP_METHOD(CairoImageSurface
, createFromPng
);
106 #if (PHP_MAJOR_VERSION >= 5)
107 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_png_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
108 ZEND_ARG_INFO(0, file
)
113 PHP_METHOD(CairoImageSurface
, createFromPngStream
);
114 #if (PHP_MAJOR_VERSION >= 5)
115 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__create_from_png_stream_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
116 ZEND_ARG_INFO(0, zstream
)
120 PHP_METHOD(CairoImageSurface
, getData
);
121 #if (PHP_MAJOR_VERSION >= 5)
122 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_data_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
126 PHP_METHOD(CairoImageSurface
, getFormat
);
127 #if (PHP_MAJOR_VERSION >= 5)
128 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_format_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
132 PHP_METHOD(CairoImageSurface
, getHeight
);
133 #if (PHP_MAJOR_VERSION >= 5)
134 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
138 PHP_METHOD(CairoImageSurface
, getStride
);
139 #if (PHP_MAJOR_VERSION >= 5)
140 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_stride_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
144 PHP_METHOD(CairoImageSurface
, getWidth
);
145 #if (PHP_MAJOR_VERSION >= 5)
146 ZEND_BEGIN_ARG_INFO_EX(CairoImageSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
150 PHP_METHOD(CairoPDFSurface
, __construct
);
151 #if (PHP_MAJOR_VERSION >= 5)
152 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
153 ZEND_ARG_INFO(0, wpts
)
154 ZEND_ARG_INFO(0, hpts
)
158 PHP_METHOD(CairoPDFSurface
, setSize
);
159 #if (PHP_MAJOR_VERSION >= 5)
160 ZEND_BEGIN_ARG_INFO_EX(CairoPDFSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
161 ZEND_ARG_INFO(0, wpts
)
162 ZEND_ARG_INFO(0, hpts
)
166 PHP_METHOD(CairoPSSurface
, __construct
);
167 #if (PHP_MAJOR_VERSION >= 5)
168 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
169 ZEND_ARG_INFO(0, wpts
)
170 ZEND_ARG_INFO(0, hpts
)
174 PHP_METHOD(CairoPSSurface
, dscBeginPageSetup
);
175 #if (PHP_MAJOR_VERSION >= 5)
176 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_page_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
180 PHP_METHOD(CairoPSSurface
, dscBeginSetup
);
181 #if (PHP_MAJOR_VERSION >= 5)
182 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_begin_setup_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
186 PHP_METHOD(CairoPSSurface
, dscComment
);
187 #if (PHP_MAJOR_VERSION >= 5)
188 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__dsc_comment_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
192 PHP_METHOD(CairoPSSurface
, getLevels
);
193 #if (PHP_MAJOR_VERSION >= 5)
194 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_levels_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
198 PHP_METHOD(CairoPSSurface
, getLevelString
);
199 #if (PHP_MAJOR_VERSION >= 5)
200 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__get_level_string_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
204 PHP_METHOD(CairoPSSurface
, restrictToLevel
);
205 #if (PHP_MAJOR_VERSION >= 5)
206 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__restrict_to_level_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
207 ZEND_ARG_INFO(0, level
)
211 PHP_METHOD(CairoPSSurface
, setEps
);
212 #if (PHP_MAJOR_VERSION >= 5)
213 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_eps_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
217 PHP_METHOD(CairoPSSurface
, setSize
);
218 #if (PHP_MAJOR_VERSION >= 5)
219 ZEND_BEGIN_ARG_INFO_EX(CairoPSSurface__set_size_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
220 ZEND_ARG_INFO(0, wpts
)
221 ZEND_ARG_INFO(0, hpts
)
225 PHP_METHOD(CairoQuartzSurface
, __construct
);
226 #if (PHP_MAJOR_VERSION >= 5)
227 ZEND_BEGIN_ARG_INFO_EX(CairoQuartzSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 1)
228 ZEND_ARG_INFO(0, hpixels
)
229 ZEND_ARG_INFO(0, format
)
233 PHP_METHOD(CairoSVGSurface
, __construct
);
234 #if (PHP_MAJOR_VERSION >= 5)
235 ZEND_BEGIN_ARG_INFO_EX(CairoSVGSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 2)
236 ZEND_ARG_INFO(0, wpts
)
237 ZEND_ARG_INFO(0, hpts
)
241 PHP_METHOD(CairoWin32Surface
, __construct
);
242 #if (PHP_MAJOR_VERSION >= 5)
243 ZEND_BEGIN_ARG_INFO_EX(CairoWin32Surface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
247 PHP_METHOD(CairoXlibSurface
, __construct
);
248 #if (PHP_MAJOR_VERSION >= 5)
249 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface____construct_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
253 PHP_METHOD(CairoXlibSurface
, getDepth
);
254 #if (PHP_MAJOR_VERSION >= 5)
255 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_depth_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
259 PHP_METHOD(CairoXlibSurface
, getHeight
);
260 #if (PHP_MAJOR_VERSION >= 5)
261 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_height_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)
265 PHP_METHOD(CairoXlibSurface
, getWidth
);
266 #if (PHP_MAJOR_VERSION >= 5)
267 ZEND_BEGIN_ARG_INFO_EX(CairoXlibSurface__get_width_args
, ZEND_SEND_BY_VAL
, ZEND_RETURN_VALUE
, 0)