Exemple #1
0
        static void Main(string[] args)
        {
            int[,] a = new int[3, 3]
            {
                { 1, 2, 3 },
                { 4, 5, 6 },
                { 7, 8, 9 }
            };

            var matrixOperations = new MatrixOperations();

            matrixOperations.RotateMatrix(a, 3, 3);
        }
Exemple #2
0
 private void mnuTranslate_Click(object sender, EventArgs e)
 {
     mxOperation = MatrixOperations.Translate;
     this.Invalidate();
 }
Exemple #3
0
 private void mnuItemReset_Click(object sender, EventArgs e)
 {
     mxOperation = MatrixOperations.Reset;
     this.Invalidate();
 }
Exemple #4
0
 private void mnuShear_Click(object sender, EventArgs e)
 {
     mxOperation = MatrixOperations.Shear;
     this.Invalidate();
 }