Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Simple graphics library for C?

  1. Jul 15, 2011 #1
    Hi

    Anyone knows a nice and simple graphics library for C (Windows 7) that is not openGL nor GT.

    All I want to do is plot pixels on the screen. In a window or directly in the console.
     
  2. jcsd
  3. Jul 15, 2011 #2
    You could use GDI.

    http://msdn.microsoft.com/en-us/library/dd144871%28v=vs.85%29.aspx" [Broken] to get the device context for the window that you want to draw to

    then

    http://msdn.microsoft.com/en-us/library/dd145078%28v=vs.85%29.aspx" [Broken] to set a pixel
     
    Last edited by a moderator: May 5, 2017
  4. Jul 15, 2011 #3
    Thanx alot!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Simple graphics library for C?
Loading...