Win2D version 1.19.0 is now available on NuGet (for Windows 10 or Windows / Phone 8.1) and GitHub.
This release adds four new image effects: AlphaMaskEffect, CrossFadeEffect, OpacityEffect, and TintEffect. These are new in the Windows 10 Anniversary Edition version of Direct2D, so are not supported on older versions of Windows. They are just helpers that make it easier to implement common operations – identical results could previously be Achieved by setting the right options on more configurable effect types:
- AlphaMaskEffect can be achieved using CompositeEffect
- CrossFadeEffect can be achieved using ArithmeticCompositeEffect
- OapcityEffect and TintEffect can be achieved using ColorMatrixEffect
Documentation improvements:
- Nukepayload2 added VB snippets to the readme and doc intro page (thanks for the contribution!)
- More information about how to use Win2D with C++/CX
- Better docs for DpiCompensationEffect
Bugfixes:
- #377 (Long-running CanvasAnimatedControl crashes due to CoreDispatcher::RunAsync failure)
- #354 (InvalidCastException when call CanvasDevice.GetSharedDevice)
- bricelam removed dead code in InkExample (thanks for the contribution!)
- CanvasRegionsInvalidatedEventArgs should not be activatable
We added an example showing how to draw superscript and subscript text:
Finally, the Ink example now includes an option to use the new Windows 10 Anniversary Update pencil rendering style:
This post first appeared on MSDN Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The MSDN Blogs., please read the originial post: here