Skip to content

legends2k/Hello2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Graphics Primer

A presentation on 2D rendering concepts and a sample app. to go with it. The concepts explained are API-agnostic; Direct2D is used here for demonstration.

Slide Deck

It's a PDF presentation. To only view it, see 2d_graphics.pdf.

If you intend to edit the slides, presentation.md has the content in Markdown. It's just a plain text file, use your favouritve text editor. To compile it into a PDF you would need

to generate the presentation thus

pandoc --latex-engine=xelatex -t beamer -V theme:Malmoe -V colortheme:wolverine -V colorlinks:true -V mainfont:'Segoe UI' -o 2d_graphics.pdf presentation.md

Code

The source code goes into the /src folder. The project is tested to work on Windows 10 with Visual Studio 2015, 2017 and 2019; make sure UWP development (with Universal Windows Platform tools) package is installed.

If your Visual Studio does not automatically retarget the project to your toolchain, your build will fail. In that case, right-click the Hello2D project and click Retarget Projects from the pop-up menu. Visual Studio should automatically suggest the right versions for Windows SDK Version, Windows SDK Min. Version and Platform Toolset. Accept them and it should compile without any issues now.

Feel free to send a pull request to improve the code or the presentation.

About

2D Graphics Primer Presentation using Direct2D

Resources

License

Stars

Watchers

Forks

Packages

No packages published