206d0e598a
vectorio builds on m4 express feather Concrete shapes are composed into a VectorShape which is put into a displayio Group for display. VectorShape provides transpose and x/y positioning for shape implementations. Included Shapes: * Circle - A radius; Circle is positioned at its axis in the VectorShape. - You can freely modify the radius to grow and shrink the circle in-place. * Polygon - An ordered list of points. - Beteween each successive point an edge is inferred. A final edge closing the shape is inferred between the last point and the first point. - You can modify the points in a Polygon. The points' coordinate system is relative to (0, 0) so if you'd like a top-center justified 10x20 rectangle you can do points [(-5, 0), (5, 0), (5, 20), (0, 20)] and your VectorShape x and y properties will position the rectangle relative to its top center point * Rectangle A width and a height. |
||
---|---|---|
.. | ||
__init__.c | ||
__init__.h | ||
area.h | ||
Bitmap.c | ||
Bitmap.h | ||
ColorConverter.c | ||
ColorConverter.h | ||
display_core.c | ||
display_core.h | ||
Display.c | ||
Display.h | ||
EPaperDisplay.c | ||
EPaperDisplay.h | ||
FourWire.c | ||
FourWire.h | ||
Group.c | ||
Group.h | ||
I2CDisplay.c | ||
I2CDisplay.h | ||
mipi_constants.h | ||
OnDiskBitmap.c | ||
OnDiskBitmap.h | ||
Palette.c | ||
Palette.h | ||
Shape.c | ||
Shape.h | ||
TileGrid.c | ||
TileGrid.h |