public void Execute(ref IMatrix matrix, ref IDrawer drawer, ref ADecorator decorator, ref Graphics graphics) { if (matrix is HGMatrix.HGMatrix) { gMatrix = matrix as HGMatrix.HGMatrix; gMatrix.SetMatrix(matrix1); matrix = gMatrix; } matrix.Draw(drawer); }
public void Execute(ref IMatrix matrix, ref IDrawer drawer, ref ADecorator decorator, ref Graphics graphics) { gMatrix = new HGMatrix.HGMatrix(); matrix = gMatrix; }
public HGMCreateCommand() { gMatrix = new HGMatrix.HGMatrix(); }