如何在VC++中用Bresenham算法画圆?需要完整项目。请发到邮箱:[email protected]。谢谢!

[复制链接]
查看11 | 回复1 | 2012-12-6 09:35:07 | 显示全部楼层 |阅读模式
无效CCGPainterView ::有DrawLine(CDC * pDC的连接点,连接点ptStartPoint,ptEndPoint,COLORREF cLineColor) { INT I,J,K,L; 持股量X,Y,xincre,yincre; 口岸系统点;K = ABS(ptStartPoint.x ptEndPoint.x);L = ABS(ptStartPoint.y ptEndPoint.y);J = K; BR />(L> K){ J = L; }X = ptStartPoint.x; (Y = ptStartPoint.y);xincre =( ptEndPoin...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行