/*
6 * Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>
7 * Hugo Rodrigues <haa.rodrigues@gmail.com>
9 * Copyright (C) 2006 Hugo Rodrigues
11 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
14#ifndef SP_FEIMAGE_H_SEEN
15#define SP_FEIMAGE_H_SEEN
35 int tag()
const override {
return tag_of<
decltype(*this)>; }
51 std::unique_ptr<Inkscape::URIReference>
elemref;
53 std::shared_ptr<Inkscape::Pixbuf const>
pixbuf;
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
SVG drawing item for display.
Interface for refcounted XML nodes.
Typed SVG document implementation.
std::vector< View > views
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void destroy_view(View &v)
void create_view(View &v)
void on_href_changed(SPObject *new_elem)
unsigned char aspect_align
bool valid_for(SPObject const *obj) const override
void hide(Inkscape::DrawingItem *item) override
sigc::connection _href_changed_connection
unsigned char aspect_clip
void show(Inkscape::DrawingItem *item) override
std::shared_ptr< Inkscape::Pixbuf const > pixbuf
std::unique_ptr< Inkscape::Filters::FilterPrimitive > build_renderer(Inkscape::DrawingItem *item) const override
std::unique_ptr< Inkscape::URIReference > elemref
sigc::connection _href_modified_connection
Base class for visual SVG elements.
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
Document level base class for all SVG filter primitives.
Inkscape::DrawingItem * parent
Inkscape::DrawingItem * child