7. Advanced Drawing

CHAPTER 5: DRAWING BASICS AND CHAPTER 6: DRAWING TEXT cover the basics of drawing, including colors, pens, brushes, shapes, paths, images, fonts, and string drawing. This chapter looks at advanced topics such as page units, world transforms, regions, and optimization techniques. And as if that weren't enough, Chapter 8: Printing wraps up the tour of the System.Drawing namespace with a look at printing.

Page Units

In Chapters 5 and 6, we've concentrated on drawing to the screen. By default, if you're drawing in the Paint event handler, you're drawing in units of pixels. Even if you create a Graphics object from a form using Form.CreateGraphics, you draw in units of pixels. This is handy because the units of the various user ...

Get Windows Forms 2.0 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.