From 27b363db5f0856f3129ad926c5830bd33ef5e774 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 20 Nov 2024 11:21:27 +0000 Subject: [PATCH] PicoVector: Update example with text bounds. --- examples/pico_display_2/pico_display_2_vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pico_display_2/pico_display_2_vector.cpp b/examples/pico_display_2/pico_display_2_vector.cpp index 47c2a468..5a6c3d32 100644 --- a/examples/pico_display_2/pico_display_2_vector.cpp +++ b/examples/pico_display_2/pico_display_2_vector.cpp @@ -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);