Generic function
Returns information about the size of the specified text on the specified medium.
text-size medium text #key text-style start end do-newlines? => largest-x largest-y cursor-x cursor-y baseline
<medium>.
type-union(<string>, <character>).
<text-style>.
<integer>. Default value: 0.
<integer>. Default value: size(text).
<boolean>. Default value: #f.
<boolean>. Default value: #f.
<integer>.
<integer>.
<integer>.
<integer>.
<integer>.
duim-sheets
duim-sheets
Returns information about the size of text on medium.
If text-style is specified, then the information that text-size returns is based on the text style it describes.
If start and end are specified, then these values represent a portion of the string specified by text, and only the characters they represent are examined by text-size. Both start and end represent the index of each character in text, starting at 0. By default, the whole of text is examined.
The do-newlines? and do-tabs? arguments let you specify how newline or tab characters in text should be handled. If either of these arguments is true, then any newline or tab characters in text are examined, as appropriate. By default, newline characters are ignored.