arduino_gfx_helpers
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arduino_gfx_helpers [2025/03/28 02:58] – kenson | arduino_gfx_helpers [2025/03/28 03:08] (current) – kenson | ||
|---|---|---|---|
| Line 241: | Line 241: | ||
| </ | </ | ||
| + | ===== Put in practice as ===== | ||
| - | Put in practice as: | ||
| <code cpp> | <code cpp> | ||
| #include < | #include < | ||
| Line 573: | Line 573: | ||
| // Create the base shape only once (static initialization). | // Create the base shape only once (static initialization). | ||
| static vector< | static vector< | ||
| - | | ||
| - | // Rotate the shape by the current rotation angles. | ||
| vector< | vector< | ||
| - | + | | |
| - | | + | |
| - | | + | |
| + | canvas.print(" | ||
| | | ||
| // Draw the off-screen canvas onto the display. | // Draw the off-screen canvas onto the display. | ||
arduino_gfx_helpers.1743130720.txt.gz · Last modified: 2025/03/28 02:58 by kenson
