Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon


27. June 2017


Microsoft just launched Win2D version 1.21.0.  Win2D is an immediate mode GPU accelerated 2D library using C++, C# or VB.Net on Windows platforms.  By far the biggest new feature of this release is the ability to draw SVG (Scalable Vector Graphics) graphics. 


From the release announcements:

Win2D version 1.21.0 is now available on NuGet (for Windows 10 or Windows / Phone 8.1) and GitHub.

New in this release:

  • Load, draw, and manipulate SVG (scalable vector graphics) documents  (requires Windows 10 Creators Update)
  • Load and save JpegXR images using extended precision pixel formats  (16 and 32 bit floating point, or 16 bit normalized integer)
  • ColorManagementProfile now supports Simple and Extended types as well as ICC color profiles  (requires Windows 10 Creators Update)
  • Added a CanvasComposition.CreateDrawingSession overload that allows specifying DPI
  • Building Win2D for UWP now requires Visual Studio 2017  (but if you are just using it in an app rather than compiling it yourself, both VS 2015 and 2017 continue to be supported)

Bugfixes:

  • #479 – CanvasVirtualControl OnRegionsInvalidated not triggered when launching app
  • #486 – Crash when resource loading completes after Canvas is already unloaded
  • #487 – ComputeHistogram does not take into account the SourceRectangle
  • #491 – CanvasControl & CanvasVirtualControl do not disable the accessibility view
  • #496 – Crash in Microsoft_Graphics_Canvas RegisteredEvent::Release
  • #498 – CanvasGradientMesh TensorPatch Colors documented incorrectly
  • #515 – Crash when passing a CanvasCommandList to CanvasImage.SaveAsync

Win2D supports a subset of SVG 1.1. For more details, see Direct2D’s page about SVG support.


Win2D is available on Github as well as NuGet.

GameDev News

blog comments powered by Disqus

Month List

Popular Comments