O'Reilly logo

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition by Matthew MacDonald

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

The Last Word

In this chapter, you delved deeper into WPF's 2-D drawing model. You began with a thorough look at the Path class, the most powerful of WPF's shape classes, and the geometry model that it uses. Next, you considered how you could use a geometry to build a drawing, and to use that drawing to display lightweight, noninteractive graphics. Finally, you tackled the most efficient way to display graphics in WPF—the lower-level visual layer. Using the visual layer, you saw how you could build a basic drawing application that uses sophisticated hit testing.

In the next chapter you'll consider one of the places where you can put your drawing skills to good use—creating custom control templates.

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