How do I get the size of DrawText?
I want to calculate how much of the screen my DrawText would use. Is this possible?
I need this to calculate how big my tooltip should be.
asked Feb 17 '15 at 03:37 PM in C++ Programming
You can use the function GetTextSize to get the width and height of the text. However, I have found it is a little off at times.
Here's an example:
Follow this question
Once you sign in you will be able to subscribe for any updates here