求助,如何画出一个抗锯齿的圆(棋子)?

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
Mayaweiqi
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Jul 15, 2013 4:30 pm

求助,如何画出一个抗锯齿的圆(棋子)?

Post by Mayaweiqi » Mon Jul 15, 2013 4:34 pm

初学,希望越详细越好.
dc.DrawCircle(x,y,r) 这样的圆有锯齿,因为要画棋子,所以必须特别圆才能达到要求.有锯齿肯定不行.

fancyivan
Experienced Solver
Experienced Solver
Posts: 80
Joined: Wed May 26, 2010 8:42 am
Location: Beijing, China
Contact:

Re: 求助,如何画出一个抗锯齿的圆(棋子)?

Post by fancyivan » Wed Jul 17, 2013 2:53 am

Mayaweiqi wrote:初学,希望越详细越好.
dc.DrawCircle(x,y,r) 这样的圆有锯齿,因为要画棋子,所以必须特别圆才能达到要求.有锯齿肯定不行.
直接贴图会不会更好一些?
OS: Win7 Ultimate SP1 x64(Windows XP Pro SP3 in VirtualBox)
Compiler: MinGW32 (gcc4.8.1 + gdb7.6.1)
IDE: Code::Blocks 12.11
Lib: wxWidgets3.0.0

Post Reply