kopia lustrzana https://github.com/pimoroni/pimoroni-pico
PicoVector: Update example with text bounds.
rodzic
9359f679d7
commit
15b0b69a28
|
@ -51,7 +51,7 @@ int main() {
|
|||
pp_mat3_translate(&pos, 50, 50);
|
||||
pp_mat3_rotate(&pos, a);
|
||||
vector.draw(poly);
|
||||
vector.text("Hello World", &pos);
|
||||
vector.text("Hello World", 320, 240, &pos);
|
||||
|
||||
// update screen
|
||||
st7789.update(&graphics);
|
||||
|
|
Ładowanie…
Reference in New Issue