praeclarum / NGraphics

NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.
MIT License
710 stars 133 forks source link

Is it possible to draw on a Windows.UI.Xaml.Controls.Canvas? #19

Closed tomasaschan closed 7 years ago

tomasaschan commented 9 years ago

I'm trying to figure out how best to use this library for a Windows Phone 8.1 app, and ideally I'd like to define a Windows.UI.Xaml.Controls.Canvas (i.e. a <Canvas /> element in my .xaml page) and draw onto that. Is that possible? How?

I can't seem to figure it out from the readme, and my google searches give too much noise for "graphics" when I try to search for stuff related to "ngraphics"...

Thanks for the help!

Henkoglobin commented 9 years ago

Have a look at NControl, which uses an System.Windows.Controls.Canvas for drawing. Maybe that will help you