andrewjw / i75

Wrapper around Pimoroni's Interstate75 library to allow for local testing
GNU General Public License v3.0
2 stars 2 forks source link

Missing a clear function on graphics #96

Open danjenkins opened 1 week ago

danjenkins commented 1 week ago

the i75 display has a clear function.

https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/modules/picographics/picographics.h#L88

Would be great to add a clear function to this lib :)

danjenkins commented 1 week ago

Ah seems like I can just use graphics.fill()

andrewjw commented 5 days ago

Hi Dan,

Thanks for being the first known of this library other than me 😄 Please do raise any suggestions, bugs or improvements you find!

You're right, fill will do the job but I suspect clear will have a performance benefit so probably worth adding support for that too.

I've been a bit busy with other projects but I do intend to get back to improving this library, so I'll keep this ticket open even though there is a workaround.

Andrew