July 2002
Beginner
720 pages
14h 35m
English
Programmers experienced with Windows development should be familiar with the concept of the graphics device interface (GDI). It is part of Windows OS and provides functions and structures to generate graphical output for such devices as screens and printers. The GDI contains functions to draw lines, curves, closed figures, paths, text, and bitmaps. To specify colors and styles when drawing, the GDI provides pens, brushes, and fonts. Pens are used to draw lines and curves, brushes to fill the inner spaces of closed figures such as rectangles and ellipses, while fonts are used to write text, naturally.
To be able to utilize graphics, programs should obtain a device context for the particular device used, whether ...
Read now
Unlock full access