Surface almost there ...
[phpCairo.git] / cairo.xml
bloba0fe82c754e5d14e480fd9c5c3cce6c860497fc5
1 <?xml version="1.0" ?>
2 <extension name="phpCairo" version="0.1.0">
4         <!-- Summary and other details -->      
5         <summary>PHP bindings for Cairo Graphic Library</summary>
6         <description>
7                 This extension offers you object oriented support for Cairo.
8         </description>
9         <license>php</license>
10         <maintainer>
11                 <user>aki</user>
12                 <name>Akshat Gupta</name>
13                 <email>g.akshat@gmail.com</email>
14                 <role>lead</role>
15         </maintainer>
16         <changelog>
17                 <release>
18                         <version>0.1</version>
19                         <date>2006-06-10</date>
20                         <state>alpha</state>
21                         <notes>First alpha version</notes>
22                 </release>
23         </changelog>
25         <!-- cairo interface -->
26         
27         <class name="CairoContext">
28                 <summary>The main drawing class</summary>
29                 
31                 <function name="__construct">
32                         <proto>void construct(object obj)</proto>
33                         <code></code>
34                 </function>
36                 <function name="append_path">
37                         <proto>void append_path(object p)</proto>
38                         <code></code>
39                 </function>
41                 <function name="arc">
42                         <proto>void arc(float xc, float yc, float radius, float angle1, float angle2)</proto>
43                         <code></code>
44                 </function>
46                 <function name="arc_negative">
47                         <proto>void arc_negative(float xc, float yc, float radius, float angle1, float angle2)</proto>
48                         <code></code>
49                 </function>
51                 <function name="clip">
52                         <proto>void clip()</proto>
53                         <code></code>
54                 </function>
56                 <function name="clip_extents">
57                         <proto>array clip_extents()</proto>
58                         <code></code>
59                 </function>
62                 <function name="clip_preserve">
63                         <proto>void clip_preserve()</proto>
64                         <code></code>
65                 </function>
66         
67                 <function name="close_path">
68                     <proto>void close_path()</proto>
69                         <code></code>
70                 </function>
71 <!-- need to work on the next functin -->
72         <function name="copy_clip_rectangle_list">
73                         <proto>object copy_clip_rectangle_list()</proto>
74                         <code>/*using iterator in php5.0 to store the 
75                                 list. Pass the array to an iterator during the 
76                                 object definition and jobs done */</code>
77                 </function>
78         
79                 <function name="copy_page">
80                         <proto>void copy_page()</proto>
81                         <code></code>
82                 </function>
84         <function name="copy_path">
85                         <proto>object copy_path()</proto>
86                         <code></code>
87                 </function>
89         <function name="copy_path_flat">
90                         <proto>object copy_path_flat()</proto>
91                         <code></code>
92                 </function>
94                 <function name="curve_to">
95                         <proto>void curve_to (float x1, float y1, float x2, float y2, float x3, float y3)</proto>
96                         <code></code>
97                 </function>
99                 <function name="device_to_user">
100                         <proto>array device_to_user(float x, float y)</proto>
101                         <code></code>
102                 </function>
104                 <function name="device_to_user_distance">
105                         <proto>array device_to_user_distance(float x, float y)</proto>
106                         <code></code>
107                 </function>
109                 <function name="fill">
110                         <proto>void fill()</proto>
111                         <code></code>
112                 </function>
114                 <function name="fill_extents">
115                         <proto>array fill_extents()</proto>
116                         <code></code>
117                 </function>
119                 <function name="fill_preserve">
120                         <proto>void fill_preserve()</proto>
121                         <code></code>
122                 </function>
124                 <function name="font_extents">
125                         <proto>array font_extents()</proto>
126                         <code></code>
127                 </function>
129                 <function name="get_antialias">
130                         <proto>int get_antialias()</proto>
131                         <code></code>
132                 </function>
134                 <function name="get_current_point">
135                         <proto>array get_current_point()</proto>
136                         <code></code>
137                 </function>
139                 <function name="get_dash">
140                         <proto>array get_dash()</proto>
141                         <code></code>
142                 </function>
144                 <function name="get_dash_count">
145                         <proto>int get_dash_count()</proto>
146                         <code></code>
147                 </function>
149                 <function name="get_fill_rule">
150                         <proto>int get_fill_rule()</proto>
151                         <code></code>
152                 </function>
154                 <function name="get_font_face">
155                         <proto>object get_font_face()</proto>
156                         <code></code>
157                 </function>
159                 <function name="get_font_matrix">
160                         <proto>object get_font_matrix()</proto>
161                         <code></code>
162                 </function>
164                 <function name="get_font_options">
165                         <proto>object get_font_options()</proto>
166                         <code></code>
167                 </function>
169                 <function name="get_group_target">
170                         <proto>object get_group_target()</proto>
171                         <code></code>
172                 </function>
174                 <function name="get_line_cap">
175                         <proto>int get_line_cap()</proto>
176                         <code></code>
177                 </function>
179                 <function name="get_line_join">
180                         <proto>int get_line_join()</proto>
181                         <code></code>
182                 </function>
184                 <function name="get_line_width">
185                         <proto>float get_line_width()</proto>
186                         <code></code>
187                 </function>
189                 <function name="get_matrix">
190                         <proto>object get_matrix()</proto>
191                         <code></code>
192                 </function>
194                 <function name="get_matrix_limit">
195                         <proto>float get_matrix_limit()</proto>
196                         <code></code>
197                 </function>
199                 <function name="get_operator">
200                         <proto>int get_operator()</proto>
201                         <code></code>
202                 </function>
204                 <function name="get_scaled_font">
205                         <proto>object get_scaled_font()</proto>
206                         <code></code>
207                 </function>
209                 <function name="get_source">
210                         <proto>object get_source()</proto>
211                         <code></code>
212                 </function>
213 <!-- -->
214                 <function name="get_target">
215                         <proto>object get_target()</proto>
216                         <code></code>
217                 </function>
219                 <function name="get_tolerance">
220                         <proto>float get_tolerance()</proto>
221                         <code></code>
222                 </function>
224                 <function name="glyph_extents">
225                         <proto>array get_extents(object obj[,int num])</proto>
226                         <code>/*This might be a prob*/</code>
227                 </function>
229                 <function name="glyph_path">
230                         <proto>void glyph_pat(object obh[,int num])</proto>
231                         <code></code>
232                 </function>
234                 <function name="has_current_point">
235                         <proto>bool has_current_point()</proto>
236                         <code>/* ONLY for CAIRO 1.6 */</code>
237                 </function>
240                 <function name="identity_matrix">
241                         <proto>void identity_matrix()</proto>
242                         <code></code>
243                 </function>
245                 <function name="in_fill">
246                         <proto>bool in_fill(float x, float y)</proto>
247                         <code></code>
248                 </function>
250                 <function name="in_stroke">
251                         <proto>bool in_stroke(float x, float y)</proto>
252                         <code></code>
253                 </function>
255                 <function name="line_to">
256                         <proto>void line_to(float x, float y)</proto>
257                         <code></code>
258                 </function>
260                 <function name="mask">
261                         <proto>void mask(object p)</proto>
262                         <code></code>
263                 </function>
265                 <function name="mask_surface">
266                         <proto>void mask_surface(object s[,float surface_x, float surface_y])</proto>
267                         <code></code>
268                 </function>
270                 <function name="move_to">
271                         <proto>void move_to(float x, float y)</proto>
272                         <code></code>
273                 </function>
275                 <function name="new_path">
276                         <proto>void new_path()</proto>
277                         <code></code>
278                 </function>
280                 <function name="new_sub_path">
281                         <proto>void new_sub_path()</proto>
282                         <code></code>
283                 </function>
285                 <function name="paint">
286                         <proto>void paint()</proto>
287                         <code></code>
288                 </function>
290                 <function name="paint_with_alpha">
291                         <proto>void paint_with_alpha(float alpha)</proto>
292                         <code></code>
293                 </function>
295                 <function name="path_extents">
296                         <proto>array path_extents([object path])</proto>
297                         <code>/* ONLY for CAIRO 1.6 */</code>
298                 </function>
300                 <function name="pop_group">
301                         <proto>object pop_group()</proto>
302                         <code></code>
303                 </function>
305                 <function name="pop_group_to_source">
306                         <proto>void pop_group_to_source()</proto>
307                         <code></code>
308                 </function>
310                 <function name="push_group">
311                         <proto>void push_group()</proto>
312                         <code></code>
313                 </function>
315                 <function name="push_group_with_content">
316                         <proto>void push_group_with_content(int content)</proto>
317                         <code></code>
318                 </function>
320                 <function name="rectangle">
321                         <proto>void rectangle(float x, float y, float width, float height)</proto>
322                         <code></code>
323                 </function>
325                 <function name="rel_curve_to">
326                         <proto>void rel_curve_to(float x1, float y1, float x2, float y2, float x3, float y3)</proto>
327                         <code></code>
328                 </function>
330                 <function name="rel_line_to">
331                         <proto>void rel_line_to(float x, float y)</proto>
332                         <code></code>
333                 </function>
335                 <function name="rel_move_to">
336                         <proto>void rel_move_to(float x, float y)</proto>
337                         <code></code>
338                 </function>
340                 <function name="reset_clip">
341                         <proto>void reset_clip()</proto>
342                         <code></code>
343                 </function>
345                 <function name="restore">
346                         <proto>void restore()</proto>
347                         <code></code>
348                 </function>
350                 <function name="rotate">
351                         <proto>void rotate(float angle)</proto>
352                         <code></code>
353                 </function>
355                 <function name="save">
356                         <proto>void save()</proto>
357                         <code></code>
358                 </function>
360                 <function name="scale">
361                         <proto>void scale(float x, float y)</proto>
362                         <code></code>
363                 </function>
365                 <function name="select_font_face">
366                         <proto>void select_font_face(object obj[, int slant, int weight])</proto>
367                         <code></code>
368                 </function>
370                 <function name="set_antialias">
371                         <proto>void set_antialias([int antialias])</proto>
372                         <code></code>
373                 </function>
375                 <function name="set_dash">
376                         <proto>void set_dash(object dashes [,float offset])</proto>
377                         <code></code>
378                 </function>
380                 <function name="set_fill_rule">
381                         <proto>void set_fill_rule(int fill_rule)</proto>
382                         <code></code>
383                 </function>
385                 <function name="set_font_face"> 
386                         <proto>void set_font_face([object obj])</proto>
387                         <code></code>
388                 </function>
390                 <function name="set_font_matrix">
391                         <proto>void set_font_matrix(object matrix)</proto>
392                         <code></code>
393                 </function>
395                 <function name="set_font_options">
396                         <proto>void set_font_options(object options)</proto>
397                         <code></code>
398                 </function>
400                 <function name="set_font_size">
401                         <proto>void set_font_size(float size)</proto>
402                         <code></code>
403                 </function>
405                 <function name="set_line_cap">
406                         <proto>void set_line_cap(int line_cap)</proto>
407                         <code></code>
408                 </function>
410                 <function name="set_line_join">
411                         <proto>void set_line_join(int line_join)</proto>
412                         <code></code>
413                 </function>
415                 <function name="set_line_width">
416                         <proto>void set_line_width(float width)</proto>
417                         <code></code>
418                 </function>
420                 <function name="set_matrix">
421                         <proto>void set_matrix(object matix)</proto>
422                         <code></code>
423                 </function>
425                 <function name="set_miter_limit">
426                         <proto>void set_miter_limit(float limit)</proto>
427                         <code></code>
428                 </function>
430                 <function name="set_operator">
431                         <proto>void set_operator(int op)</proto>
432                         <code></code>
433                 </function>
435                 <function name="set_source">
436                         <proto>void set_source(object p)</proto>
437                         <code></code>
438                 </function>
440                 <function name="set_source_rgb">
441                         <proto>void set_source_rgb(float red, float green, float blue)</proto>
442                         <code></code>
443                 </function>
445                 <function name="set_source_rgba">
446                         <proto>void set_source_rgba(float red, float green, float blue [,float alpha])</proto>
447                         <code></code>
448                 </function>
450                 <function name="set_source_surface">
451                         <proto>void set_source_surface(object surface [,float x, float y])</proto>
452                         <code></code>
453                 </function>
455                 <function name="set_tolerance">
456                         <proto>void set_tolerance(float tolerance)</proto>
457                         <code></code>
458                 </function>
460                 <function name="show_glyphs">
461                         <proto>void show_glyphs(object glyphs [,int num_glyphs])</proto>
462                         <code></code>
463                 </function>
465                 <function name="show_page">
466                         <proto>void show_page()</proto>
467                         <code></code>
468                 </function>
470                 <function name="show_text">
471                         <proto>void show_text(object obj)</proto>
472                         <code></code>
473                 </function>
475                 <function name="stroke">
476                         <proto>void stroke()</proto>
477                         <code></code>
478                 </function>
480                 <function name="stroke_extents">
481                         <proto>array stroke_extents()</proto>
482                         <code></code>
483                 </function>
485                 <function name="stroke_preserve">
486                         <proto>void stroke_preserve()</proto>
487                         <code></code>
488                 </function>
490                 <function name="text_extents">
491                         <proto>array text_extents(object extents)</proto>
492                         <code></code>
493                 </function>
495                 <function name="text_path">
496                         <proto>void text_path(object obj)</proto>
497                         <code></code>
498                 </function>
499                 
500                 <function name="transform">
501                         <proto>void transform(object matrix)</proto>
502                         <code></code>
503                 </function>
505                 <function name="translate">
506                         <proto>void translate(float tx, float ty)</proto>
507                         <code></code>
508                 </function>
510                 <function name="user_to_device">
511                         <proto>array user_to_device(float x, float y)</proto>
512                         <code></code>
513                 </function>
515                 <function name="user_to_device_distance">
516                         <proto>array user_to_device_distance(float dx, float dy)</proto>
517                         <code></code>
518                 </function>
520         </class>
522         <class name="CairoFontFace">
523                 <function name="__construct">
524                         <proto>void construct()</proto>
525                         <code>/* not allowede to create an object directly*/</code>
526                 </function>
528                 <function name="__destruct">
529                         <proto>void destruct()</proto>
530                         <code></code>
531                 </function>
533         </class>
534         
536         <class name="CairoFontOptions">
537                 <function name="__construct">
538                         <proto>void construct()</proto>
539                         <code></code>
540                 </function>
542                 <function name="get_antialias">
543                         <proto>int get_antialias()</proto>
544                         <code></code>
545                 </function>
547                 <function name="get_hint_metrics">
548                         <proto>int get_hint_metrics()</proto>
549                         <code></code>
550                 </function>
552                 <function name="get_hint_style">
553                         <proto>int get_hint_style()</proto>
554                         <code></code>
555                 </function>
557                 <function name="get_subpixel_order">
558                         <proto>int get_subpixel_order()</proto>
559                         <code></code>
560                 </function>
562                 <function name="set_antialias">
563                         <proto>void set_antialias([int aa])</proto>
564                         <code></code>
565                 </function>
567                 <function name="set_hint_metrics">
568                         <proto>void set_hint_metrics([int hm])</proto>
569                         <code></code>
570                 </function>
572                 <function name="set_hint_style">
573                         <proto>void set_hint_style([int hs])</proto>
574                         <code></code>
575                 </function>
576                 
577                 <function name="set_subpixel_order">
578                         <proto>void set_subpixel_order([int so])</proto>
579                         <code></code>
580                 </function>
581         </class>
583         <class name="CairoMatrix">
584                 
585                 <function name="__construct">
586                         <proto>void construct([float xx, float yx, float xy, float yy, float x0, float y0])</proto>
587                         <code></code>
588                 </function>
590                 <function name="init_rotate" access="private">
591                         <proto>object inti_rotate(float radians)</proto>
592                         <code></code>
593                 </function>
595                 <function name="invert">
596                         <proto>void invert()</proto>
597                         <code></code>
598                 </function>
600                 <function name="multiply">
601                         <proto>object multiply(object o2)</proto>
602                         <code></code>
603                 </function>
605                 <function name="rotate">
606                         <proto>void rotate(float radians)</proto>
607                         <code></code>
608                 </function>
610                 <function name="scale">
611                         <proto>void scale(float sx, float xy)</proto>
612                         <code></code>
613                 </function>
615                 <function name="transform_distance">
616                         <proto>array transform_distance(float dx, float dy)</proto>
617                         <code></code>
618                 </function>
620                 <function name="transform_point">
621                         <proto>array transform_point(float x, float y)</proto>
622                         <code></code>
623                 </function>
625                 <function name="translate">
626                         <proto>void translate(float tx, float ty)</proto>
627                         <code></code>
628                 </function>
630                 <!--Some more functions given in pyCairo ... depends on need -->
631         </class>
632         
633         <class name="CairoPath">
634                 
635                 <function name="__construct">
636                         <proto>void construct()</proto>
637                         <code></code>
638                 </function>
640         </class>
641         
642         <class name="CairoPattern">
643                 
644                 <function name="__construct">
645                         <proto>void contruct()</proto>
646                         <code></code>
647                 </function>
649                 <function name="get_matrix">
650                         <proto>object get_matrix()</proto>
651                         <code></code>
652                 </function>
654                 <function name="set_matrix">
655                         <proto>void set_matrix(object m)</proto>
656                         <code></code>
657                 </function>
659         </class>
661         <class name="CairoGradient" extends="CairoPattern">
663                 <function name="__contruct">
664                         <proto>void construct()</proto>
665                         <code></code>
666                 </function>
668                 <function name="add_color_stop_rgb">
669                         <proto>void add_color_stop_rgb(float offset, float red, float green, float blue)</proto>
670                         <code></code>
671                 </function>
673                 <function name="add_color_stop_rgba">
674                         <proto>void add_color_stop_rgba(float offset, float red, float green, float blue, float alpha)</proto>
675                         <code></code>
676                 </function>
678         </class>
680         <class name="CairoLinearGradient" extends="CairoGradient">
681                 
682                 <function name="__construct">
683                         <proto>void construct(float x0, float y0, float x1, float y1)</proto>
684                         <code></code>
685                 </function>
687                 <function name="get_linear_points">
688                         <proto>array get_linear_points()</proto>
689                         <code></code>
690                 </function>
692         </class>
694         <class name="CairoRadialGradient" extends="CairoGradient">
695                 
696                 <function name="__constuct">
697                         <proto>void construct(float cx0, float cy0, float radius0, float cx1, float cy1, float radius1)</proto>
698                         <code></code>
699                 </function>
701                 <function name="get_radial_circles">
702                         <proto>array get_radial_circles()</proto>
703                         <code></code>
704                 </function>
705         
706         </class>
708         <class name="CairoSolidPattern" extends="CairoPattern">
709                 
710                 <function name="__construct">
711                         <proto>void construct(float r, float g, float b [, float a])</proto>
712                         <code></code>
713                 </function>
715                 <function name="get_rgba">
716                         <proto>array get_rgba()</proto>
717                         <code></code>
718                 </function>
720         </class>
722         <class name="CairoSurfacePattern" extends="CairoPattern">
723                 
724                 <function name="__construct">
725                         <proto>void construct(object s)</proto>
726                         <code></code>
727                 </function>
729                 <function name="get_extend">
730                         <proto>int get_extend()</proto>
731                         <code></code>
732                 </function>
733                 
734                 <function name="get_filter">
735                         <proto>int get_filter()</proto>
736                         <code></code>
737                 </function>
739                 <function name="get_surface">
740                         <proto>object get_surface()</proto>
741                         <code></code>
742                 </function>
744                 <function name="set_extend">
745                         <proto>void set_extend(int extend)</proto>
746                         <code></code>
747                 </function>
749                 <function name="set_filter">
750                         <proto>void set_filter(int filter)</proto>
751                         <code></code>
752                 </function>
754         </class>
756         <class name="CairoScaledFont">
757                 
758                 <function name="__construct">
759                         <proto>void construct(object ff, object mx1, object mx2, object fo)</proto>
760                         <code></code>
761                 </function>
763                 <function name="extents">
764                         <proto>array extents()</proto>
765                         <code></code>
766                 </function>
768                 <function name="get_font_face">
769                         <proto>object get_font_face()</proto>
770                         <code></code>
771                 </function>
773                 <function name="text_extents">
774                         <proto>array text_extents(string str)</proto>
775                         <code></code>
776                 </function>
778         </class>
779         
780         <class name="CairoSurface">
781                 
782                 <function name="__construct">
783                         <proto>void construct()</proto>
784                         <code></code>
785                 </function>
787                 <function name="create_similar">
788                         <proto>object create_similar(int content, int width, int height)</proto>
789                         <code></code>
790                 </function>
792                 <function name="finish">
793                         <proto>void finish()</proto>
794                         <code></code>
795                 </function>
797                 <function name="flush">
798                         <proto>void flush()</proto>
799                         <code></code>
800                 </function>
802                 <function name="get_content">
803                         <proto>int get_content()</proto>
804                         <code></code>
805                 </function>
807                 <function name="get_device_offset">
808                         <proto>array get_device_offset()</proto>
809                         <code></code>
810                 </function>
812                 <function name="get_font_options">
813                         <proto>object get_font_options()</proto>
814                         <code></code>
815                 </function>
817                 <function name="mark_dirty_rectangle">
818                         <proto>void mark_dirty_rectangle([int x, int y, int width, int height])</proto>
819                         <code></code>
820                 </function>
822                 <function name="set_device_offset">
823                         <proto>void set_device_offset(float x_offset, float y_offset)</proto>
824                         <code></code>
825                 </function>
827                 <function name="set_fallback_resolution">
828                         <proto>void set_fallback_resolution(float x_ppi, float y_ppi)</proto>
829                         <code></code>
830                 </function>
832                 <function name="write_to_png">
833                         <proto>void write_to_png(string file)</proto>
834                         <code></code>
835                 </function>
837         </class>
839         <class name="CairoImageSurface" extends="CairoSurface">
840                 
841                 <function name="__construct">
842                         <proto>void construct(int format, int widthm, int height)</proto>
843                         <code></code>
844                 </function>
846                 <function name="create_from_data" access="private">
847                         <proto>object create_from_data(object obj, int format, int width, int height [, int stride])</proto>
848                         <code></code>
849                 </function>
851                 <function name="create_from_png" access="private">
852                         <proto>object create_from_png(string file)</proto>
853                         <code></code>
854                 </function>
856                 <function name="get_data">
857                         <proto>string get_data()</proto>
858                         <code></code>
859                 </function>
861                 <function name="get_format">
862                         <proto>int get_format()</proto>
863                         <code></code>
864                 </function>
866                 <function name="get_height">
867                         <proto>int get_height()</proto>
868                         <code></code>
869                 </function>
871                 <function name="get_stride">
872                         <proto>int get_stride()</proto>
873                         <code></code>
874                 </function>
876                 <function name="get_width">
877                         <proto>int get_width()</proto>
878                         <code></code>
879                 </function>
881         
882         </class>
884         <class name="CairoPDFSurface" extends="CairoSurface">
885         
886                 <function name="__construct">
887                         <proto>void construct(string file, float wpts, float hpts)</proto>
888                         <code></code>
889                 </function>
891                 <function name="set_size">
892                         <proto>void set_size(float wptd, float hpts)</proto>
893                         <code></code>
894                 </function>
896         </class>
898         <class name="CairoPSSurface" extends="CairoSurface">
900                 <function name="__construct">
901                         <proto>void construct(string file, float wpts, float hpts)</proto>
902                         <code></code>
903                 </function>
905                 <function name="dsc_begin_page_setup">
906                         <proto>void dsc_begin_page_setup()</proto>
907                         <code></code>
908                 </function>
910                 <function name="dsc_begin_setup">
911                         <proto>void dsc_begin_setup()</proto>
912                         <code></code>
913                 </function>
915                 <function name="dsc_comment">
916                         <proto>void dsc_comment()</proto>
917                         <code></code>
918                 </function>
920                 <function name="get_levels">
921                         <proto>array get_levels()</proto>
922                         <code>/* ONLY for CAIRO 1.6 </code>
923                 </function>
925                 <function name="get_level_string">
926                         <proto>string get_level_string()</proto>
927                         <code>/* ONLY for CAIRO 1.6*/</code>
928                 </function>
930                 <function name="restrict_to_level">
931                         <proto>void restrict_to_level(int level)</proto>
932                         <code>/* ONLY for CAIRO 1.6 */</code>
933                 </function>
935                 <function name="set_eps">
936                         <proto>void set_eps()</proto>
937                         <code>/* ONLY for CAIRO 1.6 */</code>
938                 </function>
940                 <function name="set_size">
941                         <proto>void set_size(float wpts, float hpts)</proto>
942                         <code></code>
943                 </function>
945         </class>
947         <class name="CairoQuartzSurface" extends="CairoSurface">
948                 
949                 <function name="__construct">
950                         <proto>void construct(float wpixels, float hpixels [, int format])</proto>
951                         <code></code>
952                 </function>
953         </class>
955         <class name="CairoSVGSurface" extends="CairoSurface">
956                 
957                 <function name="__construct">
958                         <proto>void construct(string file, float wpts, float hpts)</proto>
959                         <code></code>
960                 </function>
962         </class>
964         <class name="CairoWin32Surface" extends="CairoSurface">
965                 
966                 <function name="__construct">
967                         <proto>void construct(int hdc)</proto>
968                         <code></code>
969                 </function>
971         </class>
973         <class name="CairoXlibSurface" extends="CairoSurface">
975                 <function name="__construct">
976                         <proto>void construct()</proto>
977                         <code></code>
978                 </function>
980                 <function name="get_depth">
981                         <proto>int get_depth()</proto>
982                         <code></code>
983                 </function>
985                 <function name="get_height">
986                         <proto>int get_height()</proto>
987                         <code></code>
988                 </function>
990                 <function name="get_width">
991                         <proto>int get_width()</proto>
992                         <code></code>
993                 </function>
995         </class>
997         <class name="CairoException" extends="Exception">
998                 
999         </class>
1000         
1001         <function name="cairo_version">
1002                 <proto>int cairo_version()</proto>
1003                 <code></code>
1004         </function>
1006         <function name="cairo_version_string">
1007                 <proto>string cairo_version_string()</proto>
1008                 <code></code>
1009         </function>
1011 </extension>