NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char LineOut ( int  x1,
int  y1,
int  x2,
int  y2,
unsigned long  options = DRAW_OPT_NORMAL 
)
inline

Draw a line.

This function lets you draw a line on the screen from x1, y1 to x2, y2. Optionally specify drawing options. If this argument is not specified it defaults to DRAW_OPT_NORMAL. Valid display option constants are listed in the Drawing option constants group.

See Also
SysDrawLine, DrawLineType
Parameters
x1The x value for the start of the line.
y1The y value for the start of the line.
x2The x value for the end of the line.
y2The y value for the end of the line.
optionsThe optional drawing options.
Returns
The result of the drawing operation.
Examples:
ex_LineOut.nxc.