bernii / embedded-graphics-framebuf

Generic framebuffer implementation in Rust for use with embedded-graphics library
MIT License
26 stars 7 forks source link

Add support for drawing framebuffer to an origin point #20

Closed Alpha-3 closed 1 year ago

Alpha-3 commented 1 year ago

Extends FrameBuf with ability to draw via draw_iter() to an origin point that isn't (0, 0).

This allows creation of multiple smaller FrameBufs to buffer smaller rectangular regions, which greatly increases refresh rate from not having to redraw static portions of the display.

bernii commented 1 year ago

thanks for the fix!