aboutsummaryrefslogtreecommitdiffstatsci
path: root/Backends/CairoBackend/src/Matrix.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Backends/CairoBackend/src/Matrix.cs')
-rw-r--r--Backends/CairoBackend/src/Matrix.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Backends/CairoBackend/src/Matrix.cs b/Backends/CairoBackend/src/Matrix.cs
index b1925688..b565edcc 100644
--- a/Backends/CairoBackend/src/Matrix.cs
+++ b/Backends/CairoBackend/src/Matrix.cs
@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
namespace Crow.CairoBackend {
[StructLayout(LayoutKind.Sequential)]
- public class Matrix //: ICloneable
+ public struct Matrix //: ICloneable
{
public double Xx;
public double Yx;
@@ -52,12 +52,6 @@ namespace Crow.CairoBackend {
this.Xx = xx; this.Yx = yx; this.Xy = xy;
this.Yy = yy; this.X0 = x0; this.Y0 = y0;
}
-
- public Matrix ()
- {
- this.InitIdentity ();
- }
-
public bool IsIdentity ()
{
return (this == new Matrix ());