2#ifndef SEEN_SP_SCRIPT_H
3#define SEEN_SP_SCRIPT_H
25 int tag()
const override {
return tag_of<
decltype(*this)>; }
33 void update(
SPCtx* ctx,
unsigned int flags)
override;
34 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.
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
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags) override
void release() override
Reads the Inkscape::XML::Node, and initializes SPScript variables.
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void update(SPCtx *ctx, unsigned int flags) override
void modified(unsigned int flags) override
static cairo_user_data_key_t key
Interface for XML documents.