summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp
index 0d8917f56ae..9ea836b9837 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/Matrix.hpp
@@ -2,7 +2,7 @@
** Matrix.hpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2017 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2018 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -57,7 +57,9 @@ class Matrix
Matrix& lmultiply (const Matrix &tm);
Matrix& rmultiply (const Matrix &tm);
Matrix& translate (double tx, double ty);
+ Matrix& translate (const DPair &p) {return translate(p.x(), p.y());}
Matrix& scale (double sx, double sy);
+ Matrix& scale (const DPair &p) {return scale(p.x(), p.y());}
Matrix& rotate (double deg);
Matrix& xskewByAngle (double deg);
Matrix& yskewByAngle (double deg);