bernii / embedded-graphics-framebuf

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

fix: handle drawing outside of declared surface #3

Closed pyaillet closed 2 years ago

pyaillet commented 2 years ago

Fix #2

This PR adds a boundary check and ignore pixels drawn outside of the declared surface.

bernii commented 2 years ago

thanks!