Inkscape
Vector Graphics Editor
|
#include <sp-mask.h>
Public Member Functions | |
SPMaskReference (SPObject *obj) | |
SPMask * | getObject () const |
![]() | |
URIReference (SPObject *owner) | |
Constructor. | |
URIReference (SPDocument *owner_document) | |
void | operator= (URIReference const &ref)=delete |
virtual | ~URIReference () |
Destructor. | |
void | attach (URI const &uri) |
Attaches to a URI, relative to the specified document. | |
bool | try_attach (char const *uri) |
Try to attach to a URI. | |
void | detach () |
Detaches from the currently attached URI target, if any; the current referrent is signaled as NULL. | |
SPObject * | getObject () const |
Returns a pointer to the current referrent of the attached URI, or 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 URIReference's referrent changes. | |
URI const * | getURI () const |
Returns a pointer to a URI containing the currently attached URI, or NULL if no URI is currently attached. | |
bool | isAttached () const |
Returns true if there is currently an attached URI. | |
SPDocument * | getOwnerDocument () |
SPObject * | getOwnerObject () |
Public Attributes | |
sigc::connection | modified_connection |
Protected Member Functions | |
bool | _acceptObject (SPObject *obj) const override |
If the owner element of this reference (the element with <... mask="...">) is a child of the mask it refers to, return false. | |
|
overrideprotectedvirtual |
If the owner element of this reference (the element with <... mask="...">) is a child of the mask it refers to, return false.
Reimplemented from Inkscape::URIReference.
Definition at line 265 of file sp-mask.cpp.
References Inkscape::URIReference::getOwner(), SPObject::getRepr(), and Inkscape::XML::Node::name().
|
inline |
Definition at line 83 of file sp-mask.h.
Referenced by SPItem::getMaskObject().
sigc::connection SPMaskReference::modified_connection |
Definition at line 88 of file sp-mask.h.
Referenced by SPItem::mask_ref_changed().