2#ifndef SEEN_SP_ANCHOR_H
3#define SEEN_SP_ANCHOR_H
23 int tag()
const override {
return tag_of<
decltype(*this)>; }
37 const char*
typeName()
const override;
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
Interface for refcounted XML nodes.
const char * typeName() const override
The item's type name, not node tag name.
void build(SPDocument *document, Inkscape::XML::Node *repr) override
void getLinked(std::vector< SPObject * > &objects, LinkedObjectNature direction) const override
Get objects which are linked to this object as either a source or a target.
char * description() const override
const char * displayName() const override
The item's type name as a translated human string.
std::unique_ptr< Inkscape::URIReference > local_link
virtual void updatePageAnchor()
Inkscape::XML::Node * write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned flags) override
Typed SVG document implementation.
Inkscape::XML::Node * repr
static cairo_user_data_key_t key
Interface for XML documents.