当我使用以下数据绘制贝塞尔曲线时,它显示OutOfMemoryException
Graphics g = e.Graphics;
PointF pf0, pf1, pf2, pf3;
Pen pen = new Pen(Color.Black);
pen.Width = 2;
pf0 = new PointF(153.649292F, 141.85F);
pf1 = new PointF(153.650925F, 141.848969F);
pf2 = new PointF(153.652557F, 141.848465F);
pf3 = new PointF(153.65419F, 141.848465F);
g.DrawBezier(pen, pf0, pf1, pf2, pf3);
如果pen.Width更改为1.5F,则绘制曲线时不显示任何异常。有没有办法避免这种例外?