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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access