Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 280 -
------------------------------------------------------------------------------
28. Draw a line. <Main>
------------------------------------------------------------------------------
[Name]
_lineto
[Syntax]
#include <graph.h>
short _lineto( short x, short y ) ;
[Description]
Draws a line from the current pixel cursor to the specified
coordinate.
[Compatibility]
<MS-C Non-Compatible Specification>
(1) The following status is not returned by "_grstatus" function after
the execution of this function.
The output is clipped by view port. : _GRCLIPPED
In this case, the same graphic status is return as _GRNOOUTPUT, and
the return value of this function is always "0". (Could not draw
normally)
<MS-C Compatible Specification>
(1) The following graphic statuses are returned by the "_grstatus"
function after the execution of this function.
Executed successfully : _GROK
Executed in text mode : _GRNOTINPROPERMODE
Not drawn in clipping region : _GRNOOUTPUT
[Remarks]
This function is available on both ACRTC and VGA Graphic.