|
TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
| bool TextOut | ( | string | text, |
| int | x, | ||
| int | y, | ||
| uint | anchor, | ||
| out uint[] | data, | ||
| uint | width, | ||
| uint | height, | ||
| uint | color, | ||
| int | color_format | ||
| ) |
Draws a text in a custom array (buffer) and returns the result of that operation
| text | Displayed text that will be written to the buffer. Only one-lined text is displayed |
| x | X coordinate of the anchor point of the displayed text |
| y | Y coordinate of the anchor point of the displayed text |
| anchor | The value out of the 9 pre-defined methods of the displayed text's anchor point location: TA_LEFT, TA_CENTER, TA_RIGHT, TA_TOP, TA_VCENTER, TA_BOTTOM |
| data | Buffer, in which text is displayed. The buffer is used to create the graphical resource. |
| width | Buffer width in pixels |
| height | Buffer height in pixels |
| color | Text color |
| color_format | Reserved |