What is display mechanism of GUI_DisplayStringInRect() function?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • What is display mechanism of GUI_DisplayStringInRect() function?

    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?