* Calculate string bounding box for multi-line strings. * @param str String to check. * @param suggestion Suggested bounding box. * @return Bounding box for the multi-line string, may be bigger than \a suggestion. */
| 749 | * @return Bounding box for the multi-line string, may be bigger than \a suggestion. |
| 750 | */ |
| 751 | Dimension GetStringMultiLineBoundingBox(StringID str, const Dimension &suggestion) |
| 752 | { |
| 753 | Dimension box = {suggestion.width, (uint)GetStringHeight(str, suggestion.width)}; |
| 754 | return box; |
| 755 | } |
| 756 | |
| 757 | /** |
| 758 | * Calculate string bounding box for multi-line strings. |
no test coverage detected