怎么画斜着的椭圆
我知道长轴和短轴的长度,也知道长轴和X轴的夹角
怎么画椭圆?
谢谢!
问题点数:20、回复次数:6Top
1 楼ocean1(阿弥陀佛)回复于 2004-07-01 01:07:57 得分 5
VC里面没有提供标准函数只有用描点法:
算出椭圆圆周上的点再依次moveto lineto.Top
2 楼lanphaday(恋花蝶)回复于 2004-07-01 01:09:34 得分 0
楼上的不会说真的吧,这么辛苦?Top
3 楼FengYuanMSFT((6.4 被封杀)袁峰 http://fengyuancom.spaces.live.com)回复于 2004-07-01 01:20:38 得分 15
1) If you're running on NT-based systems, you use set up a transformation and then use Ellipse
2) You can draw Ellipse into a path, get back the points, transform them, and then draw them.
3) Break an ellipse into 4 Bezier curves, transform the points and draw them. Check my book for code.Top
4 楼ocean1(阿弥陀佛)回复于 2004-07-01 01:38:31 得分 0
could you give the link of your book?Top
5 楼wei_gogo(最后一支烟)回复于 2004-07-01 01:48:45 得分 0
看来5颗星的老大都这么说,只有试试了,谢谢Top
6 楼FengYuanMSFT((6.4 被封杀)袁峰 http://fengyuancom.spaces.live.com)回复于 2004-07-01 03:18:42 得分 0
www.fengyuan.com
http://safariexamples.informit.com/0130869856/Top




