goocanvas 0.90.6-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +87 -0
- data/README +37 -0
- data/Rakefile +14 -0
- data/ext/goocanvas/depend +5 -0
- data/ext/goocanvas/extconf.rb +66 -0
- data/ext/goocanvas/goocanvas.def +2 -0
- data/ext/goocanvas/rbgoocairo.c +74 -0
- data/ext/goocanvas/rbgoocanvas.c +236 -0
- data/ext/goocanvas/rbgoocanvas.h +66 -0
- data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
- data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
- data/ext/goocanvas/rbgoocanvasimage.c +45 -0
- data/ext/goocanvas/rbgoocanvasitem.c +358 -0
- data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
- data/ext/goocanvas/rbgoocanvasrect.c +47 -0
- data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
- data/ext/goocanvas/rbgoocanvastable.c +41 -0
- data/ext/goocanvas/rbgoocanvastext.c +58 -0
- data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
- data/ext/goocanvas/rbgooutils.c +44 -0
- data/extconf.rb +49 -0
- data/lib/1.8/goocanvas.so +0 -0
- data/lib/1.9/goocanvas.so +0 -0
- data/lib/goocanvas.rb +145 -0
- data/sample/demo-arrowhead.rb +315 -0
- data/sample/demo-fifteen.rb +218 -0
- data/sample/demo-primitives.rb +720 -0
- data/sample/demo.rb +84 -0
- data/sample/flower.png +0 -0
- data/sample/scalability-demo.rb +130 -0
- data/sample/simple-demo.rb +35 -0
- data/sample/table-demo.rb +137 -0
- data/sample/toroid.png +0 -0
- data/sample/units-demo.rb +80 -0
- data/sample/widgets-demo.rb +197 -0
- data/vendor/local/bin/libgoocanvas-3.dll +0 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
- data/vendor/local/lib/libgoocanvas.a +0 -0
- data/vendor/local/lib/libgoocanvas.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
- metadata +218 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
/*
|
2
|
+
* GooCanvas. Copyright (C) 2005 Damon Chaplin.
|
3
|
+
* Released under the GNU LGPL license. See COPYING for details.
|
4
|
+
*
|
5
|
+
* goocanvasgroup.h - group item.
|
6
|
+
*/
|
7
|
+
#ifndef __GOO_CANVAS_GROUP_H__
|
8
|
+
#define __GOO_CANVAS_GROUP_H__
|
9
|
+
|
10
|
+
#include <gtk/gtk.h>
|
11
|
+
#include "goocanvasitemsimple.h"
|
12
|
+
#include "goocanvasutils.h"
|
13
|
+
|
14
|
+
G_BEGIN_DECLS
|
15
|
+
|
16
|
+
|
17
|
+
#define GOO_TYPE_CANVAS_GROUP (goo_canvas_group_get_type ())
|
18
|
+
#define GOO_CANVAS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOO_TYPE_CANVAS_GROUP, GooCanvasGroup))
|
19
|
+
#define GOO_CANVAS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOO_TYPE_CANVAS_GROUP, GooCanvasGroupClass))
|
20
|
+
#define GOO_IS_CANVAS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOO_TYPE_CANVAS_GROUP))
|
21
|
+
#define GOO_IS_CANVAS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOO_TYPE_CANVAS_GROUP))
|
22
|
+
#define GOO_CANVAS_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOO_TYPE_CANVAS_GROUP, GooCanvasGroupClass))
|
23
|
+
|
24
|
+
|
25
|
+
typedef struct _GooCanvasGroup GooCanvasGroup;
|
26
|
+
typedef struct _GooCanvasGroupClass GooCanvasGroupClass;
|
27
|
+
|
28
|
+
typedef struct _GooCanvasGroupModel GooCanvasGroupModel;
|
29
|
+
typedef struct _GooCanvasGroupModelClass GooCanvasGroupModelClass;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* GooCanvasGroup
|
33
|
+
*
|
34
|
+
* The #GooCanvasGroup-struct struct contains private data only.
|
35
|
+
*/
|
36
|
+
struct _GooCanvasGroup
|
37
|
+
{
|
38
|
+
GooCanvasItemSimple parent_object;
|
39
|
+
|
40
|
+
/* An array of pointers to GooCanvasItems. The first element is at the
|
41
|
+
bottom of the display stack and the last element is at the top. */
|
42
|
+
GPtrArray *items;
|
43
|
+
};
|
44
|
+
|
45
|
+
struct _GooCanvasGroupClass
|
46
|
+
{
|
47
|
+
GooCanvasItemSimpleClass parent_class;
|
48
|
+
|
49
|
+
/*< private >*/
|
50
|
+
|
51
|
+
/* Padding for future expansion */
|
52
|
+
void (*_goo_canvas_reserved1) (void);
|
53
|
+
void (*_goo_canvas_reserved2) (void);
|
54
|
+
void (*_goo_canvas_reserved3) (void);
|
55
|
+
void (*_goo_canvas_reserved4) (void);
|
56
|
+
};
|
57
|
+
|
58
|
+
|
59
|
+
GType goo_canvas_group_get_type (void) G_GNUC_CONST;
|
60
|
+
GooCanvasItem* goo_canvas_group_new (GooCanvasItem *parent,
|
61
|
+
...);
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
#define GOO_TYPE_CANVAS_GROUP_MODEL (goo_canvas_group_model_get_type ())
|
66
|
+
#define GOO_CANVAS_GROUP_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOO_TYPE_CANVAS_GROUP_MODEL, GooCanvasGroupModel))
|
67
|
+
#define GOO_CANVAS_GROUP_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOO_TYPE_CANVAS_GROUP_MODEL, GooCanvasGroupModelClass))
|
68
|
+
#define GOO_IS_CANVAS_GROUP_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOO_TYPE_CANVAS_GROUP_MODEL))
|
69
|
+
#define GOO_IS_CANVAS_GROUP_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOO_TYPE_CANVAS_GROUP_MODEL))
|
70
|
+
#define GOO_CANVAS_GROUP_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOO_TYPE_CANVAS_GROUP_MODEL, GooCanvasGroupModelClass))
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
/**
|
75
|
+
* GooCanvasGroupModel
|
76
|
+
*
|
77
|
+
* The #GooCanvasGroupModel-struct struct contains private data only.
|
78
|
+
*/
|
79
|
+
struct _GooCanvasGroupModel
|
80
|
+
{
|
81
|
+
GooCanvasItemModelSimple parent_object;
|
82
|
+
|
83
|
+
/* An array of pointers to GooCanvasItemModels. The first element is at the
|
84
|
+
bottom of the display stack and the last element is at the top. */
|
85
|
+
GPtrArray *children;
|
86
|
+
};
|
87
|
+
|
88
|
+
struct _GooCanvasGroupModelClass
|
89
|
+
{
|
90
|
+
GooCanvasItemModelSimpleClass parent_class;
|
91
|
+
|
92
|
+
/*< private >*/
|
93
|
+
|
94
|
+
/* Padding for future expansion */
|
95
|
+
void (*_goo_canvas_reserved1) (void);
|
96
|
+
void (*_goo_canvas_reserved2) (void);
|
97
|
+
void (*_goo_canvas_reserved3) (void);
|
98
|
+
void (*_goo_canvas_reserved4) (void);
|
99
|
+
};
|
100
|
+
|
101
|
+
|
102
|
+
GType goo_canvas_group_model_get_type (void) G_GNUC_CONST;
|
103
|
+
GooCanvasItemModel* goo_canvas_group_model_new (GooCanvasItemModel *parent,
|
104
|
+
...);
|
105
|
+
|
106
|
+
|
107
|
+
G_END_DECLS
|
108
|
+
|
109
|
+
#endif /* __GOO_CANVAS_GROUP_H__ */
|
@@ -0,0 +1,121 @@
|
|
1
|
+
/*
|
2
|
+
* GooCanvas. Copyright (C) 2005 Damon Chaplin.
|
3
|
+
* Released under the GNU LGPL license. See COPYING for details.
|
4
|
+
*
|
5
|
+
* goocanvasimage.h - image item.
|
6
|
+
*/
|
7
|
+
#ifndef __GOO_CANVAS_IMAGE_H__
|
8
|
+
#define __GOO_CANVAS_IMAGE_H__
|
9
|
+
|
10
|
+
#include <gtk/gtk.h>
|
11
|
+
#include "goocanvasitemsimple.h"
|
12
|
+
|
13
|
+
G_BEGIN_DECLS
|
14
|
+
|
15
|
+
|
16
|
+
/* This is the data used by both model and view classes. */
|
17
|
+
typedef struct _GooCanvasImageData GooCanvasImageData;
|
18
|
+
struct _GooCanvasImageData
|
19
|
+
{
|
20
|
+
cairo_pattern_t *pattern;
|
21
|
+
|
22
|
+
gdouble x, y, width, height;
|
23
|
+
};
|
24
|
+
|
25
|
+
|
26
|
+
#define GOO_TYPE_CANVAS_IMAGE (goo_canvas_image_get_type ())
|
27
|
+
#define GOO_CANVAS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOO_TYPE_CANVAS_IMAGE, GooCanvasImage))
|
28
|
+
#define GOO_CANVAS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOO_TYPE_CANVAS_IMAGE, GooCanvasImageClass))
|
29
|
+
#define GOO_IS_CANVAS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOO_TYPE_CANVAS_IMAGE))
|
30
|
+
#define GOO_IS_CANVAS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOO_TYPE_CANVAS_IMAGE))
|
31
|
+
#define GOO_CANVAS_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOO_TYPE_CANVAS_IMAGE, GooCanvasImageClass))
|
32
|
+
|
33
|
+
|
34
|
+
typedef struct _GooCanvasImage GooCanvasImage;
|
35
|
+
typedef struct _GooCanvasImageClass GooCanvasImageClass;
|
36
|
+
|
37
|
+
/**
|
38
|
+
* GooCanvasImage
|
39
|
+
*
|
40
|
+
* The #GooCanvasImage-struct struct contains private data only.
|
41
|
+
*/
|
42
|
+
struct _GooCanvasImage
|
43
|
+
{
|
44
|
+
GooCanvasItemSimple parent_object;
|
45
|
+
|
46
|
+
GooCanvasImageData *image_data;
|
47
|
+
};
|
48
|
+
|
49
|
+
struct _GooCanvasImageClass
|
50
|
+
{
|
51
|
+
GooCanvasItemSimpleClass parent_class;
|
52
|
+
|
53
|
+
/*< private >*/
|
54
|
+
|
55
|
+
/* Padding for future expansion */
|
56
|
+
void (*_goo_canvas_reserved1) (void);
|
57
|
+
void (*_goo_canvas_reserved2) (void);
|
58
|
+
void (*_goo_canvas_reserved3) (void);
|
59
|
+
void (*_goo_canvas_reserved4) (void);
|
60
|
+
};
|
61
|
+
|
62
|
+
|
63
|
+
GType goo_canvas_image_get_type (void) G_GNUC_CONST;
|
64
|
+
|
65
|
+
GooCanvasItem* goo_canvas_image_new (GooCanvasItem *parent,
|
66
|
+
GdkPixbuf *pixbuf,
|
67
|
+
gdouble x,
|
68
|
+
gdouble y,
|
69
|
+
...);
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
#define GOO_TYPE_CANVAS_IMAGE_MODEL (goo_canvas_image_model_get_type ())
|
74
|
+
#define GOO_CANVAS_IMAGE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOO_TYPE_CANVAS_IMAGE_MODEL, GooCanvasImageModel))
|
75
|
+
#define GOO_CANVAS_IMAGE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOO_TYPE_CANVAS_IMAGE_MODEL, GooCanvasImageModelClass))
|
76
|
+
#define GOO_IS_CANVAS_IMAGE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOO_TYPE_CANVAS_IMAGE_MODEL))
|
77
|
+
#define GOO_IS_CANVAS_IMAGE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOO_TYPE_CANVAS_IMAGE_MODEL))
|
78
|
+
#define GOO_CANVAS_IMAGE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOO_TYPE_CANVAS_IMAGE_MODEL, GooCanvasImageModelClass))
|
79
|
+
|
80
|
+
|
81
|
+
typedef struct _GooCanvasImageModel GooCanvasImageModel;
|
82
|
+
typedef struct _GooCanvasImageModelClass GooCanvasImageModelClass;
|
83
|
+
|
84
|
+
/**
|
85
|
+
* GooCanvasImageModel
|
86
|
+
*
|
87
|
+
* The #GooCanvasImageModel-struct struct contains private data only.
|
88
|
+
*/
|
89
|
+
struct _GooCanvasImageModel
|
90
|
+
{
|
91
|
+
GooCanvasItemModelSimple parent_object;
|
92
|
+
|
93
|
+
GooCanvasImageData image_data;
|
94
|
+
};
|
95
|
+
|
96
|
+
struct _GooCanvasImageModelClass
|
97
|
+
{
|
98
|
+
GooCanvasItemModelSimpleClass parent_class;
|
99
|
+
|
100
|
+
/*< private >*/
|
101
|
+
|
102
|
+
/* Padding for future expansion */
|
103
|
+
void (*_goo_canvas_reserved1) (void);
|
104
|
+
void (*_goo_canvas_reserved2) (void);
|
105
|
+
void (*_goo_canvas_reserved3) (void);
|
106
|
+
void (*_goo_canvas_reserved4) (void);
|
107
|
+
};
|
108
|
+
|
109
|
+
|
110
|
+
GType goo_canvas_image_model_get_type (void) G_GNUC_CONST;
|
111
|
+
|
112
|
+
GooCanvasItemModel* goo_canvas_image_model_new (GooCanvasItemModel *parent,
|
113
|
+
GdkPixbuf *pixbuf,
|
114
|
+
gdouble x,
|
115
|
+
gdouble y,
|
116
|
+
...);
|
117
|
+
|
118
|
+
|
119
|
+
G_END_DECLS
|
120
|
+
|
121
|
+
#endif /* __GOO_CANVAS_IMAGE_H__ */
|