18 assert(text_object == this->
getOwner());
29 if (!is<SPText>(obj)) {
30 g_warning(
"shape reference on non-text object: %s",
typeid(*obj).name());
61 if ((flags & SP_OBJECT_MODIFIED_FLAG)) {
62 text_object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_TEXT_LAYOUT_MODIFIED_FLAG);
void detach()
Detaches from the currently attached URI target, if any; the current referrent is signaled as NULL.
SPObject * getOwner() const
Returns a pointer to the URIReference's owner.
sigc::signal< void(SPObject *, SPObject *)> changedSignal()
Accessor for the referrent change notification signal; this signal is emitted whenever the URIReferen...
SPObject is an abstract base class of all of the document nodes at the SVG document level.
sigc::connection connectRelease(sigc::slot< void(SPObject *)> slot)
Connects to the release request signal.
sigc::connection connectModified(sigc::slot< void(SPObject *, unsigned int)> slot)
Connects to the modification notification signal.
sigc::connection _owner_release_connection
void on_shape_modified(SPObject *, unsigned flags)
Slot to connect to the shape's modified signal.
sigc::connection _shape_modified_connection
SPShape * getObject() const
SPShapeReference(SPObject *obj)
~SPShapeReference() override