diff options
| author | warriorofwire <3454741+WarriorOfWire@users.noreply.github.com> | 2020-05-08 23:03:15 -0700 |
|---|---|---|
| committer | warriorofwire <3454741+WarriorOfWire@users.noreply.github.com> | 2020-05-09 22:15:51 -0700 |
| commit | 4086600b61f14e043f02c1b8771e7780b82f313c (patch) | |
| tree | 43845cc9eb946670ec88302d097dfccfe639995c /shared-module/vectorio/VectorShape.h | |
| parent | 1c6e646f5630a46ea77e848788947c099e2c1f31 (diff) | |
vectorio: switch per-shape transform to Display
Rather than maintain a transform per-shape, we'll just use whatever
settings are on the Display. Currently only transpose is done.
Diffstat (limited to 'shared-module/vectorio/VectorShape.h')
| -rw-r--r-- | shared-module/vectorio/VectorShape.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/vectorio/VectorShape.h b/shared-module/vectorio/VectorShape.h index ac60e5b98..8fc698dbc 100644 --- a/shared-module/vectorio/VectorShape.h +++ b/shared-module/vectorio/VectorShape.h @@ -30,7 +30,7 @@ typedef struct { mp_obj_t pixel_shader; int16_t x; int16_t y; - bool transpose_xy; + displayio_buffer_transform_t *absolute_transform; bool dirty; // True if we need to draw // Tracks current shape footprint and expands outward as the shape dirties and changes. // This is suboptimal if you move your shape far. Could add more state to only redraw |
