With the help of .NET runtime interoperability services, we can use the functionality of the Win32 libraries in managed code. The DllImportAttribute class is used to import a Win32 DLL into managed code. In this chapter we saw how to use this class to import Gdi32.dll functions in managed code. We also saw how to use printing and BitBlt functions in managed code.
GDI+ can also be used to write simple and fun drawing applications. This is what we will discuss in Chapter 15. There you will see how GDI+ can be useful for writing fun applications.
GDI+: The Next-Generation Graphics Interface
Your First GDI+ Application
The Graphics Class
Working with Brushes and Pens
Colors, Fonts, and Text
Rectangles and Regions
Working with Images
Advanced 2D Graphics
Developing GDI+ Web Applications
GDI+ Best Practices and Performance Techniques
Miscellaneous GDI+ Examples
Appendix A. Exception Handling in .NET