Closed. This question does not meet
Stack Overflow guidelines。它当前不接受答案。
想改善这个问题吗?更新问题,以便将其作为
on-topic用于堆栈溢出。
7年前关闭。
Improve this question
在C++中,什么是易于使用的图形库?不必进行高级操作,仅绘制2D形状就足够了。
如果可能的话,与Java中的paint-paintcomponent-repaint东西相当的东西会很棒。
我唯一要使用的是在白色屏幕上绘制小圆圈,每次刷新都会刷新,例如:
calculate positions
loop:
move
recalculate
refresh and draw circles at the new positions
就这样。