Shapes, Brushes, and Transforms

In many user interface technologies, there’s a clear distinction between ordinary controls and custom drawing. Often the drawing features are used only in specialized applications—for example, games, data visualization, physics simulations, and so on.

WPF has a dramatically different philosophy. It handles prebuilt controls and custom-drawn graphics in the same way. Not only will you use WPF’s drawing support to create graphically rich visuals for your user interface, but you’ll also use it to get the most out of other features such as animation (Chapter 15) and control templates (Chapter 17). In fact, ...

Get Pro WPF 4.5 in C#: Windows Presentation Foundation in .NET 4.5, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.