O'Reilly logo

XAML Unleashed by Adam Nathan

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

Summary

The seamless support for vector graphics is just one of the many examples of the richness of XAML. As with other XAML features, a big part of the power of vector graphics comes from the tight integration with the rest of the framework. The drawing primitives used to create lines, shapes, and trophies are the same ones used to create Buttons, Sliders, and ListViews.

Even when you “draw” vector graphics on the screen, you’re still working with a completely retained-mode graphics system rather than an immediate-mode graphics system. In an immediate-mode system (such as DirectX), you must maintain the state of all visuals. In other words, it’s your responsibility to draw the correct pixels when a region of the screen is invalidated. This ...

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