コード例 #1
0
 public static void Draw(float x, float y, double z)
 {
     ImageCreator.SetPos(x, y);
     ImageCreator.Go(100, z);
     ImageCreator.Go(10 * Math.Sqrt(2), z + Math.PI / 4);
     ImageCreator.Go(100, z + Math.PI);
     ImageCreator.Go(100 - (double)10, z + Math.PI / 2);
 }
コード例 #2
0
        public static void Main()
        {
            ImageCreator.Initialize();

            ImageCreator.Draw(10, 0, 0);
            ImageCreator.Draw(120, 10, Math.PI / 2);
            ImageCreator.Draw(110, 120, Math.PI);
            ImageCreator.Draw(0, 110, -Math.PI / 2);

            ImageCreator.ShowResult();
        }