This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Compute size of text in advance. #28
Comments
Did you not find |
Nope. Quick search returns nothing. |
It's a generated file, so it's not in the repo. You'll have to rely on auto compete, but it does indeed exist. |
Autocomplete doesn't return anything either. I use |
Odd, I'm fairly certain it should be there. I'll confirm when I get time. |
|
Ah it returns In the meantime you can use the cinterop apis to workaround this. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I could not find a way to compute the size of a text in advance, without rendering it on screen.
As far as I know, ImGui has a
CalcTextSize
function that facilitates this functionality.The text was updated successfully, but these errors were encountered: