Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 287 -
------------------------------------------------------------------------------
35. Put image data on the screen. <Main>
------------------------------------------------------------------------------
[Name]
_putimage
[Syntax]
#include <graph.h>
void _putimage( short sx, short sy, char *image, short action ) ;
[Description]
Reads image data from the memory and draws it on the screen.
[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)
(2) If a part of the specified graphic image protrudes out of the
clipping region, this function draws only image data in the clipping
region.
(3) The maximum image size is 64K bytes because "huge" data is
unavailable in C Executor.
<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 executed due to insufficient memory : _GRINSUFFICIENTMEMORY
Not drawn in clipping region : _GRNOOUTPUT
[Remarks]
This function is available on only VGA Graphic.