Project

General

Profile

Previous Up Next

_TXTout
Draw a text inside a window

ObjWin _TXTout (
ObjWin _window_
ObjFont _font_
I _x_
I _y_
I _flag_
I _color_
S _text_
)
Parameters

_window_
any window
_font_
any font
_x_
x coordinate
_y_
y coordinate
_flag_
position flag :
TD_BASELINE _y_ is the baseline coordinate
TD_BOTTOM _y_ is the bottom coordinate
TD_TOP _y_ is the top coordinate
TD_CENTER _x_ is the center coordinate
TD_LEFT _x_ is the left coordinate
TD_RIGHT _x_ is the right coordinate
_color_
color (24 bits)
_text_
text to draw
Return value

same window