コード例 #1
0
        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);
        }
コード例 #2
0
 public void Execute(ref IMatrix matrix, ref IDrawer drawer, ref ADecorator decorator, ref Graphics graphics)
 {
     gMatrix = new HGMatrix.HGMatrix();
     matrix  = gMatrix;
 }
コード例 #3
0
 public HGMCreateCommand()
 {
     gMatrix = new HGMatrix.HGMatrix();
 }