2#ifndef SEEN_SP_PAINT_SERVER_H
3#define SEEN_SP_PAINT_SERVER_H
22#include <sigc++/slot.h>
28class DrawingPaintServer;
37 int tag()
const override {
return tag_of<
decltype(*this)>; }
59 virtual void hide(
unsigned key);
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
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.
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)
Helper class to stream background task notifications as a series of messages.
static cairo_user_data_key_t key