24 int tag()
const override {
return tag_of<
decltype(*this)>; }
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
Interface for refcounted XML nodes.
Typed SVG document implementation.
SPObject is an abstract base class of all of the document nodes at the SVG document level.
Inkscape::XML::Node * repr
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
Reads the Inkscape::XML::Node, and initializes SPTag variables.
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) override
Writes its settings to an incoming repr object, if any.
void update(SPCtx *ctx, unsigned flags) override
Receives update notifications.
void setExpanded(bool isexpanded)
~SPTag() override=default
void moveTo(SPObject *target, gboolean intoafter)
static cairo_user_data_key_t key
Interface for XML documents.