Foundations: Vector Graphics and the WPF Shape Class


In Windows Presentation Foundation (WPF), graphical objects have been elevated to a status nearly equal to controls, often participating in layout and receiving mouse, keyboard, and stylus input. In addition, these graphical objects are retained by the graphical system so they needn't be redrawn as frequently as graphics in the past, but they can also be animated and serve as the targets of data bindings.


In the March 2008 issue of MSDN Magazine, Charles Petzold explains why System.Windows.Shapes is the namespace of choice for rendering two-dimensional vector graphics in WPF.



Don't forget to browse the code in our online code library, and find more installments of the Foundations column in our MSDN Magazine archives.

Comments (0)

Skip to main content