What is GDI?

This is a discussion on What is GDI? within the Game Programming forums, part of the General Programming Boards category; GDI was mentioned in a prevgios post of my by jdinger, but I have never heard of GDI....

  1. #1
    Shadow12345
    Guest

    What is GDI?

    GDI was mentioned in a prevgios post of my by jdinger, but I have never heard of GDI.

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    GDI is Windows graphics device interface. It's the part of the Windows API that handles bitmap manipulation, HPEN's, HBRUSH's, etc. If you want more info go to MSDN and look up functions like BitBlt, StrechBlt, GetPixel, SetPixelV and objects like HBITMAP, HPEN, HBRUSH, HDC, etc.

    I'm not sure about OpenGL, but the GDI comes in very handy when making utilities/tools to support DirectX apps (like blitting a bitmap image onto a DirectDraw surface during initialization, etc.).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows GDI vs. Java Graphics
    By Perspective in forum Windows Programming
    Replies: 7
    Last Post: 05-07-2007, 11:05 AM
  2. GDI object lifetime and C++ object lifetime
    By VirtualAce in forum Windows Programming
    Replies: 4
    Last Post: 06-16-2006, 06:26 AM
  3. opengl, or gdi?
    By n3v in forum Game Programming
    Replies: 25
    Last Post: 05-21-2006, 06:02 PM
  4. Whats Peoples Problem With the GDI?
    By MicroFiend in forum Game Programming
    Replies: 6
    Last Post: 07-28-2003, 08:52 PM
  5. Double buffering in GDI -- easy?
    By fusikon in forum Game Programming
    Replies: 17
    Last Post: 02-15-2003, 10:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21