12#ifndef SEEN_NR_FILTER_PRIMITIVE_H
13#define SEEN_NR_FILTER_PRIMITIVE_H
19#include <glibmm/ustring.h>
63 virtual void set_input(
int input,
int slot);
123 virtual Glib::ustring
name()
const {
return "No name"; }
3x3 matrix representing an affine transformation.
Axis aligned, non-empty, generic rectangle.
Axis aligned, non-empty rectangle.
virtual bool uses_background() const
SVGLength _subregion_width
virtual Glib::ustring name() const
virtual bool can_handle_affine(Geom::Affine const &) const
Indicate whether the filter primitive can handle the given affine.
SVGLength _subregion_height
void set_width(SVGLength const &length)
virtual void set_output(int slot)
Sets the slot number 'slot' to be used as output from filter primitive 'primitive' If output slot for...
SPColorInterpolation color_interpolation
Geom::Rect filter_primitive_area(FilterUnits const &units) const
Returns the filter primitive area in user coordinate system.
virtual ~FilterPrimitive()
virtual void render_cairo(FilterSlot &slot) const
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)
void set_x(SVGLength const &length)
Sets the filter primitive subregion.
virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &m) const
virtual double complexity(Geom::Affine const &) const
virtual void set_input(int slot)
Sets the input slot number 'slot' to be used as input in rendering filter primitive 'primitive' For f...
void set_y(SVGLength const &length)
void set_height(SVGLength const &length)
Contains forward declarations of 2geom types.
@ NR_FILTER_BACKGROUNDALPHA
@ NR_FILTER_BACKGROUNDIMAGE
Helper class to stream background task notifications as a series of messages.
TODO: insert short description here.
SPStyle enums: named public enums that correspond to SVG property values.