29 int tag()
const override {
return tag_of<
decltype(*this)>; }
55 void update(
SPCtx* ctx,
unsigned int flags)
override;
56 void modified(
unsigned int flags)
override;
60 const char*
typeName()
const override;
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
3x3 matrix representing an affine transformation.
Axis-aligned rectangle that can be empty.
Interface for refcounted XML nodes.
Typed SVG document implementation.
Base class for visual SVG elements.
SPObject is an abstract base class of all of the document nodes at the SVG document level.
Inkscape::XML::Node * repr
const char * displayName() const override
The item's type name as a translated human string.
SPTRefReference uriOriginalRef
SPObject * getObjectReferredTo()
Return the object referred to via the URI reference.
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
TextTagAttributes attributes
sigc::connection _changed_connection
char * description() const override
Geom::OptRect bbox(Geom::Affine const &transform, SPItem::BBoxType type) const override
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags) override
void modified(unsigned int flags) override
const char * typeName() const override
The item's type name, not node tag name.
sigc::connection _delete_connection
void update(SPCtx *ctx, unsigned int flags) override
static cairo_user_data_key_t key
Some things pertinent to all visible shapes: SPItem, SPItemView, SPItemCtx.
bool sp_tref_fully_contained(SPObject *start_item, Glib::ustring::iterator &start, SPObject *end_item, Glib::ustring::iterator &end)
Returns true if a tref is fully contained in the confines of the given iterators and layout (or if th...
bool sp_tref_reference_allowed(SPTRef *tref, SPObject *possible_ref)
Returns true when the given tref is allowed to refer to a particular object.
void sp_tref_update_text(SPTRef *tref)
SPObject * sp_tref_convert_to_tspan(SPObject *item)
This function will create a new tspan element with the same attributes as the tref had and add the sa...
Interface for XML documents.
contains and manages the attributes common to all types of text tag