kopia lustrzana https://github.com/pimoroni/pimoroni-pico
PicoVector: Update example with text bounds.
rodzic
c9c7f1d634
commit
27b363db5f
|
@ -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