Phil Howard
8b32174fc9
PicoVector: Avoid MicroPython GC.
...
Since we're not using tracked allocation, any memory we don't explicitly
hold a reference to will be assumed unused by MicroPython's GC.
Pass up the pp_nodes and pp_node_counts points (hackily) to fix this.
2025-03-28 10:31:01 +00:00
Mike Bell
c94f4607de
PicoVector: Add optional text max width and max height.
2025-03-28 10:31:01 +00:00
Phil Howard
074570f99c
PicoVector: Revert the tile buffer to be fixed.
...
Ensure that MicroPython doesn't ever place the tile buffer into PSRAM
and trash performance.
2025-03-28 10:31:01 +00:00
Phil Howard
1bf73a20cd
PicoVector: Runtime buffer allocation.
2025-03-28 10:31:01 +00:00
Phil Howard
089e5df243
PicoVector: Refactor text multiline support.
...
Drop dependence on null terminated strings, and for a final linebreak.
Bound all text processing using the text length.
2025-03-28 10:31:01 +00:00
Phil Howard
09dbfa1e64
PicoVector: Improve text rendering and control.
2025-03-28 10:31:01 +00:00
Phil Howard
daa6603d1b
PicoVector: Big refactor, ppp primitives.
...
* Remove Polygon types in favour of primitives .circle, .rectangle etc
* Add a new Transform type for building up transformation matrices
* Add support to set/clear transform on drawing
2025-03-28 10:31:01 +00:00
Phil Howard
71bcc9d62c
PicoVector: Rewrite around new linked-lists poly.
2025-03-28 10:31:01 +00:00
Phil Howard
dd7d6262df
PicoVector: Use tile renderer for all pens.
2025-03-28 10:31:01 +00:00
Phil Howard
79a33d5a42
PicoVector: Fix x16 anti-aliasing.
2025-03-28 10:31:01 +00:00
Phil Howard
3add0024f6
PicoVector: C++ basic bringup.
2025-03-28 10:31:01 +00:00
Phil Howard
9879e6d602
PicoVector: Fix out of bounds drawing.
...
pretty-poly.h is not giving us fully clipped rectangles, so revert to the
slower bounds checked pixel for now.
2025-03-28 10:31:01 +00:00
Phil Howard
a415261cc9
PicoVector: Break things until they work.
2025-03-28 10:31:01 +00:00
Phil Howard
3d6ac818a1
PicoVector: alright-fonts bringup.
2025-03-28 10:31:01 +00:00
Phil Howard
4787460476
PicoVector: Vendor pretty-poly and tweak rotation.
2025-03-28 10:31:01 +00:00
Phil Howard
3de74ad5e6
PicoVector: Rewrite around new C pretty-poly.h.
2025-03-28 10:31:01 +00:00
Phil Howard
5f730ff400
PicoVector: Pass PicoGraphics clip into Pretty Poly.
2023-09-12 12:03:09 +01:00
Mike Bell
e908d5e53e
Allow pen function for fast tile alpha blending
2023-09-08 23:48:16 +01:00
Phil Howard
c443f8d206
PicoVector: Tweak polygon tile rendering loop.
2023-08-22 09:32:28 +01:00
Phil Howard
cfe8b3c096
PicoVector: Text rotation support.
2023-08-22 09:32:28 +01:00
Phil Howard
7c5ebfce8c
PicoVector: Matrix transforms and polygon type.
2023-08-22 09:32:28 +01:00
Phil Howard
61c9d7e9b6
PicoVector: Experimental matrix transforms.
2023-08-22 09:32:28 +01:00
Phil Howard
c7d9fe411a
PicoVector: Bugfixes and font/aa options.
2023-08-22 09:32:28 +01:00
Phil Howard
4671607b3a
PicoVector: Vector anti-aliasing support.
2023-08-22 09:32:28 +01:00
Phil Howard
95ab839ba5
PicoVector: Text wrap support.
2023-08-22 09:32:28 +01:00
Phil Howard
9e430fd68c
PicoVector: Better separation of concerns, add Alright Fonts support.
2023-08-22 09:32:28 +01:00