Skip to content

Commit

Permalink
PicoVector: Update example with text bounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Nov 20, 2024
1 parent d44f008 commit adfa429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pico_display_2/pico_display_2_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit adfa429

Please sign in to comment.