Different modes to resize or modify texts before drawing them. More...


Static Public Attributes | |
| int | None_ = 0 |
| No size constraint are to be applied. | |
| int | FillWidth = 1 |
| Font size will be changed so that the text block width is equal to valA. | |
| int | FillWidthWithMinMaxSize = 2 |
| Font size will be changed so that the text block width is equal to valA. | |
| int | FitInWidth = 3 |
| Font size will not be changed. | |
Different modes to resize or modify texts before drawing them.
|
static |
Font size will be changed so that the text block width is equal to valA.
New font size can be smaller or greater than the currently set font size. Input text is drawn as specified. There are performance considerations when changing the font size.
|
static |
Font size will be changed so that the text block width is equal to valA.
The new font size will then be capped to [valB, valC]. New font size can be smaller or greater than the currently set font size. Input text is drawn as specified. There are performance considerations when changing the font size.
|
static |
Font size will not be changed.
Some spaces (" ") will be replaced by line breaks (
) so that the text block is never greater than valA.
|
static |
No size constraint are to be applied.
Input text is drawn as specified and the font size isn't modified.