Regions, Nonrectangular Forms, and Controls

Table of contents:

SUMMARY

In this chapter we discussed some common uses of rectangles and regions. You learned several ways to create Rectangle and RectangleF objects, and how to use the Round, Truncate, Union, Inflate, Ceiling, and Intersect methods in your applications. After that you saw an example of a hit test. Then we discussed the Region class and its members, and how to use Complement, Union, Exclude, Xor, and other methods of the Region class. We also saw a sample of clipping regions. At the end of this chapter we saw an interesting sample application that uses regions to create nonrectangular forms and controls.

Imaging is a vital part of graphics. GDI+ provides rich imaging functionality. We will cover this functionality in Chapter 7.

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 Imaging

Advanced 2D Graphics

Transformation

Printing

Developing GDI+ Web Applications

GDI+ Best Practices and Performance Techniques

GDI Interoperability

Miscellaneous GDI+ Examples

Appendix A. Exception Handling in .NET



GDI+ Programming with C#
GDI+ Programming with C#
ISBN: 073561265X
EAN: N/A
Year: 2003
Pages: 145

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net