Previous Up Next

_SDRAWline
Draws a line between A and B on a surface.

ObjSurface _SDRAWline (
ObjSurface _surface_
I _xA_
I _yA_
I _xB_
I _yB_
I _type_
I _size_
I _color_
)
Parameters

_surface_
Rendering surface
_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_
Line thickness
_color_
Line color (24 bits)
Return value

Rendering surface