23 int tag()
const override {
return tag_of<
decltype(*this)>; }
28 void update(
SPCtx* ctx,
unsigned int flags)
override;
29 void modified(
unsigned int flags)
override;
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
Interface for refcounted XML nodes.
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags) override
void modified(unsigned int flags) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void update(SPCtx *ctx, unsigned int flags) override
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
Interface for XML documents.