diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-24 03:00:25 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-24 03:00:25 +0100 |
| commit | f005d76468dc4c6a368b6f1f6eca69da25214e80 (patch) | |
| tree | 14a70c7fb9a58be9083dbd7492ecd94d030c18a9 /Backends/CairoBackend/src/Matrix.cs | |
| parent | 362d83b9556355b1d3dfb6cb892896ed33371521 (diff) | |
default Crow.CairoBackend ok
Diffstat (limited to 'Backends/CairoBackend/src/Matrix.cs')
| -rw-r--r-- | Backends/CairoBackend/src/Matrix.cs | 8 |
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 ()); |