23 return static_cast<SPPaintServer *
>(URIReference::getObject());
28 return is<SPPaintServer>(obj) && URIReference::_acceptObject(obj);
Axis-aligned rectangle that can be empty.
Drawing tree node used for rendering paints.
SPObject is an abstract base class of all of the document nodes at the SVG document level.
bool _acceptObject(SPObject *obj) const override
SPPaintServer * getObject() const
virtual bool isValid() const
virtual std::unique_ptr< Inkscape::DrawingPaintServer > create_drawing_paintserver()
virtual Inkscape::DrawingPattern * show(Inkscape::Drawing &drawing, unsigned key, Geom::OptRect const &bbox)
~SPPaintServer() override
virtual void setBBox(unsigned key, Geom::OptRect const &bbox)
virtual void hide(unsigned key)
Representation of paint servers used when rendering.
static cairo_user_data_key_t key