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

Parameters
textDisplayed text that will be written to the buffer. Only one-lined text is displayed
xX coordinate of the anchor point of the displayed text
yY coordinate of the anchor point of the displayed text
anchorThe 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
dataBuffer, in which text is displayed. The buffer is used to create the graphical resource.
widthBuffer width in pixels
heightBuffer height in pixels
colorText color
color_formatReserved
Returns
Returns true if successful, otherwise false