How string is displayed with this funtion? The function takes rect dimensions as parameter but it is observed that it draws rect with dimensions which fits string exactly, if string's len and font proportion is smaller than rect dimensions otherwise it draws rect with original dimensions and crops the string accordingly.
Does it have any relation with text mode and align property of string?
Does it have any relation with text mode and align property of string?