60 if (std::strcmp(value,
"stitch") == 0) {
65 if (std::strcmp(value,
"noStitch") == 0) {
82 if (std::strcmp(value,
"fractalNoise") == 0) {
87 if (std::strcmp(value,
"turbulence") == 0) {
172 auto turbulence = std::make_unique<Inkscape::Filters::FilterTurbulence>();
Lookup dictionary for attributes/properties.
SVG drawing item for display.
Interface for refcounted XML nodes.
virtual Node * duplicate(Document *doc) const =0
Create a duplicate of this node.
void removeAttribute(Inkscape::Util::const_char_ptr key)
Remove an attribute of this node.
float getOptNumber(bool or_num=false) const
void set(char const *str)
void setOptNumber(float optnum)
Typed SVG document implementation.
NumberOptNumber baseFrequency
std::unique_ptr< Inkscape::Filters::FilterPrimitive > build_renderer(Inkscape::DrawingItem *item) const override
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned flags) override
Inkscape::Filters::FilterTurbulenceType type
void set(SPAttr key, char const *value) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned flags) override
void set(SPAttr key, char const *value) override
void build_renderer_common(Inkscape::Filters::FilterPrimitive *primitive) const
Inkscape::XML::Node * repr
void requestModified(unsigned int flags)
Requests that a modification notification signal be emitted later (e.g.
void readAttr(char const *key)
Read value of key attribute from XML node into object.
Inkscape::XML::Node * getRepr()
Returns the XML representation of tree.
static Inkscape::Filters::FilterColorMatrixType read_type(char const *str)
Utility functions to convert ascii representations to numbers.
@ TURBULENCE_FRACTALNOISE
double read_number(gchar const *value, bool warning=true)
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.
Interface for XML documents.
static bool read_stitchtiles(char const *value)
static Inkscape::Filters::FilterTurbulenceType read_type(char const *value)
SVG turbulence filter effect.