Drawing circles with System.Drawing

后端 未结 8 1155
醉酒成梦
醉酒成梦 2021-01-03 22:56

I have this code that draws a Rectangle ( Im trying to remake the MS Paint )

 case \"Rectangle\":
               if (tempDraw != null)
                {
             


        
8条回答
  •  长情又很酷
    2021-01-03 23:32

    You'll need to use DrawEllipse if you want to draw a circle using GDI+.

    An example is here: http://www.websupergoo.com/helpig6net/source/3-examples/9-drawgdi.htm

提交回复
热议问题