A graphics software of drawing bitmapbased on Windows GDI
Abstract
As the function of computer hardware and system software continues to improve, computer graphics has been widely used in various related fields, and played a greater and greater role. By using computers to edit or process a digital image, the computer art has become a new art form.
In computer, pictures can be stored in two forms: vector based image and bit mapped image. The bit mapped image can show more colors and details, so, the type of bit mapped image is widely used in digital photo and colored print.
Now, there are many methods can draw bit mapped images on computer, such as OpenGL and Windows GDI (Graphics Devices Interface).
This paper has studied the Windows GDI and researched on the basic tenets of Bitmaps. It also implemented a small drawing software based on GDI, which had the similar functions with the Drawing Tools of the annex in Windows Operation System. Using the drawing software, you can draw lines, curves, circles, etc. And you can use the rubber tool to erase the wrongs. You can set the styles of drawing and can select/copy the figure objects. At last, you can export a BMP file.
This thesis described the technical foundations required by the software, including drawing principle of GDI and the basic tenets of Bitmaps. It also described the details of user interface, the design principle, and the ideas of each graphic in the software realization process.