Code

Pot and Dutch translation update
[inkscape.git] / src / text-tag-attributes.h
index 9c1425dffd203fa767d47d94ebca2cb9ec839721..11b751a2c2022e1dd67f6bd803fbcf7640fdb8d0 100644 (file)
@@ -88,23 +88,44 @@ public:
     If \a extend_zero_length is true, then if the x or y vectors are empty
     they will be made length 1 in order to store the newly calculated
     position. */
-    void transform(NR::Matrix const &matrix, double scale_x, double scale_y, bool extend_zero_length = false);
+    void transform(Geom::Matrix const &matrix, double scale_x, double scale_y, bool extend_zero_length = false);
+
+    /** Gets current value of dx vector at \a index. */
+    double getDx(unsigned index);
+
+    /** Gets current value of dy vector at \a index. */
+    double getDy(unsigned index);
+
+    /** Adds the given value to the dx vector at the given
+    \a index. The vector is extended if necessary. */
+    void addToDx(unsigned index, double delta);
+
+    /** Adds the given value to the dy vector at the given
+    \a index. The vector is extended if necessary. */
+    void addToDy(unsigned index, double delta);
 
     /** Adds the given values to the dx and dy vectors at the given
     \a index. The vectors are extended if necessary. */
-    void addToDxDy(unsigned index, NR::Point const &adjust);
+    void addToDxDy(unsigned index, Geom::Point const &adjust);
+
+    /** Gets current value of rotate vector at \a index. */
+    double getRotate(unsigned index);
 
     /** Adds the given value to the rotate vector at the given \a index. The
     vector is extended if necessary. Delta is measured in degrees, clockwise
     positive. */
     void addToRotate(unsigned index, double delta);
 
+    /** Sets rotate vector at the given \a index. The vector is extended if
+    necessary. Angle is measured in degrees, clockwise positive. */
+    void setRotate(unsigned index, double angle);
+
     /** Returns the first coordinates in the x and y vectors. If either
     is zero length, 0.0 is used for that coordinate. */
-    NR::Point firstXY() const;
+    Geom::Point firstXY() const;
 
     /** Sets the first coordinates in the x and y vectors. */
-    void setFirstXY(NR::Point &point);
+    void setFirstXY(Geom::Point &point);
 
 private:
     /// This holds the actual values.
@@ -145,4 +166,4 @@ private:
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :