Code

prepare for adding angled guideline rendering
[inkscape.git] / src / display / nr-filter-units.h
index 8ebb5032791a0133cb92932ecd7cf995b40ff079..7f90d6d3107fea65c5f7a7bf26be61b29c1a61ca 100644 (file)
@@ -15,6 +15,7 @@
 #include "sp-filter-units.h"
 #include "libnr/nr-matrix.h"
 #include "libnr/nr-rect.h"
+#include "libnr/nr-rect-l.h"
 
 namespace NR {
 
@@ -84,6 +85,13 @@ public:
      */
     Matrix get_matrix_pb2display() const;
 
+    /**
+     * Returns the filter area in pixblock coordinates.
+     * NOTE: use only in filters, that define TRAIT_PARALLER in
+     * get_input_traits. The filter effects area may not be representable
+     * by simple rectangle otherwise. */
+    IRect get_pixblock_filterarea_paraller() const;
+
     FilterUnits& operator=(FilterUnits const &other);
 
 private: