private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { //傾いた楕円の描画 int i; float Px0, Py0, Px1, Py1; float a, b; float X0, Y0; float w, th, thRad; //長軸 a = 100; //短軸 b = 50; //中心座標 X0 = 300.0F; Y0 = 200.0F; //楕円の傾き th = 30.0F; /////////////////////////////////// // Graphicsの確保 // //PictureBoxと同じ大きさのBitmapクラスを作成する。 Bitmap^ bmpPicBox = gcnew Bitmap(pictureBox1->Width, p