3
0
Fork
You've already forked pixpup
0
Rasterize your shapes on a bitmap.
  • Rust 100%
2025年11月14日 13:49:08 +08:00
examples rebranding 2025年11月14日 13:49:08 +08:00
src done olympics 2025年10月17日 17:54:55 +08:00
.gitignore ground works 2025年10月14日 23:06:46 +08:00
Cargo.toml rebranding 2025年11月14日 13:49:08 +08:00
LICENSE Initial commit 2025年10月14日 08:18:23 +02:00
README.md rebranding 2025年11月14日 13:49:08 +08:00

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()))}