Commit 57fa049a authored by Rico Tzschichholz's avatar Rico Tzschichholz

vapi: Add goocanvas-2.0 bindings

Fixes #739
parent bb6e7208
......@@ -78,6 +78,8 @@ dist_vapi_DATA = \
gobject-introspection-1.0.vapi \
goocanvas.deps \
goocanvas.vapi \
goocanvas-2.0.deps \
goocanvas-2.0.vapi \
graphene-1.0.deps \
graphene-1.0.vapi \
gsl.vapi \
......@@ -351,6 +353,7 @@ GIR_BINDINGS = \
gio-2.0 \
gnome-desktop-3.0 \
gobject-introspection-1.0 \
goocanvas-2.0 \
graphene-1.0 \
gtk+-3.0 \
gtk+-4.0 \
......@@ -487,6 +490,9 @@ gobject-introspection-1.0:
goocanvas:
$(GENVAPI) --library $(srcdir)/goocanvas $(PACKAGESDIR)/goocanvas/goocanvas-custom.vala $(PACKAGESDIR)/goocanvas/goocanvas.gi
goocanvas-2.0:
$(GENVAPI) --library $(srcdir)/goocanvas-2.0 --pkg cairo --pkg gtk+-3.0 --metadatadir $(METADATADIR) $(GIRDIR)/GooCanvas-2.0.gir
graphene-1.0:
$(GENVAPI) --library $(srcdir)/graphene-1.0 --pkg gobject-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/Graphene-1.0.gir
......
atk
cairo
pango
gdk-3.0
gio-2.0
gtk+-3.0
gdk-pixbuf-2.0
/* goocanvas-2.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Goo", gir_namespace = "GooCanvas", gir_version = "2.0", lower_case_cprefix = "goo_")]
namespace Goo {
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_get_type ()")]
public class Canvas : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Canvas ();
public void convert_bounds_to_item_space (Goo.CanvasItem item, ref Goo.CanvasBounds bounds);
public void convert_from_item_space (Goo.CanvasItem item, ref double x, ref double y);
public void convert_from_pixels (ref double x, ref double y);
public void convert_to_item_space (Goo.CanvasItem item, ref double x, ref double y);
public void convert_to_pixels (ref double x, ref double y);
[Version (since = "2.0.1")]
public void convert_units_from_pixels (ref double x, ref double y);
[Version (since = "2.0.1")]
public void convert_units_to_pixels (ref double x, ref double y);
public Cairo.Context create_cairo_context ();
public virtual Goo.CanvasItem create_item (Goo.CanvasItemModel model);
public static void create_path (GLib.Array<Goo.CanvasPathCommand?> commands, Cairo.Context cr);
public void get_bounds (out double left, out double top, out double right, out double bottom);
public double get_default_line_width ();
public unowned Goo.CanvasItem get_item (Goo.CanvasItemModel model);
public unowned Goo.CanvasItem get_item_at (double x, double y, bool is_pointer_event);
public GLib.List<weak Goo.CanvasItem> get_items_at (double x, double y, bool is_pointer_event);
public GLib.List<weak Goo.CanvasItem> get_items_in_area (Goo.CanvasBounds area, bool inside_area, bool allow_overlaps, bool include_containers);
public unowned Goo.CanvasItem get_root_item ();
public unowned Goo.CanvasItemModel get_root_item_model ();
public double get_scale ();
public unowned Goo.CanvasItem get_static_root_item ();
public unowned Goo.CanvasItemModel get_static_root_item_model ();
public void grab_focus (Goo.CanvasItem item);
public Gdk.GrabStatus keyboard_grab (Goo.CanvasItem item, bool owner_events, uint32 time);
public void keyboard_ungrab (Goo.CanvasItem item, uint32 time);
public static GLib.Array<Goo.CanvasPathCommand?> parse_path_data (string path_data);
public Gdk.GrabStatus pointer_grab (Goo.CanvasItem item, Gdk.EventMask event_mask, Gdk.Cursor cursor, uint32 time);
public void pointer_ungrab (Goo.CanvasItem item, uint32 time);
public void register_widget_item (Goo.CanvasWidget witem);
public void render (Cairo.Context cr, Goo.CanvasBounds? bounds, double scale);
public void request_item_redraw (Goo.CanvasBounds bounds, bool is_static);
public void request_redraw (Goo.CanvasBounds bounds);
public void request_update ();
public void scroll_to (double left, double top);
public void set_bounds (double left, double top, double right, double bottom);
public void set_root_item (Goo.CanvasItem item);
public void set_root_item_model (Goo.CanvasItemModel model);
public void set_scale (double scale);
public void set_static_root_item (Goo.CanvasItem item);
public void set_static_root_item_model (Goo.CanvasItemModel model);
public void unregister_item (Goo.CanvasItemModel model);
public void unregister_widget_item (Goo.CanvasWidget witem);
public void update ();
[NoAccessorMethod]
public Goo.CanvasAnchorType anchor { get; set; }
[NoAccessorMethod]
public bool automatic_bounds { get; set; }
[NoAccessorMethod]
public string background_color { set; }
[NoAccessorMethod]
[Version (since = "2.0.1")]
public Gdk.RGBA background_color_gdk_rgba { set; }
[NoAccessorMethod]
public uint background_color_rgb { set; }
[NoAccessorMethod]
public bool bounds_from_origin { get; set; }
[NoAccessorMethod]
public double bounds_padding { get; set; }
[NoAccessorMethod]
public bool clear_background { get; set; }
[NoAccessorMethod]
public bool integer_layout { get; set; }
[NoAccessorMethod]
public bool redraw_when_scrolled { get; set; }
[NoAccessorMethod]
public double resolution_x { get; set; }
[NoAccessorMethod]
public double resolution_y { get; set; }
public double scale { get; set; }
[NoAccessorMethod]
public double scale_x { get; set; }
[NoAccessorMethod]
public double scale_y { get; set; }
[NoAccessorMethod]
public Gtk.Unit units { get; set; }
[NoAccessorMethod]
public double x1 { get; set; }
[NoAccessorMethod]
public double x2 { get; set; }
[NoAccessorMethod]
public double y1 { get; set; }
[NoAccessorMethod]
public double y2 { get; set; }
public virtual signal void item_created (Goo.CanvasItem item, Goo.CanvasItemModel model);
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_accessible_factory_get_type ()")]
public class CanvasAccessibleFactory : Atk.ObjectFactory {
[CCode (has_construct_function = false)]
protected CanvasAccessibleFactory ();
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_ellipse_get_type ()")]
public class CanvasEllipse : Goo.CanvasItemSimple, Goo.CanvasItem {
public Goo.CanvasEllipseData ellipse_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasEllipse (Goo.CanvasItem? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
[NoAccessorMethod]
public double center_x { get; set; }
[NoAccessorMethod]
public double center_y { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double radius_x { get; set; }
[NoAccessorMethod]
public double radius_y { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_ellipse_model_get_type ()")]
public class CanvasEllipseModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasEllipseData ellipse_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasEllipseModel (Goo.CanvasItemModel? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
[NoAccessorMethod]
public double center_x { get; set; }
[NoAccessorMethod]
public double center_y { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double radius_x { get; set; }
[NoAccessorMethod]
public double radius_y { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_grid_get_type ()")]
public class CanvasGrid : Goo.CanvasItemSimple, Goo.CanvasItem {
public Goo.CanvasGridData grid_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasGrid (Goo.CanvasItem? parent, double x, double y, double width, double height, double x_step, double y_step, double x_offset, double y_offset, ...);
[NoAccessorMethod]
public string border_color { set; }
[NoAccessorMethod]
[Version (since = "2.0.1")]
public Gdk.RGBA border_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint border_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? border_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf border_pixbuf { set; }
[NoAccessorMethod]
public double border_width { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public string horz_grid_line_color { set; }
[NoAccessorMethod]
[Version (since = "2.0.1")]
public Gdk.RGBA horz_grid_line_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint horz_grid_line_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? horz_grid_line_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf horz_grid_line_pixbuf { set; }
[NoAccessorMethod]
public double horz_grid_line_width { get; set; }
[NoAccessorMethod]
public bool show_horz_grid_lines { get; set; }
[NoAccessorMethod]
public bool show_vert_grid_lines { get; set; }
[NoAccessorMethod]
public string vert_grid_line_color { set; }
[NoAccessorMethod]
[Version (since = "2.0.1")]
public Gdk.RGBA vert_grid_line_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint vert_grid_line_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? vert_grid_line_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf vert_grid_line_pixbuf { set; }
[NoAccessorMethod]
public double vert_grid_line_width { get; set; }
[NoAccessorMethod]
public bool vert_grid_lines_on_top { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double x_offset { get; set; }
[NoAccessorMethod]
public double x_step { get; set; }
[NoAccessorMethod]
public double y { get; set; }
[NoAccessorMethod]
public double y_offset { get; set; }
[NoAccessorMethod]
public double y_step { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_grid_model_get_type ()")]
public class CanvasGridModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasGridData grid_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasGridModel (Goo.CanvasItemModel? parent, double x, double y, double width, double height, double x_step, double y_step, double x_offset, double y_offset, ...);
[NoAccessorMethod]
public string border_color { set; }
[NoAccessorMethod]
public Gdk.RGBA border_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint border_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? border_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf border_pixbuf { set; }
[NoAccessorMethod]
public double border_width { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public string horz_grid_line_color { set; }
[NoAccessorMethod]
public Gdk.RGBA horz_grid_line_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint horz_grid_line_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? horz_grid_line_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf horz_grid_line_pixbuf { set; }
[NoAccessorMethod]
public double horz_grid_line_width { get; set; }
[NoAccessorMethod]
public bool show_horz_grid_lines { get; set; }
[NoAccessorMethod]
public bool show_vert_grid_lines { get; set; }
[NoAccessorMethod]
public string vert_grid_line_color { set; }
[NoAccessorMethod]
public Gdk.RGBA vert_grid_line_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint vert_grid_line_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? vert_grid_line_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf vert_grid_line_pixbuf { set; }
[NoAccessorMethod]
public double vert_grid_line_width { get; set; }
[NoAccessorMethod]
public bool vert_grid_lines_on_top { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double x_offset { get; set; }
[NoAccessorMethod]
public double x_step { get; set; }
[NoAccessorMethod]
public double y { get; set; }
[NoAccessorMethod]
public double y_offset { get; set; }
[NoAccessorMethod]
public double y_step { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_group_get_type ()")]
public class CanvasGroup : Goo.CanvasItemSimple, Goo.CanvasItem {
public weak GLib.GenericArray<void*> items;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasGroup (Goo.CanvasItem? parent, ...);
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_group_model_get_type ()")]
public class CanvasGroupModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public weak GLib.GenericArray<void*> children;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasGroupModel (Goo.CanvasItemModel? parent, ...);
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_image_get_type ()")]
public class CanvasImage : Goo.CanvasItemSimple, Goo.CanvasItem {
public Goo.CanvasImageData image_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasImage (Goo.CanvasItem? parent, Gdk.Pixbuf? pixbuf, double x, double y, ...);
[NoAccessorMethod]
public double alpha { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf pixbuf { set; }
[NoAccessorMethod]
public bool scale_to_fit { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_image_model_get_type ()")]
public class CanvasImageModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasImageData image_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasImageModel (Goo.CanvasItemModel? parent, Gdk.Pixbuf? pixbuf, double x, double y, ...);
[NoAccessorMethod]
public double alpha { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf pixbuf { set; }
[NoAccessorMethod]
public bool scale_to_fit { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_item_accessible_factory_get_type ()")]
public class CanvasItemAccessibleFactory : Atk.ObjectFactory {
[CCode (has_construct_function = false)]
protected CanvasItemAccessibleFactory ();
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_item_model_simple_get_type ()")]
public class CanvasItemModelSimple : GLib.Object, Goo.CanvasItemModel {
public weak string description;
public weak Goo.CanvasItemModel parent;
public Goo.CanvasItemSimpleData simple_data;
public weak string title;
[CCode (has_construct_function = false)]
protected CanvasItemModelSimple ();
[NoAccessorMethod]
public Goo.CairoAntialias antialias { get; set; }
[NoAccessorMethod]
public Goo.CairoFillRule clip_fill_rule { get; set; }
[NoAccessorMethod]
public string clip_path { set; }
[NoAccessorMethod]
public string fill_color { set; }
[NoAccessorMethod]
public Gdk.RGBA fill_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint fill_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? fill_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf fill_pixbuf { set; }
[NoAccessorMethod]
public Goo.CairoFillRule fill_rule { get; set; }
[NoAccessorMethod]
public string font { owned get; set; }
[NoAccessorMethod]
public Pango.FontDescription font_desc { owned get; set; }
[NoAccessorMethod]
public Goo.CairoHintMetrics hint_metrics { get; set; }
[NoAccessorMethod]
public Goo.CairoLineCap line_cap { get; set; }
[NoAccessorMethod]
public Goo.CanvasLineDash line_dash { owned get; set; }
[NoAccessorMethod]
public Goo.CairoLineJoin line_join { get; set; }
[NoAccessorMethod]
public double line_join_miter_limit { get; set; }
[NoAccessorMethod]
public double line_width { get; set; }
[NoAccessorMethod]
public Goo.CairoOperator operator { get; set; }
[NoAccessorMethod]
public string stroke_color { set; }
[NoAccessorMethod]
public Gdk.RGBA stroke_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint stroke_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? stroke_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf stroke_pixbuf { set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_item_simple_get_type ()")]
public class CanvasItemSimple : GLib.Object, Goo.CanvasItem {
public Goo.CanvasBounds bounds;
public weak Goo.Canvas canvas;
public weak Goo.CanvasItemModelSimple model;
public uint need_entire_subtree_update;
public uint need_update;
public weak Goo.CanvasItem parent;
public Goo.CanvasItemSimpleData simple_data;
[CCode (has_construct_function = false)]
protected CanvasItemSimple ();
public void changed (bool recompute_bounds);
public bool check_in_path (double x, double y, Cairo.Context cr, Goo.CanvasPointerEvents pointer_events);
public void check_style ();
public double get_line_width ();
public void get_path_bounds (Cairo.Context cr, out Goo.CanvasBounds bounds);
public void paint_path (Cairo.Context cr);
[NoWrapper]
public virtual void simple_create_path (Cairo.Context cr);
[NoWrapper]
public virtual bool simple_is_item_at (double x, double y, Cairo.Context cr, bool is_pointer_event);
[NoWrapper]
public virtual void simple_paint (Cairo.Context cr, Goo.CanvasBounds bounds);
[NoWrapper]
public virtual void simple_update (Cairo.Context cr);
public void user_bounds_to_device (Cairo.Context cr, Goo.CanvasBounds bounds);
public void user_bounds_to_parent (Cairo.Context cr, Goo.CanvasBounds bounds);
[NoAccessorMethod]
public Goo.CairoAntialias antialias { get; set; }
[NoAccessorMethod]
public Goo.CairoFillRule clip_fill_rule { get; set; }
[NoAccessorMethod]
public string clip_path { set; }
[NoAccessorMethod]
public string fill_color { set; }
[NoAccessorMethod]
[Version (since = "2.0.1")]
public Gdk.RGBA fill_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint fill_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? fill_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf fill_pixbuf { set; }
[NoAccessorMethod]
public Goo.CairoFillRule fill_rule { get; set; }
[NoAccessorMethod]
public string font { owned get; set; }
[NoAccessorMethod]
public Pango.FontDescription font_desc { owned get; set; }
[NoAccessorMethod]
public Goo.CairoHintMetrics hint_metrics { get; set; }
[NoAccessorMethod]
public Goo.CairoLineCap line_cap { get; set; }
[NoAccessorMethod]
public Goo.CanvasLineDash line_dash { owned get; set; }
[NoAccessorMethod]
public Goo.CairoLineJoin line_join { get; set; }
[NoAccessorMethod]
public double line_join_miter_limit { get; set; }
[NoAccessorMethod]
public double line_width { get; set; }
[NoAccessorMethod]
public Goo.CairoOperator operator { get; set; }
[NoAccessorMethod]
public string stroke_color { set; }
[NoAccessorMethod]
[Version (since = "2.0.1")]
public Gdk.RGBA stroke_color_gdk_rgba { get; set; }
[NoAccessorMethod]
public uint stroke_color_rgba { get; set; }
[NoAccessorMethod]
public Cairo.Pattern? stroke_pattern { owned get; set; }
[NoAccessorMethod]
public Gdk.Pixbuf stroke_pixbuf { set; }
}
[CCode (cheader_filename = "goocanvas.h", ref_function = "goo_canvas_line_dash_ref", type_id = "goo_canvas_line_dash_get_type ()", unref_function = "goo_canvas_line_dash_unref")]
[Compact]
public class CanvasLineDash {
public double dash_offset;
[CCode (array_length_cname = "num_dashes")]
public double[] dashes;
public int num_dashes;
public int ref_count;
[CCode (has_construct_function = false)]
public CanvasLineDash (int num_dashes, ...);
[CCode (cname = "goo_canvas_line_dash_newv", has_construct_function = false)]
public CanvasLineDash.newv ([CCode (array_length_cname = "num_dashes", array_length_pos = 0.5)] owned double[] dashes);
public Goo.CanvasLineDash @ref ();
[Version (since = "2.0.2")]
public void set_offset (double dash_offset);
public void unref ();
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_path_get_type ()")]
public class CanvasPath : Goo.CanvasItemSimple, Goo.CanvasItem {
public Goo.CanvasPathData path_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasPath (Goo.CanvasItem? parent, string path_data, ...);
[NoAccessorMethod]
public string data { set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_path_model_get_type ()")]
public class CanvasPathModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasPathData path_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasPathModel (Goo.CanvasItemModel? parent, string path_data, ...);
[NoAccessorMethod]
public string data { set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", ref_function = "goo_canvas_points_ref", type_id = "goo_canvas_points_get_type ()", unref_function = "goo_canvas_points_unref")]
[Compact]
public class CanvasPoints {
[CCode (array_length_cname = "num_points")]
public double[] coords;
public int num_points;
public int ref_count;
[CCode (has_construct_function = false)]
public CanvasPoints (int num_points);
[Version (since = "2.0.1")]
public void get_point (int idx, out double x, out double y);
public Goo.CanvasPoints @ref ();
[Version (since = "2.0.1")]
public void set_point (int idx, double x, double y);
public void unref ();
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_polyline_get_type ()")]
public class CanvasPolyline : Goo.CanvasItemSimple, Goo.CanvasItem {
public Goo.CanvasPolylineData polyline_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasPolyline (Goo.CanvasItem? parent, bool close_path, int num_points, ...);
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasPolyline.line (Goo.CanvasItem? parent, double x1, double y1, double x2, double y2, ...);
[NoAccessorMethod]
public double arrow_length { get; set; }
[NoAccessorMethod]
public double arrow_tip_length { get; set; }
[NoAccessorMethod]
public double arrow_width { get; set; }
[NoAccessorMethod]
public bool close_path { get; set; }
[NoAccessorMethod]
public bool end_arrow { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public Goo.CanvasPoints points { owned get; set; }
[NoAccessorMethod]
public bool start_arrow { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_polyline_model_get_type ()")]
public class CanvasPolylineModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasPolylineData polyline_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasPolylineModel (Goo.CanvasItemModel? parent, bool close_path, int num_points, ...);
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasPolylineModel.line (Goo.CanvasItemModel? parent, double x1, double y1, double x2, double y2, ...);
[NoAccessorMethod]
public double arrow_length { get; set; }
[NoAccessorMethod]
public double arrow_tip_length { get; set; }
[NoAccessorMethod]
public double arrow_width { get; set; }
[NoAccessorMethod]
public bool close_path { get; set; }
[NoAccessorMethod]
public bool end_arrow { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public Goo.CanvasPoints points { owned get; set; }
[NoAccessorMethod]
public bool start_arrow { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_rect_get_type ()")]
public class CanvasRect : Goo.CanvasItemSimple, Goo.CanvasItem {
public Goo.CanvasRectData rect_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasRect (Goo.CanvasItem? parent, double x, double y, double width, double height, ...);
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double radius_x { get; set; }
[NoAccessorMethod]
public double radius_y { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_rect_model_get_type ()")]
public class CanvasRectModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasRectData rect_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasRectModel (Goo.CanvasItemModel? parent, double x, double y, double width, double height, ...);
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public double radius_x { get; set; }
[NoAccessorMethod]
public double radius_y { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_style_get_type ()")]
public class CanvasStyle : GLib.Object {
public weak Goo.CanvasStyle parent;
public weak GLib.Array<void*> properties;
[CCode (has_construct_function = false)]
public CanvasStyle ();
public Goo.CanvasStyle copy ();
public unowned Goo.CanvasStyle get_parent ();
public GLib.Value? get_property (GLib.Quark property_id);
public bool set_fill_options (Cairo.Context cr);
public void set_parent (Goo.CanvasStyle parent);
public void set_property (GLib.Quark property_id, GLib.Value value);
public bool set_stroke_options (Cairo.Context cr);
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_table_get_type ()")]
public class CanvasTable : Goo.CanvasGroup, Goo.CanvasItem {
public Goo.CanvasTableData table_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasTable (Goo.CanvasItem? parent, ...);
[NoAccessorMethod]
public double column_spacing { get; set; }
[NoAccessorMethod]
public bool homogeneous_columns { get; set; }
[NoAccessorMethod]
public bool homogeneous_rows { get; set; }
[NoAccessorMethod]
public double horz_grid_line_width { get; set; }
[NoAccessorMethod]
public double row_spacing { get; set; }
[NoAccessorMethod]
public double vert_grid_line_width { get; set; }
[NoAccessorMethod]
public double x_border_spacing { get; set; }
[NoAccessorMethod]
public double y_border_spacing { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", has_type_id = false)]
[Compact]
public class CanvasTableLayoutData {
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_table_model_get_type ()")]
public class CanvasTableModel : Goo.CanvasGroupModel, Goo.CanvasItemModel {
public Goo.CanvasTableData table_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasTableModel (Goo.CanvasItemModel? parent, ...);
[NoAccessorMethod]
public double column_spacing { get; set; }
[NoAccessorMethod]
public bool homogeneous_columns { get; set; }
[NoAccessorMethod]
public bool homogeneous_rows { get; set; }
[NoAccessorMethod]
public double horz_grid_line_width { get; set; }
[NoAccessorMethod]
public double row_spacing { get; set; }
[NoAccessorMethod]
public double vert_grid_line_width { get; set; }
[NoAccessorMethod]
public double x_border_spacing { get; set; }
[NoAccessorMethod]
public double y_border_spacing { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_text_get_type ()")]
public class CanvasText : Goo.CanvasItemSimple, Goo.CanvasItem {
public double layout_width;
public Goo.CanvasTextData text_data;
[CCode (has_construct_function = false, type = "GooCanvasItem*")]
public CanvasText (Goo.CanvasItem? parent, string string, double x, double y, double width, Goo.CanvasAnchorType anchor, ...);
public void get_natural_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
[NoAccessorMethod]
public Pango.Alignment alignment { get; set; }
[NoAccessorMethod]
public Goo.CanvasAnchorType anchor { get; set; }
[NoAccessorMethod]
public Pango.EllipsizeMode ellipsize { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public string text { owned get; set; }
[NoAccessorMethod]
public bool use_markup { get; set; }
[NoAccessorMethod]
public double width { get; set; }
[NoAccessorMethod]
public Pango.WrapMode wrap { get; set; }
[NoAccessorMethod]
public double x { get; set; }
[NoAccessorMethod]
public double y { get; set; }
}
[CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_text_model_get_type ()")]
public class CanvasTextModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
public Goo.CanvasTextData text_data;
[CCode (has_construct_function = false, type = "GooCanvasItemModel*")]
public CanvasTextModel (Goo.CanvasItemModel? parent, string string, double x, double y, double width, Goo.CanvasAnchorType anchor, ...);
[NoAccessorMethod]
public Pango.Alignment alignment { get; set; }
[NoAccessorMethod]
public Goo.CanvasAnchorType anchor { get; set; }
[NoAccessorMethod]
public Pango.EllipsizeMode ellipsize { get; set; }
[NoAccessorMethod]
public double height { get; set; }
[NoAccessorMethod]
public string text { owned get; set; }
[NoAccessorMethod]
public bool use_markup { get; set; }
[NoAccessorMethod]