Project

General

Profile

Previous Up Next

_DRAWrectangleText
Draw a formated text inside a bitmap.

ObjBitmap _DRAWrectangleText (
ObjBitmap _bitmap_
ObjFont _font_
I _x_
I _y_
I _width_
I _height_
I _color_
I _flag_
S _text_
)
Parameters

_bitmap_
any bitmap
_font_
any font
_x_
x coordinate
_y_
y coordinate
_width_
width
_height_
height
_color_
color (24 bits)
_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
_text_
text to draw
Return value

same bitmap