The Microsoft Windows graphics device interface (GDI) enables applications to use graphics and formatted text on both the video display and the printer. Windows-based applications do not access the graphics hardware directly. Instead, GDI interacts with device drivers on behalf of applications.
GDI can be used in all Windows-based applications.
This API is designed for use by C/C++ programmers. Familiarity with the Windows message-driven architecture is required.
For information on which operating systems are required to use a particular function, see the Requirements section of the documentation for the function.
In this section
- Coordinate Spaces and Transformations
- Device Contexts
- Filled Shapes
- Fonts and Text
- Lines and Curves
- Multiple Display Monitors
- Painting and Drawing
- Printing and Print Spooler