NGraphics icon indicating copy to clipboard operation
NGraphics copied to clipboard

System.Windows.Media (WPF) platform support

Open zone117x opened this issue 9 years ago • 4 comments

We have a mostly complete implementation of this platform for NGraphics. It works for our purposes but is missing the ArcTo op and probably a few others. I'm mostly posting this issue as a reminder for myself to try to get a pull request or fork ready for publishing - even if still incomplete. If anyone else finds a need for this feature I'll try to get it done sooner.

zone117x avatar Apr 15 '16 16:04 zone117x

Wow, this would be great. System.Windows.Media would be cross platform then? Even Media.Effects? Including the important "TransformTranslate"? This would be awesome, because we will finally get a standard XAML file working on all mobile platforms, and not just on WinPhone! Please go on with it!

Emasoft avatar Jul 25 '16 05:07 Emasoft

Here's what we have so far: https://github.com/PingmanTools/NGraphics/blob/master/Platforms/NGraphics.WPF/PresentationFoundationPlatform.cs It's not fully implemented but works for most drawing calls. I'd make a pull request into this main repo but our commits have been too messy for that. Needs a rebase and code style cleanup.

zone117x avatar Jul 25 '16 20:07 zone117x

@zone117x It would be VERY useful, please do it!

Emasoft avatar Jul 26 '16 01:07 Emasoft

Well, this has been sitting here for five years. And it's looking like we might want this. Since you never actually merged it that I can tell, can I copy out your code to use in conjunction with a nuget pull of NGraphics? (With proper documentation as to source, of course!)

--Christina Noel Musicnotes.com

clnoel avatar Mar 09 '21 22:03 clnoel