Description
Type of issue
[ ] Bug
[ ] Question (e.g. about handling/usage)
[x] Request for new feature/improvement
Expected Behavior
Enhance XamlQRCode with a .toString() overload to return a string with the 2D Geometry path text.
Current Behavior
Currently only SVG text output is an option, but SVG is not compatible with Windows WPF/XAML/UWP image controls that use the Geometry path text for 2D objects.
https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/geometry-overview
Example XAML 2D Geometry path for a plus mark "+":
string IconPlusMark = "M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
Possible Solution
The excellent and full featured ZXing.Net https://github.com/micjahn/ZXing.Net also generates 2D bar-codes including QR Codes and can export to XAML Geometry path text strings. Perhaps someone could help port the GeometryRenderer to this project so we have a simple light-weight QR Code only solution.
https://github.com/micjahn/ZXing.Net/blob/master/Source/lib/renderer/GeometryRenderer.cs