62 if (!std::strcmp(value,
"identity")) {
67 if (!std::strcmp(value,
"table")) {
72 if (!std::strcmp(value,
"discrete")) {
77 if (!std::strcmp(value,
"linear")) {
82 if (!std::strcmp(value,
"gamma")) {
99 if (
type != new_type) {
117 if (
slope != new_slope) {
153 if (
offset != new_offset) {
Lookup dictionary for attributes/properties.
Interface for refcounted XML nodes.
Typed SVG document implementation.
bool removeResource(char const *key, SPObject *object)
bool addResource(char const *key, SPObject *object)
Inkscape::Filters::FilterComponentTransferType type
std::vector< double > tableValues
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void set(SPAttr key, char const *value) override
Inkscape::XML::Node * repr
void requestModified(unsigned int flags)
Requests that a modification notification signal be emitted later (e.g.
virtual void set(SPAttr key, const char *value)
void readAttr(char const *key)
Read value of key attribute from XML node into object.
virtual void build(SPDocument *doc, Inkscape::XML::Node *repr)
static Inkscape::Filters::FilterComponentTransferType sp_feComponenttransfer_read_type(char const *value)
SVG <filter> implementation, see sp-filter.cpp.
Utility functions to convert ascii representations to numbers.
FilterComponentTransferType
@ COMPONENTTRANSFER_TYPE_GAMMA
@ COMPONENTTRANSFER_TYPE_TABLE
@ COMPONENTTRANSFER_TYPE_LINEAR
@ COMPONENTTRANSFER_TYPE_ERROR
@ COMPONENTTRANSFER_TYPE_DISCRETE
@ COMPONENTTRANSFER_TYPE_IDENTITY
std::vector< gdouble > read_vector(const gchar *value)
double read_number(gchar const *value, bool warning=true)
static cairo_user_data_key_t key