127 filter->invalidate_slots();
Lookup dictionary for attributes/properties.
Axis aligned, non-empty rectangle.
virtual void set_output(int slot)
Sets the slot number 'slot' to be used as output from filter primitive 'primitive' If output slot for...
void setStyle(SPStyle const *style)
Sets style for access to properties used by filter primitives.
void set_subregion(SVGLength const &x, SVGLength const &y, SVGLength const &width, SVGLength const &height)
virtual void set_input(int slot)
Sets the input slot number 'slot' to be used as input in rendering filter primitive 'primitive' For f...
Interface for refcounted XML nodes.
void setAttributeOrRemoveIfEmpty(Inkscape::Util::const_char_ptr key, Inkscape::Util::const_char_ptr value)
Change an attribute of this node.
virtual Node * duplicate(Document *doc) const =0
Create a duplicate of this node.
void calcDimsFromParentViewport(const SPItemCtx *ictx, bool assign_to_set=false, SPDimensions const *use=nullptr)
Update computed x/y/width/height for "percent" units and/or from its referencing clone parent.
Typed SVG document implementation.
void update(SPCtx *ctx, unsigned flags) override
void build(SPDocument *doc, Inkscape::XML::Node *repr) override
void invalidate_parent_slots()
std::optional< std::string > out_name
std::optional< std::string > in_name
Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned flags) override
virtual void resolve_slots(SlotResolver &)
void set(SPAttr key, char const *value) override
~SPFilterPrimitive() override
virtual Geom::Rect calculate_region(Geom::Rect const ®ion) const
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.
virtual void set(SPAttr key, const char *value)
SPStyle * style
Represents the style properties, whether from presentation attributes, the style attribute,...
virtual Inkscape::XML::Node * write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags)
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.
virtual void build(SPDocument *doc, Inkscape::XML::Node *repr)
bool read(char const *str)
std::string write() const
void readOrUnset(char const *str, Unit u=NONE, float v=0, float c=0)
void unset(Unit u=NONE, float v=0, float c=0)
auto to_cstr(std::optional< std::string > const &s)
bool assign(std::optional< std::string > &a, char const *b)
static cairo_user_data_key_t key
Document level base class for all SVG filter primitives.
@ SP_FILTER_UNITS_USERSPACEONUSE
Interface for XML documents.
Contains transformations to document/viewport and the viewport size.
SPStyle - a style object for SPItem objects.