Skip to content

kendallsss/D2D1_rs_simple_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct2D from Rust

A simple yet very unsafe example to demonstrate how to use Direct2D from rust. Window creation and all that stuff is also included.

Pretty picture

Requirements

  • Lastest version of rust nightly (MSVC ABI)
  • Only tested on 64bits
  • winapi
  • user32-sys
  • kernel32-sys

Note

This example is heavily inspired from this tutorial: https://msdn.microsoft.com/en-us/library/windows/desktop/dd370994%28v=vs.85%29.aspx

About

The direct 2D api used from rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%