/*
6 * Hugo Rodrigues <haa.rodrigues@gmail.com>
7 * Jean-Rene Reinhard <jr@komite.net>
9 * Copyright (C) 2006 Hugo Rodrigues
12 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
15#ifndef SP_FESPECULARLIGHTING_H_SEEN
16#define SP_FESPECULARLIGHTING_H_SEEN
25class FilterSpecularLighting;
33 int tag()
const override {
return tag_of<
decltype(*this)>; }
51 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.
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned flags) override
void child_added(Inkscape::XML::Node *child, Inkscape::XML::Node *ref) override
std::unique_ptr< Inkscape::Filters::FilterPrimitive > build_renderer(Inkscape::DrawingItem *item) const override
bool specularConstant_set
void order_changed(Inkscape::XML::Node *child, Inkscape::XML::Node *old_repr, Inkscape::XML::Node *new_repr) override
void remove_child(Inkscape::XML::Node *child) override
void modified(unsigned flags) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
bool specularExponent_set
NumberOptNumber kernelUnitLength
std::optional< Inkscape::Colors::Color > lighting_color
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.