Expand description
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();Re-exports§
pub use context::Context;
Modules§
- color
- 8 bit rgb and rgba color
- context
- a drawing context each canvas has exactly one
- events
- event listeners