Closed Johennes closed 4 years ago
As a note to reviewers, it appears this PR is dependent on #47 being approved, so I'll grab this after I have a chance to review #47.
@Johennes #47 was merged. Do you want to go ahead and rebase? Thanks
👌 Will take care of it after work today.
Sounds good. Thanks!
Ok, it's rebased on master
now.
Awesome! Thank you.
This extends the
image
method with two additional arguments for the image origin on the screen. The previous exact size check was adapted to ensure that the image drawn at the supplied origin does not exceed the display dimensions.The changes allow to update a smaller part of the screen with an image which is especially benefitial on lower end hardware. Some example test results from a Rasberry Pi Zero:
Fixes: #48
Note that this was based off of my changes in #47 and will have to be rebased before merging.