Git Product home page Git Product logo

win2d-samples's Introduction

Win2D samples

These sample projects show how to use the Win2D graphics API.

  • Example Gallery is the main Win2D demo and sample application. This is a C# XAML application, and contains many different examples showing various capabilities of Win2D, with a menu to select between them. Start here to get an idea of what Win2D can do and how use it.

    • Example Gallery is also available in the Store.
  • Composition Example shows how to use Win2D to draw onto a Windows.UI.Composition drawing surface or swapchain.

  • CoreWindow Example is a C# application that draws directly to a CoreWindow, without using XAML.

  • Simple Sample is, yup, you guessed it! Pretty much the simplest possible app that uses Win2D - it's our version of the venerable "hello world".

Most of the samples contain two different Visual Studio solution files. The *.uap.sln version is for Windows 10 (Universal Windows Platform), while *.81.sln is for Windows 8.1 and Windows Phone 8.1.

Composition Example only contains a .uap.sln, because it does not support Windows 8.1.

These samples reference the NuGet packages Win2D.uwp or Win2D.win81, which will be automatically downloaded when you build the sample, so there is no need to separately install Win2D itself. Win2D source code is also available for those who like to see how the sausage is made.

An additional set of unofficial samples were created during a July 2015 app building exercise:

For more information about Win2D, see its documentation.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

win2d-samples's People

Contributors

clandrew avatar damyanp avatar shawnhar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.