Rasterize your shapes on a bitmap.
- Rust 100%
| examples | rebranding | |
| src | done olympics | |
| .gitignore | ground works | |
| Cargo.toml | rebranding | |
| LICENSE | Initial commit | |
| README.md | rebranding | |
pixpup
Rasterize your shapes on a bitmap.
Example
fn main(){letmutbitmap: Bitmap=Bitmap::new(48,48);Line{start: Pos(1,1),end: Pos(32,16),}.rasterize(&mutbitmap);println!("{}",PlainBitFormatter::new("~>"," ",||bitmap.bits().horizontal_bits(),bitmap.width(),bitmap.height()))}