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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access