This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
pimoroni-pico
kopia lustrzana
https://github.com/pimoroni/pimoroni-pico
Obserwuj
1
Polub
0
Forkuj
You've already forked pimoroni-pico
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
79a2349fac
pimoroni-pico
/
libraries
/
pico_graphics
/
CMakeLists.txt
2 wiersze
29 B
CMake
Czysty
Zwykły widok
Historia
Unescape
Escape
Make font settable by user at runtime This allows fonts to be hot-swapped out by calling `set_font` Unfortunately the way fonts are currently stored limits the maximum height to 8 pixels, since that's the size of a uint8_t and the y dimension is bitwise encoded. The width can be arbitrary, by specifying the widths and max_width (the multiplier for number of bytes per char). Might be worth grabbing some more bits from 32blit to make this not terrible, but now a user-defined font is an .hpp and a `set_font` away.
2021-02-23 17:07:03 +00:00
include
(
pico_graphics.cmake
)