Operator Reference
set_insert (Operator)
set_insert
— Define the pixel output function.
Warning
set_insert
is obsolete and is only provided for
reasons of backward compatibility.
Signature
set_insert( : : WindowHandle, Mode : )
Description
set_insert
defines the function, with which pixels are
displayed in the output window. It is e.g., possible for a pixel to
overwrite the old value. In most of the cases there is a functional
relationship between old and new values.
The definition value is only valid for the valid window. Output
operators that honor Mode
are
e.g., disp_region
,
disp_polygon
,disp_circle
.
Possible display functions are:
- 'copy' :
overwrite displayed pixels
- 'xor' :
display old "xor" new pixels
- 'complement' :
complement displayed pixels
There may not be all functions available, depending on the physical display. However, “copy” is always available.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandle
(input_control) window →
(handle)
Window handle.
Mode
(input_control) string →
(string)
Name of the display function.
Default: 'copy'
List of values: 'complement' , 'copy' , 'xor'
Result
set_insert
returns 2 (
H_MSG_TRUE)
if the parameter is correct and
the window is valid. Otherwise an exception is raised.
Possible Predecessors
Possible Successors
See also
Module
Foundation