The graphics device interface (GDI) contains the functions that perform device-independent graphic operations within a Windows application. These functions create a wide variety of line, text, and bitmap output on a number of different output devices. GDI allows an application to create pens, brushes, fonts, and bitmaps for specific output operations. The following figure shows a sample of text, line, and bitmap output from Microsoft Windows PaintbrushÔ, an application that was created with GDI functions: