Custom drawn elements can be created in WinRT by deriving them from the
Windows::UI::Xaml::Path class, which is a kind of
Path is based on a
Geometry—a mathematical abstraction of a 2D layout that can be a
, which in itself can be built from various
PathSegment objects. These shapes are beyond the scope of this book, but, again, they are similar to the ones existing in Silverlight, so a lot of information about them is available.
WinRT currently does not support WPF's
OnRender method that uses
to do free-style drawing of various kinds. Hopefully, this will be supported in a future version.
Many new controls exist as part of the WinRT XAML toolkit, available for free on Microsoft's CodePlex ...