Project

General

Profile

Previous Up Next

_DRAWline8
Draw a line inside a 8-bits bitmap, from A to B.

ObjBitmap8 _DRAWline8 (
ObjBitmap8 _bitmap_
I _xA_
I _yA_
I _xB_
I _yB_
I _type_
I _size_
I _color_
)
Parameters

_bitmap_
any 8-bits bitmap
_xA_
x coordinate of A
_yA_
y coordinate of A
_xB_
x coordinate of B
_yB_
y coordinate of B
_type_
type of line:
DRAW_SOLID normal
DRAW_INVISIBLE invisible
_size_
width of line
_color_
color of line (24bits)
Return value

same bitmap