CHAPTER 14

Image

Effects and Visuals

In the previous two chapters, you explored the core concepts of 2-D drawing in WPF. Now that you have a solid understanding of the fundamentals—such as shapes, brushes, transforms, and drawings—it’s worth digging down to WPF’s lower-level graphics features.

Usually, you’ll turn to these features when raw performance becomes an issue, or when you need access to individual pixels (or both). In this chapter, you’ll consider three WPF techniques that can help you out:

Visuals: If you want to build a program for drawing vector art, or you plan to create a canvas with thousands of shapes that can be manipulated individually, ...

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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.