Release 0.41.92
[vala-gnome.git] / vapi / goocanvas.vapi
blob614cb45a640b5136bd65a77fd13a98b7ddbee3d3
1 /* goocanvas.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Goo", lower_case_cprefix = "goo_")]
4 [Version (replacement = "goocanvas-2.0")]
5 namespace Goo {
6         [CCode (cheader_filename = "goocanvas.h", copy_function = "goo_cairo_matrix_copy", type_id = "GOO_TYPE_CAIRO_MATRIX")]
7         [Compact]
8         public class CairoMatrix {
9                 public double x0;
10                 public double xx;
11                 public double xy;
12                 public double y0;
13                 public double yx;
14                 public double yy;
15                 public static Cairo.Matrix copy (Cairo.Matrix matrix);
16         }
17         [CCode (cheader_filename = "goocanvas.h", type_id = "goo_cairo_pattern_get_type ()")]
18         [Compact]
19         public class CairoPattern {
20         }
21         [CCode (cheader_filename = "goocanvas.h")]
22         public class Canvas : Gtk.Container, Atk.Implementor, Gtk.Buildable {
23                 [CCode (has_construct_function = false)]
24                 public Canvas ();
25                 public void convert_bounds_to_item_space (Goo.CanvasItem item, ref Goo.CanvasBounds bounds);
26                 public void convert_from_item_space (Goo.CanvasItem item, ref double x, ref double y);
27                 public void convert_from_pixels (ref double x, ref double y);
28                 public void convert_to_item_space (Goo.CanvasItem item, ref double x, ref double y);
29                 public void convert_to_pixels (ref double x, ref double y);
30                 public unowned Cairo.Context create_cairo_context ();
31                 public virtual unowned Goo.CanvasItem create_item (Goo.CanvasItemModel model);
32                 public static void create_path (GLib.Array<Goo.CanvasPathCommand> commands, Cairo.Context cr);
33                 public void get_bounds (out unowned double? left, out unowned double? top, out unowned double? right, out unowned double? bottom);
34                 public double get_default_line_width ();
35                 public unowned Goo.CanvasItem? get_item (Goo.CanvasItemModel model);
36                 public unowned Goo.CanvasItem? get_item_at (double x, double y, bool is_pointer_event);
37                 public GLib.List<weak Goo.CanvasItem>? get_items_at (double x, double y, bool is_pointer_event);
38                 public GLib.List<weak Goo.CanvasItem>? get_items_in_area (Goo.CanvasBounds area, bool inside_area, bool allow_overlaps, bool include_containers);
39                 public unowned Goo.CanvasItem? get_root_item ();
40                 public unowned Goo.CanvasItemModel? get_root_item_model ();
41                 public double get_scale ();
42                 public unowned Goo.CanvasItem? get_static_root_item ();
43                 public unowned Goo.CanvasItemModel? get_static_root_item_model ();
44                 public void grab_focus (Goo.CanvasItem item);
45                 public Gdk.GrabStatus keyboard_grab (Goo.CanvasItem item, bool owner_events, uint32 time);
46                 public void keyboard_ungrab (Goo.CanvasItem item, uint32 time);
47                 public static GLib.Array<Goo.CanvasPathCommand> parse_path_data (string path_data);
48                 public Gdk.GrabStatus pointer_grab (Goo.CanvasItem item, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time);
49                 public void pointer_ungrab (Goo.CanvasItem item, uint32 time);
50                 public void register_widget_item (Goo.CanvasWidget witem);
51                 public void render (Cairo.Context cr, Goo.CanvasBounds? bounds, double scale);
52                 public void request_item_redraw (Goo.CanvasBounds bounds, bool is_static);
53                 public void request_redraw (Goo.CanvasBounds bounds);
54                 public void request_update ();
55                 public void scroll_to (double left, double top);
56                 public void set_bounds (double left, double top, double right, double bottom);
57                 public void set_root_item (Goo.CanvasItem item);
58                 public void set_root_item_model (Goo.CanvasItemModel model);
59                 public void set_scale (double scale);
60                 public void set_static_root_item (Goo.CanvasItem item);
61                 public void set_static_root_item_model (Goo.CanvasItemModel model);
62                 public void unregister_item (Goo.CanvasItemModel model);
63                 public void unregister_widget_item (Goo.CanvasWidget witem);
64                 public void update ();
65                 [NoAccessorMethod]
66                 public Gtk.AnchorType anchor { get; set; }
67                 [NoAccessorMethod]
68                 public bool automatic_bounds { get; set; }
69                 [NoAccessorMethod]
70                 public string background_color { set; }
71                 [NoAccessorMethod]
72                 public uint background_color_rgb { set; }
73                 [NoAccessorMethod]
74                 public bool bounds_from_origin { get; set; }
75                 [NoAccessorMethod]
76                 public double bounds_padding { get; set; }
77                 [NoAccessorMethod]
78                 public bool clear_background { get; set; }
79                 [NoAccessorMethod]
80                 public bool integer_layout { get; set; }
81                 [NoAccessorMethod]
82                 public bool redraw_when_scrolled { get; set; }
83                 [NoAccessorMethod]
84                 public double resolution_x { get; set; }
85                 [NoAccessorMethod]
86                 public double resolution_y { get; set; }
87                 public double scale { get; set; }
88                 [NoAccessorMethod]
89                 public double scale_x { get; set; }
90                 [NoAccessorMethod]
91                 public double scale_y { get; set; }
92                 [NoAccessorMethod]
93                 public Gtk.Unit units { get; set; }
94                 [NoAccessorMethod]
95                 public double x1 { get; set; }
96                 [NoAccessorMethod]
97                 public double x2 { get; set; }
98                 [NoAccessorMethod]
99                 public double y1 { get; set; }
100                 [NoAccessorMethod]
101                 public double y2 { get; set; }
102                 public virtual signal void item_created (Goo.CanvasItem item, Goo.CanvasItemModel model);
103                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
104         }
105         [CCode (cheader_filename = "goocanvas.h")]
106         public class CanvasEllipse : Goo.CanvasItemSimple, Goo.CanvasItem {
107                 [CCode (has_construct_function = false)]
108                 protected CanvasEllipse ();
109                 [CCode (cname = "goo_canvas_ellipse_new", type = "GooCanvasItem*")]
110                 public static unowned Goo.CanvasEllipse create (Goo.CanvasItem? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
111                 [NoAccessorMethod]
112                 public double center_x { get; set; }
113                 [NoAccessorMethod]
114                 public double center_y { get; set; }
115                 [NoAccessorMethod]
116                 public double height { get; set; }
117                 [NoAccessorMethod]
118                 public double radius_x { get; set; }
119                 [NoAccessorMethod]
120                 public double radius_y { get; set; }
121                 [NoAccessorMethod]
122                 public double width { get; set; }
123                 [NoAccessorMethod]
124                 public double x { get; set; }
125                 [NoAccessorMethod]
126                 public double y { get; set; }
127         }
128         [CCode (cheader_filename = "goocanvas.h")]
129         public class CanvasEllipseModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
130                 [CCode (has_construct_function = false)]
131                 protected CanvasEllipseModel ();
132                 [CCode (cname = "goo_canvas_ellipse_model_new", type = "GooCanvasItemModel*")]
133                 public static unowned Goo.CanvasEllipseModel create (Goo.CanvasItemModel? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
134                 [NoAccessorMethod]
135                 public double center_x { get; set; }
136                 [NoAccessorMethod]
137                 public double center_y { get; set; }
138                 [NoAccessorMethod]
139                 public double height { get; set; }
140                 [NoAccessorMethod]
141                 public double radius_x { get; set; }
142                 [NoAccessorMethod]
143                 public double radius_y { get; set; }
144                 [NoAccessorMethod]
145                 public double width { get; set; }
146                 [NoAccessorMethod]
147                 public double x { get; set; }
148                 [NoAccessorMethod]
149                 public double y { get; set; }
150         }
151         [CCode (cheader_filename = "goocanvas.h")]
152         public class CanvasGrid : Goo.CanvasItemSimple, Goo.CanvasItem {
153                 [CCode (has_construct_function = false)]
154                 protected CanvasGrid ();
155                 [CCode (cname = "goo_canvas_grid_new", type = "GooCanvasItemModel*")]
156                 public static unowned Goo.CanvasGrid create (Goo.CanvasItem? parent, double x, double y, double width, double height, double x_step, double y_step, double x_offset, double y_offset, ...);
157                 [NoAccessorMethod]
158                 public string border_color { set; }
159                 [NoAccessorMethod]
160                 public uint border_color_rgba { get; set; }
161                 [NoAccessorMethod]
162                 public Goo.CairoPattern border_pattern { owned get; set; }
163                 [NoAccessorMethod]
164                 public Gdk.Pixbuf border_pixbuf { set; }
165                 [NoAccessorMethod]
166                 public double border_width { get; set; }
167                 [NoAccessorMethod]
168                 public double height { get; set; }
169                 [NoAccessorMethod]
170                 public string horz_grid_line_color { set; }
171                 [NoAccessorMethod]
172                 public uint horz_grid_line_color_rgba { get; set; }
173                 [NoAccessorMethod]
174                 public Goo.CairoPattern horz_grid_line_pattern { owned get; set; }
175                 [NoAccessorMethod]
176                 public Gdk.Pixbuf horz_grid_line_pixbuf { set; }
177                 [NoAccessorMethod]
178                 public double horz_grid_line_width { get; set; }
179                 [NoAccessorMethod]
180                 public bool show_horz_grid_lines { get; set; }
181                 [NoAccessorMethod]
182                 public bool show_vert_grid_lines { get; set; }
183                 [NoAccessorMethod]
184                 public string vert_grid_line_color { set; }
185                 [NoAccessorMethod]
186                 public uint vert_grid_line_color_rgba { get; set; }
187                 [NoAccessorMethod]
188                 public Goo.CairoPattern vert_grid_line_pattern { owned get; set; }
189                 [NoAccessorMethod]
190                 public Gdk.Pixbuf vert_grid_line_pixbuf { set; }
191                 [NoAccessorMethod]
192                 public double vert_grid_line_width { get; set; }
193                 [NoAccessorMethod]
194                 public bool vert_grid_lines_on_top { get; set; }
195                 [NoAccessorMethod]
196                 public double width { get; set; }
197                 [NoAccessorMethod]
198                 public double x { get; set; }
199                 [NoAccessorMethod]
200                 public double x_offset { get; set; }
201                 [NoAccessorMethod]
202                 public double x_step { get; set; }
203                 [NoAccessorMethod]
204                 public double y { get; set; }
205                 [NoAccessorMethod]
206                 public double y_offset { get; set; }
207                 [NoAccessorMethod]
208                 public double y_step { get; set; }
209         }
210         [CCode (cheader_filename = "goocanvas.h")]
211         public class CanvasGridModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
212                 [CCode (has_construct_function = false)]
213                 protected CanvasGridModel ();
214                 [CCode (cname = "goo_canvas_grid_model_new", type = "GooCanvasItemModel*")]
215                 public static unowned Goo.CanvasGridModel create (Goo.CanvasItemModel? parent, double x, double y, double width, double height, double x_step, double y_step, double x_offset, double y_offset, ...);
216                 [NoAccessorMethod]
217                 public string border_color { set; }
218                 [NoAccessorMethod]
219                 public uint border_color_rgba { get; set; }
220                 [NoAccessorMethod]
221                 public Goo.CairoPattern border_pattern { owned get; set; }
222                 [NoAccessorMethod]
223                 public Gdk.Pixbuf border_pixbuf { set; }
224                 [NoAccessorMethod]
225                 public double border_width { get; set; }
226                 [NoAccessorMethod]
227                 public double height { get; set; }
228                 [NoAccessorMethod]
229                 public string horz_grid_line_color { set; }
230                 [NoAccessorMethod]
231                 public uint horz_grid_line_color_rgba { get; set; }
232                 [NoAccessorMethod]
233                 public Goo.CairoPattern horz_grid_line_pattern { owned get; set; }
234                 [NoAccessorMethod]
235                 public Gdk.Pixbuf horz_grid_line_pixbuf { set; }
236                 [NoAccessorMethod]
237                 public double horz_grid_line_width { get; set; }
238                 [NoAccessorMethod]
239                 public bool show_horz_grid_lines { get; set; }
240                 [NoAccessorMethod]
241                 public bool show_vert_grid_lines { get; set; }
242                 [NoAccessorMethod]
243                 public string vert_grid_line_color { set; }
244                 [NoAccessorMethod]
245                 public uint vert_grid_line_color_rgba { get; set; }
246                 [NoAccessorMethod]
247                 public Goo.CairoPattern vert_grid_line_pattern { owned get; set; }
248                 [NoAccessorMethod]
249                 public Gdk.Pixbuf vert_grid_line_pixbuf { set; }
250                 [NoAccessorMethod]
251                 public double vert_grid_line_width { get; set; }
252                 [NoAccessorMethod]
253                 public bool vert_grid_lines_on_top { get; set; }
254                 [NoAccessorMethod]
255                 public double width { get; set; }
256                 [NoAccessorMethod]
257                 public double x { get; set; }
258                 [NoAccessorMethod]
259                 public double x_offset { get; set; }
260                 [NoAccessorMethod]
261                 public double x_step { get; set; }
262                 [NoAccessorMethod]
263                 public double y { get; set; }
264                 [NoAccessorMethod]
265                 public double y_offset { get; set; }
266                 [NoAccessorMethod]
267                 public double y_step { get; set; }
268         }
269         [CCode (cheader_filename = "goocanvas.h")]
270         public class CanvasGroup : Goo.CanvasItemSimple, Goo.CanvasItem {
271                 [CCode (has_construct_function = false)]
272                 protected CanvasGroup ();
273                 [CCode (cname = "goo_canvas_group_new", type = "GooCanvasItem*")]
274                 public static unowned Goo.CanvasGroup create (Goo.CanvasItem? parent, ...);
275                 [NoAccessorMethod]
276                 public double height { get; set; }
277                 [NoAccessorMethod]
278                 public double width { get; set; }
279                 [NoAccessorMethod]
280                 public double x { get; set; }
281                 [NoAccessorMethod]
282                 public double y { get; set; }
283         }
284         [CCode (cheader_filename = "goocanvas.h")]
285         public class CanvasGroupModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
286                 [CCode (has_construct_function = false)]
287                 protected CanvasGroupModel ();
288                 [CCode (cname = "goo_canvas_group_model_new", type = "GooCanvasItemModel*")]
289                 public static unowned Goo.CanvasGroupModel create (Goo.CanvasItemModel? parent, ...);
290                 [NoAccessorMethod]
291                 public double height { get; set; }
292                 [NoAccessorMethod]
293                 public double width { get; set; }
294                 [NoAccessorMethod]
295                 public double x { get; set; }
296                 [NoAccessorMethod]
297                 public double y { get; set; }
298         }
299         [CCode (cheader_filename = "goocanvas.h")]
300         public class CanvasImage : Goo.CanvasItemSimple, Goo.CanvasItem {
301                 [CCode (has_construct_function = false)]
302                 protected CanvasImage ();
303                 [CCode (cname = "goo_canvas_image_new", type = "GooCanvasItem*")]
304                 public static unowned Goo.CanvasImage create (Goo.CanvasItem? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
305                 [NoAccessorMethod]
306                 public double height { get; set; }
307                 [NoAccessorMethod]
308                 public Goo.CairoPattern pattern { owned get; set; }
309                 [NoAccessorMethod]
310                 public Gdk.Pixbuf pixbuf { set; }
311                 [NoAccessorMethod]
312                 public bool scale_to_fit { get; set; }
313                 [NoAccessorMethod]
314                 public double width { get; set; }
315                 [NoAccessorMethod]
316                 public double x { get; set; }
317                 [NoAccessorMethod]
318                 public double y { get; set; }
319         }
320         [CCode (cheader_filename = "goocanvas.h")]
321         public class CanvasImageModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
322                 [CCode (has_construct_function = false)]
323                 protected CanvasImageModel ();
324                 [CCode (cname = "goo_canvas_image_model_new", type = "GooCanvasItemModel*")]
325                 public static unowned Goo.CanvasImageModel create (Goo.CanvasItemModel? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
326                 [NoAccessorMethod]
327                 public double height { get; set; }
328                 [NoAccessorMethod]
329                 public Goo.CairoPattern pattern { owned get; set; }
330                 [NoAccessorMethod]
331                 public Gdk.Pixbuf pixbuf { set; }
332                 [NoAccessorMethod]
333                 public bool scale_to_fit { get; set; }
334                 [NoAccessorMethod]
335                 public double width { get; set; }
336                 [NoAccessorMethod]
337                 public double x { get; set; }
338                 [NoAccessorMethod]
339                 public double y { get; set; }
340         }
341         [CCode (cheader_filename = "goocanvas.h")]
342         public class CanvasItemModelSimple : GLib.Object, Goo.CanvasItemModel {
343                 public weak Goo.CanvasItemModel parent;
344                 public Goo.CanvasItemSimpleData simple_data;
345                 [CCode (has_construct_function = false)]
346                 protected CanvasItemModelSimple ();
347                 [NoAccessorMethod]
348                 public Goo.CairoAntialias antialias { get; set; }
349                 [NoAccessorMethod]
350                 public Goo.CairoFillRule clip_fill_rule { get; set; }
351                 [NoAccessorMethod]
352                 public string clip_path { set; }
353                 [NoAccessorMethod]
354                 public string fill_color { set; }
355                 [NoAccessorMethod]
356                 public uint fill_color_rgba { get; set; }
357                 [NoAccessorMethod]
358                 public Goo.CairoPattern fill_pattern { owned get; set; }
359                 [NoAccessorMethod]
360                 public Gdk.Pixbuf fill_pixbuf { set; }
361                 [NoAccessorMethod]
362                 public Goo.CairoFillRule fill_rule { get; set; }
363                 [NoAccessorMethod]
364                 public string font { owned get; set; }
365                 [NoAccessorMethod]
366                 public Pango.FontDescription font_desc { owned get; set; }
367                 [NoAccessorMethod]
368                 public Goo.CairoHintMetrics hint_metrics { get; set; }
369                 [NoAccessorMethod]
370                 public Goo.CairoLineCap line_cap { get; set; }
371                 [NoAccessorMethod]
372                 public Goo.CanvasLineDash line_dash { owned get; set; }
373                 [NoAccessorMethod]
374                 public Goo.CairoLineJoin line_join { get; set; }
375                 [NoAccessorMethod]
376                 public double line_join_miter_limit { get; set; }
377                 [NoAccessorMethod]
378                 public double line_width { get; set; }
379                 [NoAccessorMethod]
380                 public Goo.CairoOperator operator { get; set; }
381                 [NoAccessorMethod]
382                 public string stroke_color { set; }
383                 [NoAccessorMethod]
384                 public uint stroke_color_rgba { get; set; }
385                 [NoAccessorMethod]
386                 public Goo.CairoPattern stroke_pattern { owned get; set; }
387                 [NoAccessorMethod]
388                 public Gdk.Pixbuf stroke_pixbuf { set; }
389         }
390         [CCode (cheader_filename = "goocanvas.h")]
391         public class CanvasItemSimple : GLib.Object, Goo.CanvasItem {
392                 public Goo.CanvasBounds bounds;
393                 public weak Goo.Canvas canvas;
394                 public weak Goo.CanvasItemModelSimple model;
395                 public uint need_entire_subtree_update;
396                 public uint need_update;
397                 public weak Goo.CanvasItem parent;
398                 public Goo.CanvasItemSimpleData simple_data;
399                 [CCode (has_construct_function = false)]
400                 protected CanvasItemSimple ();
401                 public void changed (bool recompute_bounds);
402                 public bool check_in_path (double x, double y, Cairo.Context cr, Goo.CanvasPointerEvents pointer_events);
403                 public void check_style ();
404                 public double get_line_width ();
405                 public void get_path_bounds (Cairo.Context cr, out Goo.CanvasBounds bounds);
406                 public void paint_path (Cairo.Context cr);
407                 [NoWrapper]
408                 public virtual void simple_create_path (Cairo.Context cr);
409                 [NoWrapper]
410                 public virtual bool simple_is_item_at (double x, double y, Cairo.Context cr, bool is_pointer_event);
411                 [NoWrapper]
412                 public virtual void simple_paint (Cairo.Context cr, Goo.CanvasBounds bounds);
413                 [NoWrapper]
414                 public virtual void simple_update (Cairo.Context cr);
415                 public void user_bounds_to_device (Cairo.Context cr, Goo.CanvasBounds bounds);
416                 public void user_bounds_to_parent (Cairo.Context cr, Goo.CanvasBounds bounds);
417                 [NoAccessorMethod]
418                 public Goo.CairoAntialias antialias { get; set; }
419                 [NoAccessorMethod]
420                 public Goo.CairoFillRule clip_fill_rule { get; set; }
421                 [NoAccessorMethod]
422                 public string clip_path { set; }
423                 [NoAccessorMethod]
424                 public string fill_color { set; }
425                 [NoAccessorMethod]
426                 public uint fill_color_rgba { get; set; }
427                 [NoAccessorMethod]
428                 public Goo.CairoPattern fill_pattern { owned get; set; }
429                 [NoAccessorMethod]
430                 public Gdk.Pixbuf fill_pixbuf { set; }
431                 [NoAccessorMethod]
432                 public Goo.CairoFillRule fill_rule { get; set; }
433                 [NoAccessorMethod]
434                 public string font { owned get; set; }
435                 [NoAccessorMethod]
436                 public Pango.FontDescription font_desc { owned get; set; }
437                 [NoAccessorMethod]
438                 public Goo.CairoHintMetrics hint_metrics { get; set; }
439                 [NoAccessorMethod]
440                 public Goo.CairoLineCap line_cap { get; set; }
441                 [NoAccessorMethod]
442                 public Goo.CanvasLineDash line_dash { owned get; set; }
443                 [NoAccessorMethod]
444                 public Goo.CairoLineJoin line_join { get; set; }
445                 [NoAccessorMethod]
446                 public double line_join_miter_limit { get; set; }
447                 [NoAccessorMethod]
448                 public double line_width { get; set; }
449                 [NoAccessorMethod]
450                 public Goo.CairoOperator operator { get; set; }
451                 [NoAccessorMethod]
452                 public string stroke_color { set; }
453                 [NoAccessorMethod]
454                 public uint stroke_color_rgba { get; set; }
455                 [NoAccessorMethod]
456                 public Goo.CairoPattern stroke_pattern { owned get; set; }
457                 [NoAccessorMethod]
458                 public Gdk.Pixbuf stroke_pixbuf { set; }
459         }
460         [CCode (cheader_filename = "goocanvas.h", ref_function = "goo_canvas_line_dash_ref", type_id = "GOO_TYPE_CANVAS_LINE_DASH", unref_function = "goo_canvas_line_dash_unref")]
461         [Compact]
462         public class CanvasLineDash {
463                 public double dash_offset;
464                 public double* dashes;
465                 public int num_dashes;
466                 public int ref_count;
467                 [CCode (has_construct_function = false)]
468                 public CanvasLineDash (int num_dashes);
469                 [CCode (has_construct_function = false)]
470                 public CanvasLineDash.newv (int num_dashes, double* dashes);
471         }
472         [CCode (cheader_filename = "goocanvas.h")]
473         public class CanvasPath : Goo.CanvasItemSimple, Goo.CanvasItem {
474                 [CCode (has_construct_function = false)]
475                 protected CanvasPath ();
476                 [CCode (cname = "goo_canvas_path_new", type = "GooCanvasItem*")]
477                 public static unowned Goo.CanvasPath create (Goo.CanvasItem? parent, string path_data, ...);
478                 [NoAccessorMethod]
479                 public string data { set; }
480                 [NoAccessorMethod]
481                 public double height { get; set; }
482                 [NoAccessorMethod]
483                 public double width { get; set; }
484                 [NoAccessorMethod]
485                 public double x { get; set; }
486                 [NoAccessorMethod]
487                 public double y { get; set; }
488         }
489         [CCode (cheader_filename = "goocanvas.h")]
490         public class CanvasPathModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
491                 [CCode (has_construct_function = false)]
492                 protected CanvasPathModel ();
493                 [CCode (cname = "goo_canvas_path_model_new", type = "GooCanvasItemModel*")]
494                 public static unowned Goo.CanvasPathModel create (Goo.CanvasItemModel? parent, string path_data, ...);
495                 [NoAccessorMethod]
496                 public string data { set; }
497                 [NoAccessorMethod]
498                 public double height { get; set; }
499                 [NoAccessorMethod]
500                 public double width { get; set; }
501                 [NoAccessorMethod]
502                 public double x { get; set; }
503                 [NoAccessorMethod]
504                 public double y { get; set; }
505         }
506         [CCode (cheader_filename = "goocanvas.h", ref_function = "goo_canvas_points_ref", type_id = "GOO_TYPE_CANVAS_POINTS", unref_function = "goo_canvas_points_unref")]
507         [Compact]
508         public class CanvasPoints {
509                 public double* coords;
510                 public int num_points;
511                 public int ref_count;
512                 [CCode (has_construct_function = false)]
513                 public CanvasPoints (int num_points);
514         }
515         [CCode (cheader_filename = "goocanvas.h")]
516         public class CanvasPolyline : Goo.CanvasItemSimple, Goo.CanvasItem {
517                 [CCode (has_construct_function = false)]
518                 protected CanvasPolyline ();
519                 [CCode (cname = "goo_canvas_polyline_new", type = "GooCanvasItem*")]
520                 public static unowned Goo.CanvasPolyline create (Goo.CanvasItem? parent, bool close_path, int num_points, ...);
521                 [CCode (cname = "goo_canvas_polyline_new_line", type = "GooCanvasItem*")]
522                 public static unowned Goo.CanvasPolyline create_line (Goo.CanvasItem? parent, double x1, double y1, double x2, double y2, ...);
523                 [NoAccessorMethod]
524                 public double arrow_length { get; set; }
525                 [NoAccessorMethod]
526                 public double arrow_tip_length { get; set; }
527                 [NoAccessorMethod]
528                 public double arrow_width { get; set; }
529                 [NoAccessorMethod]
530                 public bool close_path { get; set; }
531                 [NoAccessorMethod]
532                 public bool end_arrow { get; set; }
533                 [NoAccessorMethod]
534                 public double height { get; set; }
535                 [NoAccessorMethod]
536                 public Goo.CanvasPoints points { owned get; set; }
537                 [NoAccessorMethod]
538                 public bool start_arrow { get; set; }
539                 [NoAccessorMethod]
540                 public double width { get; set; }
541                 [NoAccessorMethod]
542                 public double x { get; set; }
543                 [NoAccessorMethod]
544                 public double y { get; set; }
545         }
546         [CCode (cheader_filename = "goocanvas.h")]
547         [Compact]
548         public class CanvasPolylineArrowData {
549                 public double arrow_length;
550                 public double arrow_tip_length;
551                 public double arrow_width;
552                 [CCode (array_length = false)]
553                 public weak double[] end_arrow_coords;
554                 [CCode (array_length = false)]
555                 public weak double[] line_end;
556                 [CCode (array_length = false)]
557                 public weak double[] line_start;
558                 [CCode (array_length = false)]
559                 public weak double[] start_arrow_coords;
560         }
561         [CCode (cheader_filename = "goocanvas.h")]
562         public class CanvasPolylineModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
563                 [CCode (has_construct_function = false)]
564                 protected CanvasPolylineModel ();
565                 [CCode (cname = "goo_canvas_polyline_model_new", type = "GooCanvasItemModel*")]
566                 public static unowned Goo.CanvasPolylineModel create (Goo.CanvasItemModel? parent, bool close_path, int num_points, ...);
567                 [CCode (cname = "goo_canvas_polyline_model_new_line", type = "GooCanvasItemModel*")]
568                 public static unowned Goo.CanvasPolylineModel create_line (Goo.CanvasItemModel? parent, double x1, double y1, double x2, double y2, ...);
569                 [NoAccessorMethod]
570                 public double arrow_length { get; set; }
571                 [NoAccessorMethod]
572                 public double arrow_tip_length { get; set; }
573                 [NoAccessorMethod]
574                 public double arrow_width { get; set; }
575                 [NoAccessorMethod]
576                 public bool close_path { get; set; }
577                 [NoAccessorMethod]
578                 public bool end_arrow { get; set; }
579                 [NoAccessorMethod]
580                 public double height { get; set; }
581                 [NoAccessorMethod]
582                 public Goo.CanvasPoints points { owned get; set; }
583                 [NoAccessorMethod]
584                 public bool start_arrow { get; set; }
585                 [NoAccessorMethod]
586                 public double width { get; set; }
587                 [NoAccessorMethod]
588                 public double x { get; set; }
589                 [NoAccessorMethod]
590                 public double y { get; set; }
591         }
592         [CCode (cheader_filename = "goocanvas.h")]
593         public class CanvasRect : Goo.CanvasItemSimple, Goo.CanvasItem {
594                 [CCode (has_construct_function = false)]
595                 protected CanvasRect ();
596                 [CCode (cname = "goo_canvas_rect_new", type = "GooCanvasItem*")]
597                 public static unowned Goo.CanvasRect create (Goo.CanvasItem? parent, double x, double y, double width, double height, ...);
598                 [NoAccessorMethod]
599                 public double height { get; set; }
600                 [NoAccessorMethod]
601                 public double radius_x { get; set; }
602                 [NoAccessorMethod]
603                 public double radius_y { get; set; }
604                 [NoAccessorMethod]
605                 public double width { get; set; }
606                 [NoAccessorMethod]
607                 public double x { get; set; }
608                 [NoAccessorMethod]
609                 public double y { get; set; }
610         }
611         [CCode (cheader_filename = "goocanvas.h")]
612         public class CanvasRectModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
613                 [CCode (has_construct_function = false)]
614                 protected CanvasRectModel ();
615                 [CCode (cname = "goo_canvas_rect_model_new", type = "GooCanvasItemModel*")]
616                 public static unowned Goo.CanvasRectModel create (Goo.CanvasItemModel? parent, double x, double y, double width, double height, ...);
617                 [NoAccessorMethod]
618                 public double height { get; set; }
619                 [NoAccessorMethod]
620                 public double radius_x { get; set; }
621                 [NoAccessorMethod]
622                 public double radius_y { get; set; }
623                 [NoAccessorMethod]
624                 public double width { get; set; }
625                 [NoAccessorMethod]
626                 public double x { get; set; }
627                 [NoAccessorMethod]
628                 public double y { get; set; }
629         }
630         [CCode (cheader_filename = "goocanvas.h")]
631         public class CanvasStyle : GLib.Object {
632                 public weak Goo.CanvasStyle? parent;
633                 public weak GLib.Array<Goo.CanvasStyleProperty> properties;
634                 [CCode (has_construct_function = false)]
635                 public CanvasStyle ();
636                 public Goo.CanvasStyle copy ();
637                 public unowned Goo.CanvasStyle? get_parent ();
638                 public unowned GLib.Value? get_property (GLib.Quark property_id);
639                 public bool set_fill_options (Cairo.Context cr);
640                 public void set_parent (Goo.CanvasStyle? parent);
641                 public void set_property (GLib.Quark property_id, GLib.Value value);
642                 public bool set_stroke_options (Cairo.Context cr);
643         }
644         [CCode (cheader_filename = "goocanvas.h")]
645         public class CanvasTable : Goo.CanvasGroup, Goo.CanvasItem {
646                 [CCode (has_construct_function = false)]
647                 protected CanvasTable ();
648                 [CCode (cname = "goo_canvas_table_new", type = "GooCanvasItem*")]
649                 public static unowned Goo.CanvasTable create (Goo.CanvasItem? parent, ...);
650                 [NoAccessorMethod]
651                 public double column_spacing { get; set; }
652                 [NoAccessorMethod]
653                 public bool homogeneous_columns { get; set; }
654                 [NoAccessorMethod]
655                 public bool homogeneous_rows { get; set; }
656                 [NoAccessorMethod]
657                 public double horz_grid_line_width { get; set; }
658                 [NoAccessorMethod]
659                 public double row_spacing { get; set; }
660                 [NoAccessorMethod]
661                 public double vert_grid_line_width { get; set; }
662                 [NoAccessorMethod]
663                 public double x_border_spacing { get; set; }
664                 [NoAccessorMethod]
665                 public double y_border_spacing { get; set; }
666         }
667         [CCode (cheader_filename = "goocanvas.h")]
668         public class CanvasTableModel : Goo.CanvasGroupModel, Goo.CanvasItemModel {
669                 [CCode (has_construct_function = false)]
670                 protected CanvasTableModel ();
671                 [CCode (cname = "goo_canvas_table_model_new", type = "GooCanvasItemModel*")]
672                 public static unowned Goo.CanvasTableModel create (Goo.CanvasItemModel? parent, ...);
673                 [NoAccessorMethod]
674                 public double column_spacing { get; set; }
675                 [NoAccessorMethod]
676                 public bool homogeneous_columns { get; set; }
677                 [NoAccessorMethod]
678                 public bool homogeneous_rows { get; set; }
679                 [NoAccessorMethod]
680                 public double horz_grid_line_width { get; set; }
681                 [NoAccessorMethod]
682                 public double row_spacing { get; set; }
683                 [NoAccessorMethod]
684                 public double vert_grid_line_width { get; set; }
685                 [NoAccessorMethod]
686                 public double x_border_spacing { get; set; }
687                 [NoAccessorMethod]
688                 public double y_border_spacing { get; set; }
689         }
690         [CCode (cheader_filename = "goocanvas.h")]
691         public class CanvasText : Goo.CanvasItemSimple, Goo.CanvasItem {
692                 [CCode (has_construct_function = false)]
693                 protected CanvasText ();
694                 [CCode (cname = "goo_canvas_text_new", type = "GooCanvasItem*")]
695                 public static unowned Goo.CanvasText create (Goo.CanvasItem? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
696                 public void get_natural_extents (out unowned Pango.Rectangle? ink_rect, out unowned Pango.Rectangle? logical_rect);
697                 [NoAccessorMethod]
698                 public Pango.Alignment alignment { get; set; }
699                 [NoAccessorMethod]
700                 public Gtk.AnchorType anchor { get; set; }
701                 [NoAccessorMethod]
702                 public Pango.EllipsizeMode ellipsize { get; set; }
703                 [NoAccessorMethod]
704                 public double height { get; set; }
705                 [NoAccessorMethod]
706                 public string text { owned get; set; }
707                 [NoAccessorMethod]
708                 public bool use_markup { get; set; }
709                 [NoAccessorMethod]
710                 public double width { get; set; }
711                 [NoAccessorMethod]
712                 public Pango.WrapMode wrap { get; set; }
713                 [NoAccessorMethod]
714                 public double x { get; set; }
715                 [NoAccessorMethod]
716                 public double y { get; set; }
717         }
718         [CCode (cheader_filename = "goocanvas.h")]
719         public class CanvasTextModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
720                 [CCode (has_construct_function = false)]
721                 protected CanvasTextModel ();
722                 [CCode (cname = "goo_canvas_text_model_new", type = "GooCanvasItemModel*")]
723                 public static unowned Goo.CanvasTextModel create (Goo.CanvasItemModel? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
724                 [NoAccessorMethod]
725                 public Pango.Alignment alignment { get; set; }
726                 [NoAccessorMethod]
727                 public Gtk.AnchorType anchor { get; set; }
728                 [NoAccessorMethod]
729                 public Pango.EllipsizeMode ellipsize { get; set; }
730                 [NoAccessorMethod]
731                 public double height { get; set; }
732                 [NoAccessorMethod]
733                 public string text { owned get; set; }
734                 [NoAccessorMethod]
735                 public bool use_markup { get; set; }
736                 [NoAccessorMethod]
737                 public double width { get; set; }
738                 [NoAccessorMethod]
739                 public Pango.WrapMode wrap { get; set; }
740                 [NoAccessorMethod]
741                 public double x { get; set; }
742                 [NoAccessorMethod]
743                 public double y { get; set; }
744         }
745         [CCode (cheader_filename = "goocanvas.h")]
746         public class CanvasWidget : Goo.CanvasItemSimple, Goo.CanvasItem {
747                 [CCode (has_construct_function = false)]
748                 protected CanvasWidget ();
749                 [CCode (cname = "goo_canvas_widget_new", type = "GooCanvasItem*")]
750                 public static unowned Goo.CanvasWidget create (Goo.CanvasItem? parent, Gtk.Widget widget, double x, double y, double width, double height, ...);
751                 [NoAccessorMethod]
752                 public Gtk.AnchorType anchor { get; set; }
753                 [NoAccessorMethod]
754                 public double height { get; set; }
755                 [NoAccessorMethod]
756                 public Gtk.Widget widget { owned get; set; }
757                 [NoAccessorMethod]
758                 public double width { get; set; }
759                 [NoAccessorMethod]
760                 public double x { get; set; }
761                 [NoAccessorMethod]
762                 public double y { get; set; }
763         }
764         [CCode (cheader_filename = "goocanvas.h")]
765         public interface CanvasItem : GLib.Object {
766                 public abstract void add_child (Goo.CanvasItem child, int position);
767                 public abstract void allocate_area (Cairo.Context cr, Goo.CanvasBounds requested_area, Goo.CanvasBounds allocated_area, double x_offset, double y_offset);
768                 public void animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, Goo.CanvasAnimateType type);
769                 public static unowned GLib.ParamSpec? class_find_child_property (GLib.ObjectClass iclass, string property_name);
770                 public static void class_install_child_property (GLib.ObjectClass iclass, uint property_id, GLib.ParamSpec pspec);
771                 public static GLib.ParamSpec[] class_list_child_properties (GLib.ObjectClass iclass, out uint n_properties);
772                 public void ensure_updated ();
773                 public int find_child (Goo.CanvasItem child);
774                 public abstract void get_bounds (out Goo.CanvasBounds bounds);
775                 public abstract unowned Goo.Canvas get_canvas ();
776                 public abstract unowned Goo.CanvasItem? get_child (int child_num);
777                 public void get_child_properties (Goo.CanvasItem child, ...);
778                 public abstract void get_child_property (Goo.CanvasItem child, string property_name, out GLib.Value value);
779                 public abstract bool get_is_static ();
780                 public abstract unowned GLib.List<Goo.CanvasItem> get_items_at (double x, double y, Cairo.Context cr, bool is_pointer_event, bool parent_is_visible, GLib.List<Goo.CanvasItem> found_items);
781                 public abstract unowned Goo.CanvasItemModel? get_model ();
782                 public abstract int get_n_children ();
783                 public abstract unowned Goo.CanvasItem? get_parent ();
784                 public abstract bool get_requested_area (Cairo.Context cr, out Goo.CanvasBounds requested_area);
785                 public abstract double get_requested_height (Cairo.Context cr, double width);
786                 public bool get_simple_transform (out double x, out double y, out double scale, out double rotation);
787                 public abstract unowned Goo.CanvasStyle get_style ();
788                 public abstract bool get_transform (out Cairo.Matrix transform);
789                 public abstract bool get_transform_for_child (Goo.CanvasItem child, out Cairo.Matrix transform);
790                 public bool is_container ();
791                 public abstract bool is_visible ();
792                 public void lower (Goo.CanvasItem? below);
793                 public abstract void move_child (int old_position, int new_position);
794                 public abstract void paint (Cairo.Context cr, Goo.CanvasBounds bounds, double scale);
795                 public void raise (Goo.CanvasItem? above);
796                 public void remove ();
797                 public abstract void remove_child (int child_num);
798                 public abstract void request_update ();
799                 public void rotate (double degrees, double cx, double cy);
800                 public void scale (double sx, double sy);
801                 public abstract void set_canvas (Goo.Canvas canvas);
802                 public void set_child_properties (Goo.CanvasItem child, ...);
803                 public abstract void set_child_property (Goo.CanvasItem child, string property_name, GLib.Value value);
804                 public abstract void set_is_static (bool is_static);
805                 public abstract void set_model (Goo.CanvasItemModel model);
806                 public abstract void set_parent (Goo.CanvasItem parent);
807                 public void set_simple_transform (double x, double y, double scale, double rotation);
808                 public abstract void set_style (Goo.CanvasStyle style);
809                 public abstract void set_transform (Cairo.Matrix? transform);
810                 public void skew_x (double degrees, double cx, double cy);
811                 public void skew_y (double degrees, double cx, double cy);
812                 public void stop_animation ();
813                 public void translate (double tx, double ty);
814                 public abstract void update (bool entire_tree, Cairo.Context cr, Goo.CanvasBounds bounds);
815                 [NoAccessorMethod]
816                 public bool can_focus { get; set; }
817                 [NoAccessorMethod]
818                 public string description { owned get; set; }
819                 public Goo.CanvasItem parent { get; set; }
820                 [NoAccessorMethod]
821                 public Goo.CanvasPointerEvents pointer_events { get; set; }
822                 [NoAccessorMethod]
823                 public string title { owned get; set; }
824                 [NoAccessorMethod]
825                 public string tooltip { owned get; set; }
826                 public Goo.CairoMatrix transform { get; set; }
827                 [NoAccessorMethod]
828                 public Goo.CanvasItemVisibility visibility { get; set; }
829                 [NoAccessorMethod]
830                 public double visibility_threshold { get; set; }
831                 public signal void animation_finished (bool stopped);
832                 public signal bool button_press_event (Goo.CanvasItem target, Gdk.EventButton event);
833                 public signal bool button_release_event (Goo.CanvasItem target, Gdk.EventButton event);
834                 public signal void child_notify (GLib.ParamSpec pspec);
835                 public signal bool enter_notify_event (Goo.CanvasItem target, Gdk.EventCrossing event);
836                 public signal bool focus_in_event (Goo.CanvasItem target, Gdk.EventFocus event);
837                 public signal bool focus_out_event (Goo.CanvasItem target, Gdk.EventFocus event);
838                 public signal bool grab_broken_event (Goo.CanvasItem target, Gdk.EventGrabBroken event);
839                 public signal bool key_press_event (Goo.CanvasItem target, Gdk.EventKey event);
840                 public signal bool key_release_event (Goo.CanvasItem target, Gdk.EventKey event);
841                 public signal bool leave_notify_event (Goo.CanvasItem target, Gdk.EventCrossing event);
842                 public signal bool motion_notify_event (Goo.CanvasItem target, Gdk.EventMotion event);
843                 public signal bool query_tooltip (double x, double y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
844                 public signal bool scroll_event (Goo.CanvasItem target, Gdk.Event event);
845         }
846         [CCode (cheader_filename = "goocanvas.h")]
847         public interface CanvasItemModel : GLib.Object {
848                 public abstract void add_child (Goo.CanvasItemModel child, int position);
849                 public void animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, Goo.CanvasAnimateType type);
850                 public static unowned GLib.ParamSpec? class_find_child_property (GLib.ObjectClass mclass, string property_name);
851                 public static void class_install_child_property (GLib.ObjectClass mclass, uint property_id, GLib.ParamSpec pspec);
852                 public static GLib.ParamSpec[] class_list_child_properties (GLib.ObjectClass iclass, out uint n_properties);
853                 [NoWrapper]
854                 public abstract unowned Goo.CanvasItem create_item (Goo.Canvas canvas);
855                 public int find_child (Goo.CanvasItemModel child);
856                 public abstract unowned Goo.CanvasItemModel? get_child (int child_num);
857                 public void get_child_properties (Goo.CanvasItem child, ...);
858                 public abstract void get_child_property (Goo.CanvasItemModel child, string property_name, out GLib.Value value);
859                 public abstract int get_n_children ();
860                 public abstract unowned Goo.CanvasItemModel? get_parent ();
861                 public bool get_simple_transform (out double x, out double y, out double scale, out double rotation);
862                 public abstract unowned Goo.CanvasStyle get_style ();
863                 public abstract bool get_transform (out Cairo.Matrix transform);
864                 public bool is_container ();
865                 public void lower (Goo.CanvasItemModel? below);
866                 public abstract void move_child (int old_position, int new_position);
867                 public void raise (Goo.CanvasItemModel? above);
868                 public void remove ();
869                 public abstract void remove_child (int child_num);
870                 public void rotate (double degrees, double cx, double cy);
871                 public void scale (double sx, double sy);
872                 public void set_child_properties (Goo.CanvasItem child, ...);
873                 public abstract void set_child_property (Goo.CanvasItemModel child, string property_name, GLib.Value value);
874                 public abstract void set_parent (Goo.CanvasItemModel parent);
875                 public void set_simple_transform (double x, double y, double scale, double rotation);
876                 public abstract void set_style (Goo.CanvasStyle style);
877                 public abstract void set_transform (Cairo.Matrix? transform);
878                 public void skew_x (double degrees, double cx, double cy);
879                 public void skew_y (double degrees, double cx, double cy);
880                 public void stop_animation ();
881                 public void translate (double tx, double ty);
882                 [NoAccessorMethod]
883                 public bool can_focus { get; set; }
884                 [NoAccessorMethod]
885                 public string description { owned get; set; }
886                 public Goo.CanvasItemModel parent { get; set; }
887                 [NoAccessorMethod]
888                 public Goo.CanvasPointerEvents pointer_events { get; set; }
889                 [NoAccessorMethod]
890                 public string title { owned get; set; }
891                 [NoAccessorMethod]
892                 public string tooltip { owned get; set; }
893                 public Goo.CairoMatrix transform { get; set; }
894                 [NoAccessorMethod]
895                 public Goo.CanvasItemVisibility visibility { get; set; }
896                 [NoAccessorMethod]
897                 public double visibility_threshold { get; set; }
898                 public signal void animation_finished (bool stopped);
899                 public signal void changed (bool recompute_bounds);
900                 public signal void child_added (int child_num);
901                 public signal void child_moved (int old_child_num, int new_child_num);
902                 public signal void child_notify (GLib.ParamSpec pspec);
903                 public signal void child_removed (int child_num);
904         }
905         [CCode (cheader_filename = "goocanvas.h")]
906         public struct CanvasBounds {
907                 public double x1;
908                 public double y1;
909                 public double x2;
910                 public double y2;
911         }
912         [CCode (cheader_filename = "goocanvas.h")]
913         public struct CanvasItemSimpleData {
914                 public Cairo.Matrix? transform;
915                 public weak GLib.Array<Goo.CanvasPathCommand> clip_path_commands;
916                 public weak Goo.CanvasStyle style;
917                 public weak string tooltip;
918                 public double visibility_threshold;
919                 public uint visibility;
920                 public uint pointer_events;
921                 public uint can_focus;
922                 public uint own_style;
923                 public uint clip_fill_rule;
924                 public uint is_static;
925                 public uint cache_setting;
926                 public uint has_tooltip;
927         }
928         [CCode (cheader_filename = "goocanvas.h", type_id = "GOO_TYPE_CANVAS_PATH_COMMAND")]
929         public struct CanvasPathCommand {
930                 public Goo.CanvasPathCommandSimple simple;
931                 public Goo.CanvasPathCommandCurve curve;
932                 public Goo.CanvasPathCommandArc arc;
933         }
934         [CCode (cheader_filename = "goocanvas.h")]
935         public struct CanvasPathCommandArc {
936                 public uint type;
937                 public uint relative;
938                 public uint large_arc_flag;
939                 public uint sweep_flag;
940                 public double rx;
941                 public double ry;
942                 public double x_axis_rotation;
943                 public double x;
944                 public double y;
945         }
946         [CCode (cheader_filename = "goocanvas.h")]
947         public struct CanvasPathCommandCurve {
948                 public uint type;
949                 public uint relative;
950                 public double x;
951                 public double y;
952                 public double x1;
953                 public double y1;
954                 public double x2;
955                 public double y2;
956         }
957         [CCode (cheader_filename = "goocanvas.h")]
958         public struct CanvasPathCommandSimple {
959                 public uint type;
960                 public uint relative;
961                 public double x;
962                 public double y;
963         }
964         [CCode (cheader_filename = "goocanvas.h")]
965         public struct CanvasStyleProperty {
966                 public GLib.Quark id;
967                 public GLib.Value value;
968         }
969         [CCode (cheader_filename = "goocanvas.h", cprefix = "CAIRO_ANTIALIAS_")]
970         public enum CairoAntialias {
971                 DEFAULT,
972                 NONE,
973                 GRAY,
974                 SUBPIXEL
975         }
976         [CCode (cheader_filename = "goocanvas.h", cprefix = "CAIRO_FILL_RULE_")]
977         public enum CairoFillRule {
978                 WINDING,
979                 EVEN_ODD
980         }
981         [CCode (cheader_filename = "goocanvas.h", cprefix = "CAIRO_HINT_METRICS_")]
982         public enum CairoHintMetrics {
983                 DEFAULT,
984                 OFF,
985                 ON
986         }
987         [CCode (cheader_filename = "goocanvas.h", cprefix = "CAIRO_LINE_CAP_")]
988         public enum CairoLineCap {
989                 BUTT,
990                 ROUND,
991                 SQUARE
992         }
993         [CCode (cheader_filename = "goocanvas.h", cprefix = "CAIRO_LINE_JOIN_")]
994         public enum CairoLineJoin {
995                 MITER,
996                 ROUND,
997                 BEVEL
998         }
999         [CCode (cheader_filename = "goocanvas.h", cprefix = "CAIRO_OPERATOR_")]
1000         public enum CairoOperator {
1001                 CLEAR,
1002                 SOURCE,
1003                 OVER,
1004                 IN,
1005                 OUT,
1006                 ATOP,
1007                 DEST,
1008                 DEST_OVER,
1009                 DEST_IN,
1010                 DEST_OUT,
1011                 DEST_ATOP,
1012                 XOR,
1013                 ADD,
1014                 SATURATE
1015         }
1016         [CCode (cheader_filename = "goocanvas.h", cprefix = "GOO_CANVAS_ANIMATE_")]
1017         public enum CanvasAnimateType {
1018                 FREEZE,
1019                 RESET,
1020                 RESTART,
1021                 BOUNCE
1022         }
1023         [CCode (cheader_filename = "goocanvas.h", cprefix = "GOO_CANVAS_ITEM_")]
1024         public enum CanvasItemVisibility {
1025                 HIDDEN,
1026                 INVISIBLE,
1027                 VISIBLE,
1028                 VISIBLE_ABOVE_THRESHOLD
1029         }
1030         [CCode (cheader_filename = "goocanvas.h", cprefix = "GOO_CANVAS_PATH_")]
1031         public enum CanvasPathCommandType {
1032                 MOVE_TO,
1033                 CLOSE_PATH,
1034                 LINE_TO,
1035                 HORIZONTAL_LINE_TO,
1036                 VERTICAL_LINE_TO,
1037                 CURVE_TO,
1038                 SMOOTH_CURVE_TO,
1039                 QUADRATIC_CURVE_TO,
1040                 SMOOTH_QUADRATIC_CURVE_TO,
1041                 ELLIPTICAL_ARC
1042         }
1043         [CCode (cheader_filename = "goocanvas.h", cprefix = "GOO_CANVAS_EVENTS_")]
1044         [Flags]
1045         public enum CanvasPointerEvents {
1046                 VISIBLE_MASK,
1047                 PAINTED_MASK,
1048                 FILL_MASK,
1049                 STROKE_MASK,
1050                 NONE,
1051                 VISIBLE_PAINTED,
1052                 VISIBLE_FILL,
1053                 VISIBLE_STROKE,
1054                 VISIBLE,
1055                 PAINTED,
1056                 FILL,
1057                 STROKE,
1058                 ALL
1059         }
1060         [CCode (cheader_filename = "goocanvas.h")]
1061         public const int NUM_ARROW_POINTS;