X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdisplay%2Fnr-filter.h;h=267f242d1aff218beae9421929b35dd40bcf33e9;hb=61a8e3bd39889c3795adbfdf368c7a40e46292a5;hp=9f26a1f3b95fa9c3b4933d1701e288d77cac2892;hpb=aca3b339a427a3f0a8a6eec08e797e3dc458815f;p=inkscape.git diff --git a/src/display/nr-filter.h b/src/display/nr-filter.h index 9f26a1f3b..267f242d1 100644 --- a/src/display/nr-filter.h +++ b/src/display/nr-filter.h @@ -131,7 +131,7 @@ public: /** * Set the primitiveUnits-properterty. If not set, the default value of - * userSpaceOnUseis used. If the parameter value is not a valid + * userSpaceOnUse is used. If the parameter value is not a valid * enumeration value from SPFilterUnits, no changes to filter state * are made. */ @@ -150,6 +150,12 @@ public: * it contains the filter effect area. */ void bbox_enlarge(NRRectL &bbox); + /** + * Returns the filter effects area in user coordinate system. + * The given bounding box should be a bounding box as specified in + * SVG standard and in user coordinate system. + */ + Rect filter_effect_area(Rect const &bbox); /** Creates a new filter with space for one filter element */ Filter(); @@ -160,7 +166,7 @@ public: */ Filter(int n); /** Destroys the filter and all its primitives */ - ~Filter(); + virtual ~Filter(); private: int _primitive_count;