circuitpython/shared-module/displayio
Jeff Epler f40c0c13ad displayio: area: add displayo_area_copy_coords, displayio_area_empty
.. and simplify the implmentation of displayio_area_union

This _slightly_ changes the behavior of displayio_area_union:

Formerly, if one of the areas was empty, its coordinates were still
used in the min/max calculations.

Now, if one of the areas is empty, the result gets the other area's coords

In particular, taking the union of the empty area with coords (0,0,0,0)
with the non-empty area (x1,y1,x2,y2) would give the area (0,0,x2,y2)
before, and (x1,y1,x2,y2) after the change.
2021-03-18 09:05:07 -05:00
..
__init__.c displayio: area: add displayo_area_copy_coords, displayio_area_empty 2021-03-18 09:05:07 -05:00
__init__.h run code formatting script 2021-03-15 19:27:36 +05:30
area.h displayio: area: add displayo_area_copy_coords, displayio_area_empty 2021-03-18 09:05:07 -05:00
Bitmap.c run code formatting script 2021-03-15 19:27:36 +05:30
Bitmap.h run code formatting script 2021-03-15 19:27:36 +05:30
ColorConverter.c run code formatting script 2021-03-15 19:27:36 +05:30
ColorConverter.h run code formatting script 2021-03-15 19:27:36 +05:30
display_core.c run code formatting script 2021-03-15 19:27:36 +05:30
display_core.h run code formatting script 2021-03-15 19:27:36 +05:30
Display.c run code formatting script 2021-03-15 19:27:36 +05:30
Display.h run code formatting script 2021-03-15 19:27:36 +05:30
EPaperDisplay.c run code formatting script 2021-03-15 19:27:36 +05:30
EPaperDisplay.h run code formatting script 2021-03-15 19:27:36 +05:30
FourWire.c run code formatting script 2021-03-15 19:27:36 +05:30
FourWire.h run code formatting script 2021-03-15 19:27:36 +05:30
Group.c run code formatting script 2021-03-15 19:27:36 +05:30
Group.h run code formatting script 2021-03-15 19:27:36 +05:30
I2CDisplay.c run code formatting script 2021-03-15 19:27:36 +05:30
I2CDisplay.h run code formatting script 2021-03-15 19:27:36 +05:30
mipi_constants.h Minor tweaks based on feedback 2018-09-06 14:49:49 -07:00
OnDiskBitmap.c run code formatting script 2021-03-15 19:27:36 +05:30
OnDiskBitmap.h run code formatting script 2021-03-15 19:27:36 +05:30
Palette.c add is_transparent getter to displayio.Palette 2021-03-16 20:43:23 -05:00
Palette.h run code formatting script 2021-03-15 19:27:36 +05:30
Shape.c run code formatting script 2021-03-15 19:27:36 +05:30
Shape.h run code formatting script 2021-03-15 19:27:36 +05:30
TileGrid.c run code formatting script 2021-03-15 19:27:36 +05:30
TileGrid.h run code formatting script 2021-03-15 19:27:36 +05:30