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