38 int tag()
const override {
return tag_of<
decltype(*this)>; }
59 void modified(
unsigned flags)
override;
85 return static_cast<SPMask*
>(URIReference::getObject());
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.
SVG drawing item for display.
A class encapsulating a reference to a particular URI; observers can be notified when the URI comes t...
URIReference(SPObject *owner)
Constructor.
Interface for refcounted XML nodes.
Typed SVG document implementation.
bool _acceptObject(SPObject *obj) const override
If the owner element of this reference (the element with <... mask="...">) is a child of the mask it ...
sigc::connection modified_connection
SPMaskReference(SPObject *obj)
SPMask * getObject() const
Geom::OptRect visualBounds(Geom::Affine const &transform) const
void child_added(Inkscape::XML::Node *child, Inkscape::XML::Node *ref) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void update(SPCtx *ctx, unsigned flags) override
Geom::OptRect get_last_bbox() const
bool mask_content_units() const
bool maskContentUnits_set
std::vector< View > views
void setBBox(unsigned key, Geom::OptRect const &bbox)
void modified(unsigned flags) override
Inkscape::DrawingItem * show(Inkscape::Drawing &drawing, unsigned key, Geom::OptRect const &bbox)
Geom::OptRect geometricBounds(Geom::Affine const &transform) const
void update_view(View &v)
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned flags) override
SPObject is an abstract base class of all of the document nodes at the SVG document level.
Inkscape::XML::Node * repr
Helper class to stream background task notifications as a series of messages.
static cairo_user_data_key_t key
View helper class used by hatch, clippath, mask and pattern.
Interface for XML documents.