1 #ifndef __SP_ITEM_FLOWREGION_H__
2 #define __SP_ITEM_FLOWREGION_H__
4 /*
5 */
7 #include "sp-item.h"
9 #define SP_TYPE_FLOWREGION (sp_flowregion_get_type ())
10 #define SP_FLOWREGION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_FLOWREGION, SPFlowregion))
11 #define SP_FLOWREGION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_FLOWREGION, SPFlowregionClass))
12 #define SP_IS_FLOWREGION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_FLOWREGION))
13 #define SP_IS_FLOWREGION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_FLOWREGION))
15 #define SP_TYPE_FLOWREGIONEXCLUDE (sp_flowregionexclude_get_type ())
16 #define SP_FLOWREGIONEXCLUDE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_FLOWREGIONEXCLUDE, SPFlowregionExclude))
17 #define SP_FLOWREGIONEXCLUDE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_FLOWREGIONEXCLUDE, SPFlowregionExcludeClass))
18 #define SP_IS_FLOWREGIONEXCLUDE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_FLOWREGIONEXCLUDE))
19 #define SP_IS_FLOWREGIONEXCLUDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_FLOWREGIONEXCLUDE))
21 class Path;
22 class Shape;
23 class flow_dest;
24 class FloatLigne;
26 struct SPFlowregion : public SPItem {
27 std::vector<Shape*> computed;
29 void UpdateComputed(void);
30 };
32 struct SPFlowregionClass {
33 SPItemClass parent_class;
34 };
36 GType sp_flowregion_get_type (void);
38 struct SPFlowregionExclude : public SPItem {
39 Shape *computed;
41 void UpdateComputed(void);
42 };
44 struct SPFlowregionExcludeClass {
45 SPItemClass parent_class;
46 };
48 GType sp_flowregionexclude_get_type (void);
50 #endif