1 unstable release

Uses old Rust 2015

0.1.0 Jul 26, 2018

#13 in #ctx

Apache-2.0

30KB
730 lines

Kansas

A 2d drawing + event handling api.


lib.rs:

a simple canvas-like drawing api for putting pixels on a screen

extern crate wcanvas;
use wcanvas::Canvas;  

let ctx = Canvas::new(640, 480);

ctx.fill_color(0x0000FF);
ctx.fill_rect(40, 80, 100, 200);
ctx.pause();

Dependencies

~6MB
~124K SLoC