/*
6 * Hugo Rodrigues <haa.rodrigues@gmail.com>
7 * Jean-Rene Reinhard <jr@komite.net>
9 * Copyright (C) 2006-2007 Authors
10 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
13#ifndef SP_FEDIFFUSELIGHTING_H_SEEN
14#define SP_FEDIFFUSELIGHTING_H_SEEN
23class FilterDiffuseLighting;
31 int tag()
const override {
return tag_of<
decltype(*this)>; }
47 void modified(
unsigned flags)
override;
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::optional< Inkscape::Colors::Color > lighting_color
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned flags) override
NumberOptNumber kernelUnitLength
void order_changed(Inkscape::XML::Node *child, Inkscape::XML::Node *old_repr, Inkscape::XML::Node *new_repr) override
void child_added(Inkscape::XML::Node *child, Inkscape::XML::Node *ref) override
void remove_child(Inkscape::XML::Node *child) override
void modified(unsigned flags) override
std::unique_ptr< Inkscape::Filters::FilterPrimitive > build_renderer(Inkscape::DrawingItem *item) const override
Inkscape::XML::Node * repr
Helper class to stream background task notifications as a series of messages.
static cairo_user_data_key_t key
<number-opt-number> implementation.
Document level base class for all SVG filter primitives.
Interface for XML documents.