O'Reilly logo

Graphics Programming with GDI+ by Mahesh Chand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Colors, Fonts, and Text

Three types of objects that are used to build graphics-intensive applications are colors, fonts, and text. In this chapter you will learn about the representation of colors, fonts, and text in the .NET Framework class library. We will cover the following topics:

  • Basics of colors, fonts, and text and how they are represented in Windows

  • Namespaces, classes, and other objects provided by the .NET Framework library to work with colors, fonts, and text

  • System fonts, colors, brushes, and pens

  • Color conversions and translations

  • System and private font collections

  • Formatting text using hinting, tab stops, and other methods

  • Setting the quality and performance of text rendering

  • Writing a simple text editor application

  • Text transformation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required