Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 252 -
------------------------------------------------------------------------------
3. Draw a circle or an ellipse. <Main>
------------------------------------------------------------------------------
[Name]
_ellipse
[Syntax]
#include <graph.h>
short _ellipse( short fill, short rsx, short rsy,
short rex, short rey ) ;
[Description]
Draws a circle or an ellipse.
[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) However, the right value is not returned in case of the
_GFILLINTERIOR attribute is specified.
(2) The logical operation of "_setwritemode" is not effective to this
function in MS-C, but effective in C Executor. Therefore, the outline
(border line) may not be drawn by specified logical color in case that
_GFILLINTERIOR is specified and _GPSET is not specified in this
function.
(3) There may be the difference from specified rectangle by the drawing
precision of this function.
(4) The painting operation may not be done correctly in case that
_GFILLINTERIOR is specfied in this function.
<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
Invalid parameters : _GRINVALIDPARAMETER
Not painted due to insufficient memory : _GRINSUFFICIENTMEMORY
Not drawn in clipping region : _GRNOOUTPUT
[Remarks]