jrmuizel / raqote

Rust 2D graphics library
BSD 3-Clause "New" or "Revised" License
1.05k stars 59 forks source link

Pixels iterator #7

Open RazrFalcon opened 5 years ago

RazrFalcon commented 5 years ago

It would be nice to have a Pixel type and a Pixel iterator, which will provide a better API than DrawTarget::data().

You can use rgb crate for this.

jrmuizel commented 5 years ago

Seems reasonable.