How to draw to screen in c++?

前端 未结 4 726
一个人的身影
一个人的身影 2021-02-06 08:09

How would I draw something on the screen ? not the console window but the entire screen, preferably with the console minimised.

Also, would it show up on a printscreen ?

4条回答
  •  粉色の甜心
    2021-02-06 09:05

    The (rather nice but not recently updated) graphics library anti-grain geometry has very simple bindings to display its demos on a variety of windowing systems, you could look at those for examples. But for anything much more involved you're probably talking about operating system specific libraries.

提交回复
热议问题