public  Point A , B;DrawClass.Ellipse( gB , A , B  , colorA , colorB);
程序如下,我在下面程序中应如何计算出画的椭圆面积? private void pictureBox1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Size size = this.pictureBox1.Size;
m_Bitmap = new Bitmap(size.Width, size.Height);
m_Undo = (Bitmap)m_Bitmap.Clone();
gB = Graphics.FromImage(m_Bitmap);
m_Undo = (Bitmap)m_Bitmap.Clone(); // cx = x - x0;
// cy = y - y0;
//Pen pen;
//Pen pen = new Pen(color); DrawClass.Ellipse( gB , A , B  , colorA , colorB);
  RefreshBackground();
drag = false;
//pen.Dispose();
} private void pictureBox1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
Graphics g = e.Graphics;
//Pen pen = new Pen(color);
DrawClass.Ellipse( g , A , B  , colorA , colorB); }