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 ...

Get Universal Windows® Apps with XAML and C# Unleashed 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.