summaryrefslogtreecommitdiffstats
path: root/fake_packages/Cairo.pm
blob: d07d50c99451dacae9b6ef9d046d982b6bd70917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352

package Cairo;
our @ISA = qw();
sub HAS_FT_FONT() {}
sub HAS_PDF_SURFACE() {}
sub HAS_PNG_FUNCTIONS() {}
sub HAS_PS_SURFACE() {}
sub HAS_RECORDING_SURFACE() {}
sub HAS_SVG_SURFACE() {}
sub LIB_VERSION { my (@_more_paras) = @_ }
sub LIB_VERSION_ENCODE { my (@_more_paras) = @_ }
sub VERSION() {}
sub VERSION_ENCODE { my (@_more_paras) = @_ }
sub dl_load_flags() {}
sub lib_version { my ($_o_class) = @_ }
sub lib_version_string { my ($_o_class) = @_ }
sub version { my ($_o_class) = @_ }
sub version_string { my ($_o_class) = @_ }

package Cairo::Context;
our @ISA = qw();
sub DESTROY { my ($_cr) = @_ }
sub append_path { my ($_cr, $_path) = @_ }
sub arc { my ($_cr, $_xc, $_yc, $_radius, $_angle1, $_angle2) = @_ }
sub arc_negative { my ($_cr, $_xc, $_yc, $_radius, $_angle1, $_angle2) = @_ }
sub clip { my ($_cr) = @_ }
sub clip_extents { my ($_cr) = @_ }
sub clip_preserve { my ($_cr) = @_ }
sub close_path { my ($_cr) = @_ }
sub copy_clip_rectangle_list { my ($_cr) = @_ }
sub copy_page { my ($_cr) = @_ }
sub copy_path { my ($_cr) = @_ }
sub copy_path_flat { my ($_cr) = @_ }
sub create { my ($_class, $_target) = @_ }
sub curve_to { my ($_cr, $_x1, $_y1, $_x2, $_y2, $_x3, $_y3) = @_ }
sub device_to_user { my ($_cr) = @_ }
sub device_to_user_distance { my ($_cr) = @_ }
sub fill { my ($_cr) = @_ }
sub fill_extents { my ($_cr) = @_ }
sub fill_preserve { my ($_cr) = @_ }
sub font_extents { my ($_cr) = @_ }
sub get_antialias { my ($_cr) = @_ }
sub get_current_point { my ($_cr) = @_ }
sub get_dash { my ($_cr) = @_ }
sub get_fill_rule { my ($_cr) = @_ }
sub get_font_face { my ($_cr) = @_ }
sub get_font_matrix { my ($_cr) = @_ }
sub get_font_options { my ($_cr) = @_ }
sub get_group_target { my ($_cr) = @_ }
sub get_line_cap { my ($_cr) = @_ }
sub get_line_join { my ($_cr) = @_ }
sub get_line_width { my ($_cr) = @_ }
sub get_matrix { my ($_cr) = @_ }
sub get_miter_limit { my ($_cr) = @_ }
sub get_operator { my ($_cr) = @_ }
sub get_scaled_font { my ($_cr) = @_ }
sub get_source { my ($_cr) = @_ }
sub get_target { my ($_cr) = @_ }
sub get_tolerance { my ($_cr) = @_ }
sub glyph_extents { my ($_cr, @_more_paras) = @_ }
sub glyph_path { my ($_cr, @_more_paras) = @_ }
sub has_current_point { my ($_cr) = @_ }
sub identity_matrix { my ($_cr) = @_ }
sub in_clip { my ($_cr, $_x, $_y) = @_ }
sub in_fill { my ($_cr, $_x, $_y) = @_ }
sub in_stroke { my ($_cr, $_x, $_y) = @_ }
sub line_to { my ($_cr, $_x, $_y) = @_ }
sub mask { my ($_cr, $_pattern) = @_ }
sub mask_surface { my ($_cr, $_surface, $_surface_x, $_surface_y) = @_ }
sub move_to { my ($_cr, $_x, $_y) = @_ }
sub new_path { my ($_cr) = @_ }
sub new_sub_path { my ($_cr) = @_ }
sub paint { my ($_cr) = @_ }
sub paint_with_alpha { my ($_cr, $_alpha) = @_ }
sub path_extents { my ($_cr) = @_ }
sub pop_group { my ($_cr) = @_ }
sub pop_group_to_source { my ($_cr) = @_ }
sub push_group { my ($_cr) = @_ }
sub push_group_with_content { my ($_cr, $_content) = @_ }
sub rectangle { my ($_cr, $_x, $_y, $_width, $_height) = @_ }
sub rel_curve_to { my ($_cr, $_dx1, $_dy1, $_dx2, $_dy2, $_dx3, $_dy3) = @_ }
sub rel_line_to { my ($_cr, $_dx, $_dy) = @_ }
sub rel_move_to { my ($_cr, $_dx, $_dy) = @_ }
sub reset_clip { my ($_cr) = @_ }
sub restore { my ($_cr) = @_ }
sub rotate { my ($_cr, $_angle) = @_ }
sub save { my ($_cr) = @_ }
sub scale { my ($_cr, $_sx, $_sy) = @_ }
sub select_font_face { my ($_cr, $_family, $_slant, $_weight) = @_ }
sub set_antialias { my ($_cr, $_antialias) = @_ }
sub set_dash { my ($_cr, $_offset, @_more_paras) = @_ }
sub set_fill_rule { my ($_cr, $_fill_rule) = @_ }
sub set_font_face { my ($_cr, $_font_face) = @_ }
sub set_font_matrix { my ($_cr, $_matrix) = @_ }
sub set_font_options { my ($_cr, $_options) = @_ }
sub set_font_size { my ($_cr, $_size) = @_ }
sub set_line_cap { my ($_cr, $_line_cap) = @_ }
sub set_line_join { my ($_cr, $_line_join) = @_ }
sub set_line_width { my ($_cr, $_width) = @_ }
sub set_matrix { my ($_cr, $_matrix) = @_ }
sub set_miter_limit { my ($_cr, $_limit) = @_ }
sub set_operator { my ($_cr, $_op) = @_ }
sub set_scaled_font { my ($_cr, $_scaled_font) = @_ }
sub set_source { my ($_cr, $_source) = @_ }
sub set_source_rgb { my ($_cr, $_red, $_green, $_blue) = @_ }
sub set_source_rgba { my ($_cr, $_red, $_green, $_blue, $_alpha) = @_ }
sub set_source_surface { my ($_cr, $_surface, $_x, $_y) = @_ }
sub set_tolerance { my ($_cr, $_tolerance) = @_ }
sub show_glyphs { my ($_cr, @_more_paras) = @_ }
sub show_page { my ($_cr) = @_ }
sub show_text { my ($_cr, $_utf8) = @_ }
sub show_text_glyphs { my ($_cr, $_utf8_sv, $_glyphs_sv, $_clusters_sv, $_cluster_flags) = @_ }
sub status { my ($_cr) = @_ }
sub stroke { my ($_cr) = @_ }
sub stroke_extents { my ($_cr) = @_ }
sub stroke_preserve { my ($_cr) = @_ }
sub text_extents { my ($_cr, $_utf8) = @_ }
sub text_path { my ($_cr, $_utf8) = @_ }
sub transform { my ($_cr, $_matrix) = @_ }
sub translate { my ($_cr, $_tx, $_ty) = @_ }
sub user_to_device { my ($_cr) = @_ }
sub user_to_device_distance { my ($_cr) = @_ }

package Cairo::FontFace;
our @ISA = qw();
sub DESTROY { my ($_font) = @_ }
sub get_type { my ($_font_face) = @_ }
sub status { my ($_font) = @_ }

package Cairo::FontOptions;
our @ISA = qw();
sub DESTROY { my ($_options) = @_ }
sub create { my ($_class) = @_ }
sub equal { my ($_options, $_other) = @_ }
sub get_antialias { my ($_options) = @_ }
sub get_hint_metrics { my ($_options) = @_ }
sub get_hint_style { my ($_options) = @_ }
sub get_subpixel_order { my ($_options) = @_ }
sub merge { my ($_options, $_other) = @_ }
sub set_antialias { my ($_options, $_antialias) = @_ }
sub set_hint_metrics { my ($_options, $_hint_metrics) = @_ }
sub set_hint_style { my ($_options, $_hint_style) = @_ }
sub set_subpixel_order { my ($_options, $_subpixel_order) = @_ }
sub status { my ($_options) = @_ }

package Cairo::Format;
our @ISA = qw();
sub stride_for_width { my ($_format, $_width) = @_ }

package Cairo::FtFontFace;
our @ISA = qw();
sub create { my ($_class, $_face, $_o_load_flags) = @_ }

package Cairo::Gradient;
our @ISA = qw();
sub add_color_stop_rgb { my ($_pattern, $_offset, $_red, $_green, $_blue) = @_ }
sub add_color_stop_rgba { my ($_pattern, $_offset, $_red, $_green, $_blue, $_alpha) = @_ }
sub get_color_stops { my ($_pattern) = @_ }

package Cairo::ImageSurface;
our @ISA = qw();
sub create { my ($_class, $_format, $_width, $_height) = @_ }
sub create_for_data { my ($_class, $_data, $_format, $_width, $_height, $_stride) = @_ }
sub create_from_png { my ($_class, $_filename) = @_ }
sub create_from_png_stream { my ($_class, $_func, $_o_data) = @_ }
sub get_data { my ($_surface) = @_ }
sub get_format { my ($_surface) = @_ }
sub get_height { my ($_surface) = @_ }
sub get_stride { my ($_surface) = @_ }
sub get_width { my ($_surface) = @_ }

package Cairo::LinearGradient;
our @ISA = qw();
sub create { my ($_class, $_x0, $_y0, $_x1, $_y1) = @_ }
sub get_points { my ($_pattern) = @_ }

package Cairo::Matrix;
our @ISA = qw();
sub DESTROY { my ($_matrix) = @_ }
sub init { my ($_class, $_xx, $_yx, $_xy, $_yy, $_x0, $_y0) = @_ }
sub init_identity { my ($_class) = @_ }
sub init_rotate { my ($_class, $_radians) = @_ }
sub init_scale { my ($_class, $_sx, $_sy) = @_ }
sub init_translate { my ($_class, $_tx, $_ty) = @_ }
sub invert { my ($_matrix) = @_ }
sub multiply { my ($_a, $_b) = @_ }
sub rotate { my ($_matrix, $_radians) = @_ }
sub scale { my ($_matrix, $_sx, $_sy) = @_ }
sub transform_distance { my ($_matrix) = @_ }
sub transform_point { my ($_matrix) = @_ }
sub translate { my ($_matrix, $_tx, $_ty) = @_ }

package Cairo::Path;
our @ISA = qw();
sub DESTROY { my ($_sv) = @_ }
sub FETCH { my ($_path, $_index) = @_ }
sub FETCHSIZE { my ($_path) = @_ }

package Cairo::Path::Data;
our @ISA = qw();
sub DESTROY { my ($_sv) = @_ }
sub EXISTS { my ($_sv, $_key) = @_ }
sub FETCH { my ($_sv, $_key) = @_ }
sub FIRSTKEY { my ($_sv) = @_ }
sub NEXTKEY { my ($_sv, $_lastkey) = @_ }
sub STORE { my ($_sv, $_key, $_value) = @_ }

package Cairo::Path::Point;
our @ISA = qw();
sub DESTROY { my ($_sv) = @_ }
sub FETCH { my ($_sv, $_index) = @_ }
sub FETCHSIZE { my ($_sv) = @_ }
sub STORE { my ($_sv, $_index, $_value) = @_ }

package Cairo::Path::Points;
our @ISA = qw();
sub DESTROY { my ($_sv) = @_ }
sub FETCH { my ($_sv, $_index) = @_ }
sub FETCHSIZE { my ($_sv) = @_ }
sub STORE { my ($_sv, $_index, $_value) = @_ }

package Cairo::Pattern;
our @ISA = qw();
sub DESTROY { my ($_pattern) = @_ }
sub get_extend { my ($_pattern) = @_ }
sub get_filter { my ($_pattern) = @_ }
sub get_matrix { my ($_pattern) = @_ }
sub get_type { my ($_pattern) = @_ }
sub set_extend { my ($_pattern, $_extend) = @_ }
sub set_filter { my ($_pattern, $_filter) = @_ }
sub set_matrix { my ($_pattern, $_matrix) = @_ }
sub status { my ($_pattern) = @_ }

package Cairo::PdfSurface;
our @ISA = qw();
sub create { my ($_class, $_filename, $_width_in_points, $_height_in_points) = @_ }
sub create_for_stream { my ($_class, $_func, $_data, $_width_in_points, $_height_in_points) = @_ }
sub get_versions { my ($_o_class) = @_ }
sub restrict_to_version { my ($_surface, $_version) = @_ }
sub set_size { my ($_surface, $_width_in_points, $_height_in_points) = @_ }
sub version_to_string { my (@_more_paras) = @_ }

package Cairo::PsSurface;
our @ISA = qw();
sub create { my ($_class, $_filename, $_width_in_points, $_height_in_points) = @_ }
sub create_for_stream { my ($_class, $_func, $_data, $_width_in_points, $_height_in_points) = @_ }
sub dsc_begin_page_setup { my ($_surface) = @_ }
sub dsc_begin_setup { my ($_surface) = @_ }
sub dsc_comment { my ($_surface, $_comment) = @_ }
sub get_eps { my ($_surface) = @_ }
sub get_levels { my ($_o_class) = @_ }
sub level_to_string { my (@_more_paras) = @_ }
sub restrict_to_level { my ($_surface, $_level) = @_ }
sub set_eps { my ($_surface, $_eps) = @_ }
sub set_size { my ($_surface, $_width_in_points, $_height_in_points) = @_ }

package Cairo::RadialGradient;
our @ISA = qw();
sub create { my ($_class, $_cx0, $_cy0, $_radius0, $_cx1, $_cy1, $_radius1) = @_ }
sub get_circles { my ($_pattern) = @_ }

package Cairo::RecordingSurface;
our @ISA = qw();
sub create { my ($_class, $_content, $_extents) = @_ }
sub ink_extents { my ($_surface) = @_ }

package Cairo::Region;
our @ISA = qw();
sub DESTROY { my ($_region) = @_ }
sub contains_point { my ($_region, $_x, $_y) = @_ }
sub contains_rectangle { my ($_region, $_rectangle) = @_ }
sub create { my ($_class, @_more_paras) = @_ }
sub equal { my ($_a, $_b) = @_ }
sub get_extents { my ($_region) = @_ }
sub get_rectangle { my ($_region, $_nth) = @_ }
sub intersect { my ($_dst, $_other) = @_ }
sub intersect_rectangle { my ($_dst, $_rectangle) = @_ }
sub is_empty { my ($_region) = @_ }
sub num_rectangles { my ($_region) = @_ }
sub status { my ($_region) = @_ }
sub subtract { my ($_dst, $_other) = @_ }
sub subtract_rectangle { my ($_dst, $_rectangle) = @_ }
sub translate { my ($_region, $_dx, $_dy) = @_ }
sub union { my ($_dst, $_other) = @_ }
sub union_rectangle { my ($_dst, $_rectangle) = @_ }
sub Cairo::Region::xor { my ($_dst, $_other) = @_ }
sub xor_rectangle { my ($_dst, $_rectangle) = @_ }

package Cairo::ScaledFont;
our @ISA = qw();
sub DESTROY { my ($_font) = @_ }
sub create { my ($_class, $_font_face, $_font_matrix, $_ctm, $_options) = @_ }
sub extents { my ($_scaled_font) = @_ }
sub get_ctm { my ($_scaled_font) = @_ }
sub get_font_face { my ($_scaled_font) = @_ }
sub get_font_matrix { my ($_scaled_font) = @_ }
sub get_font_options { my ($_scaled_font) = @_ }
sub get_scale_matrix { my ($_scaled_font) = @_ }
sub get_type { my ($_scaled_font) = @_ }
sub glyph_extents { my ($_scaled_font, @_more_paras) = @_ }
sub status { my ($_scaled_font) = @_ }
sub text_extents { my ($_scaled_font, $_utf8) = @_ }
sub text_to_glyphs { my ($_scaled_font, $_x, $_y, $_utf8_sv) = @_ }

package Cairo::SolidPattern;
our @ISA = qw();
sub create_rgb { my ($_class, $_red, $_green, $_blue) = @_ }
sub create_rgba { my ($_class, $_red, $_green, $_blue, $_alpha) = @_ }
sub get_rgba { my ($_pattern) = @_ }

package Cairo::Surface;
our @ISA = qw();
sub DESTROY { my ($_surface) = @_ }
sub copy_page { my ($_surface) = @_ }
sub create_for_rectangle { my ($_class, $_target, $_x, $_y, $_width, $_height) = @_ }
sub create_similar { my (@_more_paras) = @_ }
sub finish { my ($_surface) = @_ }
sub flush { my ($_surface) = @_ }
sub get_content { my ($_surface) = @_ }
sub get_device_offset { my ($_surface) = @_ }
sub get_fallback_resolution { my ($_surface) = @_ }
sub get_font_options { my ($_surface) = @_ }
sub get_type { my ($_surface) = @_ }
sub has_show_text_glyphs { my ($_surface) = @_ }
sub mark_dirty { my ($_surface) = @_ }
sub mark_dirty_rectangle { my ($_surface, $_x, $_y, $_width, $_height) = @_ }
sub set_device_offset { my ($_surface, $_x_offset, $_y_offset) = @_ }
sub set_fallback_resolution { my ($_surface, $_x_pixels_per_inch, $_y_pixels_per_inch) = @_ }
sub show_page { my ($_surface) = @_ }
sub status { my ($_surface) = @_ }
sub write_to_png { my ($_surface, $_filename) = @_ }
sub write_to_png_stream { my ($_surface, $_func, $_o_data) = @_ }

package Cairo::SurfacePattern;
our @ISA = qw();
sub create { my ($_class, $_surface) = @_ }
sub get_surface { my ($_pattern) = @_ }

package Cairo::SvgSurface;
our @ISA = qw();
sub create { my ($_class, $_filename, $_width_in_points, $_height_in_points) = @_ }
sub create_for_stream { my ($_class, $_func, $_data, $_width_in_points, $_height_in_points) = @_ }
sub get_versions { my ($_o_class) = @_ }
sub restrict_to_version { my ($_surface, $_version) = @_ }
sub version_to_string { my (@_more_paras) = @_ }

package Cairo::ToyFontFace;
our @ISA = qw();
sub create { my ($_class, $_family, $_slant, $_weight) = @_ }
sub get_family { my ($_font_face) = @_ }
sub get_slant { my ($_font_face) = @_ }
sub get_weight { my ($_font_face) = @_ }