Commit Graph

3 Commits

Author SHA1 Message Date
foamyguy
b6a5f421a9 use draw protocol impl 2022-05-08 12:02:59 -05:00
Kenny
739ef92fc9
Update __init__.h
More random spaces. Why isn’t this in a pre-commit check
2021-08-03 09:20:02 -07:00
Kenny
8607cdd783 vectorio: add draw protocol
* Removes VectorShape from user python interactions
* Re-integrates vectorio with displayio behind draw protocol implementations
* Implements draw protocol with VectorShape
* Composes VectorShape behaviors into Rectangle, Circle and Polygon
* Fixes terrible pixel garbage being left behind
* Improves redraw performance (heuristically) by tracking dirty area separately from current area.

Known Issues:
It does not work with transposed views.
2021-08-02 20:19:54 -07:00