diff --git a/src/sp-use.h b/src/sp-use.h
index 9668de21cb8a5bca0a3d0325c3176d40eb4e5918..c5c07158f99f5a19086b4aab369262da13518e5c 100644 (file)
--- a/src/sp-use.h
+++ b/src/sp-use.h
class SPUseReference;
struct SPUse : public SPItem {
- // item built from the original's repr (the visible clone)
- // relative to the SPUse itself, it is treated as a child, similar to a grouped item relative to its group
- SPObject *child;
+ // item built from the original's repr (the visible clone)
+ // relative to the SPUse itself, it is treated as a child, similar to a grouped item relative to its group
+ SPObject *child;
- // SVG attrs
- SVGLength x;
- SVGLength y;
- SVGLength width;
- SVGLength height;
- gchar *href;
+ // SVG attrs
+ SVGLength x;
+ SVGLength y;
+ SVGLength width;
+ SVGLength height;
+ gchar *href;
- // the reference to the original object
- SPUseReference *ref;
+ // the reference to the original object
+ SPUseReference *ref;
- // a sigc connection for delete notifications
- sigc::connection _delete_connection;
- sigc::connection _changed_connection;
+ // a sigc connection for delete notifications
+ sigc::connection _delete_connection;
+ sigc::connection _changed_connection;
- // a sigc connection for transformed signal, used to do move compensation
- sigc::connection _transformed_connection;
+ // a sigc connection for transformed signal, used to do move compensation
+ sigc::connection _transformed_connection;
};
struct SPUseClass {
- SPItemClass parent_class;
+ SPItemClass parent_class;
};
GType sp_use_get_type (void);
SPItem *sp_use_unlink (SPUse *use);
SPItem *sp_use_get_original (SPUse *use);
-NR::Matrix sp_use_get_parent_transform (SPUse *use);
+Geom::Matrix sp_use_get_parent_transform (SPUse *use);
+Geom::Matrix sp_use_get_root_transform(SPUse *use);
+SPItem *sp_use_root(SPUse *use);
#endif