Win2D 1.3.0 – CanvasVirtualControl and DpiScale


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

 

What’s new:

  • CanvasVirtualControl for when you want to draw just the visible part of a potentially very large image.
  • DpiScale property (on CanvasControl, CanvasAnimatedControl, and CanvasVirtualControl) for when you want to draw at a lower resolution than the physical display.  This boosts performance at the cost of visual crispness, which can be a good option for some games on high DPI but lower powered devices like phones.
  • CanvasCreateResourcesEventArgs now has a public constructor, so you can create your own instances of it if you need to call a CreateResources event handler directly  (for instance, writing tests for a Win2D app).

Comments (1)

  1. Chris says:

    Pleased to see all these additions to Win2D.  DpiScale should help a bit in combination with adjusting TargetElapsedTime on the CanvasAnimatedControl when it comes to optimizing battery usage.

    Looking forward to custom shaders!

Skip to main content