Wykres commitów

2629 Commity (patch-picographics-generic)

Autor SHA1 Wiadomość Data
Phil Howard 0f0c1ab8a2 PicoGraphics: Add layer support to PicoVector tile renderer. 2025-04-25 17:33:52 +01:00
Phil Howard 75a01b2fb8 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-04-25 17:33:52 +01:00
Phil Howard eae591ae3c PicoVector: Update C++ examples. 2025-04-25 17:33:52 +01:00
Phil Howard 1115900443 PicoVector: Rewrite around new linked-lists poly. 2025-04-25 17:33:52 +01:00
Phil Howard faf675c9f8 PicoVector: Use tile renderer for all pens. 2025-04-25 17:33:52 +01:00
Phil Howard be5315dab3 PicoVector: Support float types in MicroPython bindings. 2025-04-25 17:33:52 +01:00
Phil Howard ede2bad4f3 PicoVector: Remove malloc from MicroPython bindings. 2025-04-25 17:33:52 +01:00
Phil Howard d188afcb11 PicoGraphics: Add get_clip. 2025-04-25 17:33:52 +01:00
Phil Howard ed494ecf20 PicoVector: Fix x16 anti-aliasing. 2025-04-25 17:33:52 +01:00
Phil Howard 9642cdf2cd PicoGraphics: Add RGB565 alpha blending support. 2025-04-25 17:33:52 +01:00
Phil Howard 568f329efc PicoVector: Remove alright_fonts.cpp from cmake. 2025-04-25 17:33:52 +01:00
Phil Howard db4670bb8e PicoVector: C++ basic bringup. 2025-04-25 17:33:52 +01:00
Phil Howard e2ce6eb416 PicoVector: render text that doesn't end with a linebreak. 2025-04-25 17:33:52 +01:00
Phil Howard e48c798bdb 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-04-25 17:33:52 +01:00
Phil Howard 56d430b862 PicoVector: fix pointer arithmatic in af_load_font_file.
Pointers were being incremented as if they were bytes, rather than larger
containers.
2025-04-25 17:33:52 +01:00
Phil Howard 116df431fb PicoVector: Break things until they work. 2025-04-25 17:33:52 +01:00
Phil Howard 9c0e696230 PicoVector: alright-fonts bringup. 2025-04-25 17:33:52 +01:00
Phil Howard 9250e129db PicoVector: Swap rotate translation order. 2025-04-25 17:33:52 +01:00
Phil Howard 116268b6f5 PicoVector: Vendor pretty-poly and tweak rotation. 2025-04-25 17:33:52 +01:00
Phil Howard a7a98ae3aa PicoVector: Suppress errors.
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2025-04-25 17:33:52 +01:00
Phil Howard d19971d7e0 PicoVector: Rewrite MicroPython bindings. 2025-04-25 17:33:52 +01:00
Phil Howard 9f1d68dbec PicoVector: Rewrite around new C pretty-poly.h. 2025-04-25 17:33:52 +01:00
Phil Howard 1a8f8e9aae PicoGraphics: Support multiple layers in more types. 2025-04-25 17:33:52 +01:00
Phil Howard 354c95ca61 PicoGraphics: Layers.
Add preliminary support for multiple layered drawing surfaces.

Allows, for example, static content to be loaded into one layer and
remain unmodified while the above layer contains animations.

Particularly useful for drawing PNG or JPEG UI elements which are
then overdrawn with text or animated elements, without paying the
cost of loading/decoding every frame.
2025-04-25 17:33:52 +01:00
Philip Howard a3811b8330
Merge pull request #1075 from pimoroni/feature/python-linting-update
QA/CI: Update and apply Python and MicroPython linting rules.
2025-04-25 17:33:11 +01:00
Phil Howard 4ebdff414e QA: Lint Python tools. 2025-04-25 17:04:26 +01:00
Phil Howard c7461571ac QA: Lint MicroPython modules. 2025-04-25 17:02:02 +01:00
Phil Howard 42da5174bb QA: Lint MicroPython examples. 2025-04-25 17:01:41 +01:00
Phil Howard 50522e44dd CI: Update Python linting. 2025-04-25 17:01:19 +01:00
Phil Howard f5e830176b Plasma2040/Stick: Remove examples.
Examples and builds have moved here: https://github.com/pimoroni/plasma
2025-04-25 17:00:41 +01:00
Phil Howard d62d09356e Interstate75: Remove examples. 2025-04-25 16:59:05 +01:00
Phil Howard ae6aea3a09 Unicorn: Remove duplicate examples.
These have moved to https://github.com/pimoroni/unicorn.
2025-04-25 16:58:57 +01:00
Hel Gibbons 53460386b8
Merge pull request #1073 from pimoroni/examples/bme690
Update BME68X and BME690 examples
2025-04-22 12:37:15 +01:00
Hel Gibbons f8548e4d34 Update BME68X and BME690 examples 2025-04-15 11:47:07 +01:00
Hel Gibbons 575e3a17bc
Merge pull request #1062 from pimoroni/examples/microdot
Examples: update Unicorn Paint for microdot 2.x
2025-03-11 09:51:37 +00:00
Hel Gibbons 054fca0d79 compatibility changes for microdot 2.x 2025-03-10 15:15:14 +00:00
Philip Howard e890afb03b
Merge pull request #1061 from pimoroni/patch/stellar-paint
compatibility changes for use with microdot 2.x
2025-03-10 11:39:03 +00:00
thirdr 53e5864101 compatibility changes for use with microdot 2.x 2025-03-03 09:40:42 +00:00
Philip Howard 2eb97532ea
Merge pull request #1057 from pimoroni/patch-scd4x-calibration
SCD4X: Add calibration commands for #1056.
2025-02-24 13:03:39 +00:00
Philip Howard 0658719ff6
Merge pull request #1058 from pimoroni/patch-pico-sdk-211
CI: Bump to Pico SDK 2.1.1.
2025-02-24 13:02:06 +00:00
Phil Howard 5297f9aa55 CI: Bump to Pico SDK 2.1.1. 2025-02-21 10:39:38 +00:00
Phil Howard cfa3d1d90d SCD4X: Add calibration commands for #1056. 2025-02-21 10:29:38 +00:00
Philip Howard 4e20ac1894
Merge pull request #1055 from Zyuangeorge/correct-as7343-demo-print
Correct the output of the as7343 demo
2025-02-06 12:49:42 +00:00
Zyuangeorge 9866736ffd correct the output of the as7343 demo 2025-02-04 13:00:15 +00:00
Pete Favelle 6628efed8a Don't include the spacing after the final letter when measuring text 2025-01-18 10:51:22 +00:00
Philip Howard aa1e3f18b7
Merge pull request #1029 from pimoroni/feature/scd4x-low-power
SCD4X: API bump and possible low power support
2025-01-15 11:59:00 +00:00
Philip Howard f7c45a9983
Merge pull request #1042 from jaeheonshim-forks/inky-blocking-fix
Fix: Properly implement non-blocking update functions for the Inky Frame
2025-01-15 11:33:56 +00:00
Philip Howard d014b289d6
Merge pull request #1049 from pimoroni/patch-pixel-span
PicoGraphics: Fix overflow bug in p4 pixel span.
2025-01-15 09:01:45 +00:00
Phil Howard 19689b4414 PicoGraphics: Fix overflow bug in p4 pixel span.
A properly aligned zero length pixel span would cause a single
pixel to be drawn, the length overflowed and a subsequent
2GB of pixels drawn by the main loop.

Add a simple check to discard any attempt to draw zero length spans.

Fixes pimoroni/pimoroni-pico-rp2350#32
2025-01-14 12:16:12 +00:00
Philip Howard a90abba9db
Merge pull request #1046 from pimoroni/docs/readme-rp2350-warning
README: Added link to RP2350 repo
2025-01-08 11:48:29 +00:00