diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2021-03-12 16:50:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-12 16:50:39 -0800 |
| commit | b413535ee14a5e7ce15eba816d3d985de3dbc6c2 (patch) | |
| tree | 10c0fcc106eaccf8f67cbcf98d5461d9d8deaa7b /shared-module/displayio/Bitmap.h | |
| parent | 1b106de4e0d3227c427c9086ab5215566a7b211d (diff) | |
| parent | a9afa0d9d4c66cda8fe7e6c1a72765e704e94985 (diff) | |
Merge pull request #4376 from kmatch98/displayio_bitmap
add fill_region and draw_line to bitmap_tools
Diffstat (limited to 'shared-module/displayio/Bitmap.h')
| -rw-r--r-- | shared-module/displayio/Bitmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-module/displayio/Bitmap.h b/shared-module/displayio/Bitmap.h index f4bd7ce4d..d6aaaa8ba 100644 --- a/shared-module/displayio/Bitmap.h +++ b/shared-module/displayio/Bitmap.h @@ -49,5 +49,7 @@ typedef struct { void displayio_bitmap_finish_refresh(displayio_bitmap_t *self); displayio_area_t* displayio_bitmap_get_refresh_areas(displayio_bitmap_t *self, displayio_area_t* tail); +void displayio_bitmap_set_dirty_area(displayio_bitmap_t *self, int16_t x1, int16_t y1, int16_t x2, int16_t y2); +void displayio_bitmap_write_pixel(displayio_bitmap_t *self, int16_t x, int16_t y, uint32_t value); #endif // MICROPY_INCLUDED_SHARED_MODULE_DISPLAYIO_BITMAP_H |
