public void Draw(IDrawing drawer)
        {
            drawer.DrawBorder(this);

            for (int i = 0; i < row_count; i++)
            {
                for (int j = 0; j < column_count; j++)
                {
                    drawer.DrawUnit(this, i, j);
                }
            }
            drawer.Print();
        }
Beispiel #2
0
        public void Draw(IDrawing drawer)
        {
            drawer.DrawBorder(this.Ref_matr);

            for (int i = 0; i < row_count; i++)
            {
                for (int j = 0; j < column_count; j++)
                {
                    drawer.DrawUnit(this.Ref_matr, rows[i], columns[j]);
                }
            }
            drawer.Print();
        }
 public void Draw(IDrawing drawer)
 {
     drawer.DrawBorder(this);
     for (int i = 0; i < row; i++)
     {
         foreach (IMatrix matrix in list_matr)
         {
             for (int j = 0; j < matrix.column_count; j++)
             {
                 drawer.DrawUnit(matrix, i, j);
             }
         }
     }
     drawer.Print();
 }