A
AndrewEames
The following code access violates in GDI+ in the call to DrawEllipse - Can
someone give me a workaround (or look into it and tell me what tickles the
bug)
Thanks
Andrew
BufferedGraphics bg =
BufferedGraphicsManager.Current.Allocate(CreateGraphics(), new
Rectangle(0,0,485,310));
using (Pen pen = new Pen(Color.Black))
{
pen.DashStyle = DashStyle.Dash;
bg.Graphics.DrawEllipse(pen, (float)174.89508486174867,
(float)-0.71447265459268827, (float)30.9574471, (float)30.9574471);
}
someone give me a workaround (or look into it and tell me what tickles the
bug)
Thanks
Andrew
BufferedGraphics bg =
BufferedGraphicsManager.Current.Allocate(CreateGraphics(), new
Rectangle(0,0,485,310));
using (Pen pen = new Pen(Color.Black))
{
pen.DashStyle = DashStyle.Dash;
bg.Graphics.DrawEllipse(pen, (float)174.89508486174867,
(float)-0.71447265459268827, (float)30.9574471, (float)30.9574471);
}