Win2D

 

Welcome to the Win2D Github Open Source project.  

Win2D is an open source project which as developed a Windows Runtime API to expose the power of hardware accelerated Direct2D graphics to Windows Universal App developers who are targeting Windows 8 and Windows Phone. 

Win2D is available to both C# and C++ developers writing Windows 8.1 and Windows Phone 8.1 apps. 

Getting Started

Win2D is an easy-to-use Windows Runtime API for immediate mode 2D graphics rendering with GPU acceleration. It is available to C# and C++ developers writing Windows Store apps for Windows 8.1 and Windows Phone 8.1. It utilizes the power of Direct2D, and integrates seamlessly with XAML and ICoreWindow.

Win2D is work in progress and evolving rapidly. The goal of releasing this code in an early, incomplete state is to solicit early developer feedback. The project backlog shows what we plan to add in the future, and the order in which we plan to add it.

Source code and issue tracking are available at https://github.com/Microsoft/Win2D

Getting Started

To get started using Win2D:

  • Clone the source code from github
  • Run build.cmd to compile it
  • Point Visual Studio at the resulting NuGet packages
  • Add a CanvasControl to your XAML page

See the readme for more detailed instructions.

To find out more, check out the following links:

blog post:            https://blogs.msdn.com/b/win2d

code:                    https://github.com/Microsoft/Win2D

clip_image001

documentation: https://microsoft.github.io/Win2D/html/Introduction.htm

Below is an example of what you can do using Win2D. And it is not a “bitmap”, but a vectorized image.

clip_image002clip_image003