Code

Patch from codedread. Prevents rendering of title/desc/metadata elements in text...
[inkscape.git] / src / display / nr-filter-units.h
index 7f90d6d3107fea65c5f7a7bf26be61b29c1a61ca..49fe30aa953b527a783b098ea2021a85f7e21216 100644 (file)
@@ -85,6 +85,16 @@ public:
      */
     Matrix get_matrix_pb2display() const;
 
+    /**
+     * Gets the user coordinates to filterUnits transformation matrix.
+     */
+    Matrix get_matrix_user2filterunits() const;
+
+    /**
+     * Gets the user coordinates to primitiveUnits transformation matrix.
+     */
+    Matrix get_matrix_user2primitiveunits() const;
+
     /**
      * Returns the filter area in pixblock coordinates.
      * NOTE: use only in filters, that define TRAIT_PARALLER in
@@ -96,6 +106,7 @@ public:
 
 private:
     Matrix get_matrix_units2pb(SPFilterUnits units) const;
+    Matrix get_matrix_user2units(SPFilterUnits units) const;
 
     SPFilterUnits filterUnits, primitiveUnits;
     double resolution_x, resolution_y;