Operator Reference
disp_cross (Operator)
disp_cross
— Displays crosses in a window.
Signature
disp_cross( : : WindowHandle, Row, Column, Size, Angle : )
Description
disp_cross
displays one or several crosses in the output
window. A cross is described by the coordinates of the center point
(Row
,Column
), the length of its bars Size
and the
orientation Angle
.
The operators used to control the display of regions
(e.g., set_color
, set_gray
, set_draw
,
set_line_width
) can also be used with crosses. Several crosses can
be displayed with one call by using tuple parameters. For the use of colors
with several crosses, see set_color
.
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.
Row
(input_control) coordinates.y(-array) →
(real)
Row coordinate of the center.
Default: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
Column
(input_control) coordinates.x(-array) →
(real)
Column coordinate of the center.
Default: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
Size
(input_control) number →
(real)
Length of the bars.
Default: 6.0
Suggested values: 4.0, 6.0, 8.0, 10.0
Value range:
0.0
≤
Size
Angle
(input_control) angle.rad →
(real)
Orientation.
Default: 0.0
Suggested values: 0.0, 0.78539816339744830961566084581988
Result
disp_cross
returns 2 (
H_MSG_TRUE)
.
Possible Predecessors
open_window
,
set_rgb
,
set_lut
,
set_hsi
,
set_draw
,
set_color
,
set_colored
,
set_line_width
Alternatives
disp_arrow
,
disp_rectangle1
,
disp_rectangle2
,
disp_circle
See also
open_window
,
set_color
,
set_rgb
,
set_hsi
,
set_insert
,
set_line_width
Module
Foundation