summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/Matrix.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Matrix.java b/platform/java/src/com/artifex/mupdf/fitz/Matrix.java
index 80da84fc..ac78f91b 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/Matrix.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/Matrix.java
@@ -29,6 +29,10 @@ public class Matrix
this(1, 0, 0, 1, 0, 0);
}
+ public Matrix(Matrix copy) {
+ this(copy.a, copy.b, copy.c, copy.d, copy.e, copy.f);
+ }
+
public Matrix(Matrix one, Matrix two) {
a = one.a * two.a + one.b * two.c;
b = one.a * two.b + one.b * two.d;