Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add measure_multiline_text #884

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

JaniM
Copy link

@JaniM JaniM commented Jan 13, 2025

Expands on top of #883, that should be merged first. This PR only adds the latest commit so review should focus on that.

This change adds a new function, measure_multiline_text and updates draw_multiline_text to return the dimensions. I expanded the text_wrap example to show its results.

Should solve #870.

@JaniM JaniM force-pushed the push-wunzvnrqtykv branch from 161164d to a7c5d7f Compare January 13, 2025 10:58
@JaniM JaniM force-pushed the push-wunzvnrqtykv branch from a7c5d7f to 60830fc Compare January 13, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant