2#ifndef SEEN_NR_FILTER_UNITS_H
3#define SEEN_NR_FILTER_UNITS_H
3x3 affine transformation matrix.
3x3 matrix representing an affine transformation.
Axis aligned, non-empty, generic rectangle.
Axis-aligned rectangle that can be empty.
SPFilterUnits get_primitive_units() const
Gets Primitive Units (userSpaceOnUse or objectBoundingBox)
SPFilterUnits primitiveUnits
Geom::Affine get_matrix_user2primitiveunits() const
Gets the user coordinates to primitiveUnits transformation matrix.
Geom::OptRect filter_area
void set_automatic_resolution(bool const automatic)
Sets, if filter resolution is automatic.
bool automatic_resolution
Geom::Affine get_matrix_user2filterunits() const
Gets the user coordinates to filterUnits transformation matrix.
Geom::Affine get_matrix_primitiveunits2pb() const
Gets the primitiveUnits to pixblock coordinates transformation matrix.
Geom::Affine get_matrix_display2pb() const
Gets the display coordinates to pixblock coordinates transformation matrix.
Geom::Affine get_matrix_units2pb(SPFilterUnits units) const
Geom::Affine get_matrix_pb2display() const
Gets the pixblock coordinates to display coordinates transformation matrix.
SPFilterUnits get_filter_units() const
Gets Filter Units (userSpaceOnUse or objectBoundingBox)
void set_paraller(bool const paraller)
Sets, if x and y axis in pixblock coordinates should be paraller to x and y of user coordinates.
Geom::OptRect get_filter_area() const
Gets the filter effects area in user coordinates.
FilterUnits & operator=(FilterUnits const &other)
void set_filter_area(Geom::OptRect const &area)
Sets the filter effects area in user coordinates.
void set_item_bbox(Geom::OptRect const &bbox)
Sets the item bounding box in user coordinates.
Geom::OptRect get_item_bbox() const
Gets the item bounding box in user coordinates.
SPFilterUnits filterUnits
void set_ctm(Geom::Affine const &ctm)
Sets the current transformation matrix, i.e.
Geom::Affine get_matrix_user2pb() const
Gets the user coordinates to pixblock coordinates transformation matrix.
Geom::IntRect get_pixblock_filterarea_paraller() const
Returns the filter area in pixblock coordinates.
void set_resolution(double const x_res, double const y_res)
Sets the resolution, the filter should be rendered with.
Geom::Affine get_matrix_filterunits2pb() const
Gets the filterUnits to pixblock coordinates transformation matrix.
Geom::Affine get_matrix_user2units(SPFilterUnits units) const
Helper class to stream background task notifications as a series of messages.
TODO: insert short description here.