Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extend API for text measurement (bug 4515) and improve *_Wrapped …
…functions Bug 4515: - add an extend API for text measurement without rendering e.g: functions named TTF_Measure*() *_Wrapped functions: - text is measured to foresee the wrapping, it avoids to have too many calls to Size() functions - 'words' that wouldn't fit within the wrap length are now cut.
- Loading branch information
Showing
2 changed files
with
141 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters