Windows API学习-GDI绘图基础与轻量进阶(3)


绘制椭圆

Ellipse() 函数可以用来绘制椭圆,它的原型为:

注意:当 nRightRect - nLeftRect = nBottomRect - nRightRect 时绘制出的是一个圆

运行效果:
2.png