在C ++中填充椭圆 [英] Fill an ellipse in C++

查看:154
本文介绍了在C ++中填充椭圆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在c ++中创建一个简单的绘图应用程序,但我无法找到一个填充椭圆的函数,所有我发现是FillRect,有人可能带领我在正确的方向吗?
感谢

解决方案

请参阅椭圆


椭圆函数椭圆。椭圆的中心是指定的边界矩形的中心。椭圆通过使用当前笔来勾画,并使用当前画笔填充。



I'm trying to make a simple drawing app in c++, but i'm having trouble finding a function that fills an ellipse, all i have found is FillRect, could someone lead me in the right direction? Thanks

解决方案

See Ellipse:

The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.

这篇关于在C ++中填充椭圆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆