disp_cross ( : : WindowHandle, Row, Column, Size, Angle : )

Displays crosses in a window.

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 procedures 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.


Parameters

WindowHandle (input_control)
window -> integer
Window identifier.

Row (input_control)
coordinates.y(-array) -> real
Row coordinate of the center.
Default value: 32
Suggested values: 0, 64, 128, 256, 511

Column (input_control)
coordinates.x(-array) -> real
Column coordinate of the center.
Default value: 32
Suggested values: 0, 64, 128, 256, 511

Size (input_control)
number -> real
Length of the bars.
Default value: 6.0
Suggested values: 4.0, 6.0, 8.0, 10.0
Typical range of values: 0.0 <= Size

Angle (input_control)
angle.rad -> real
Orientation.
Default value: 0.0
Suggested values: 0.0, 0.78539816339744830961566084581988


Result

disp_cross returns 2 (H_MSG_TRUE).


Parallelization Information

disp_cross is reentrant, local, and processed without parallelization.


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, open_textwindow, set_color, set_rgb, set_hsi, set_insert, set_line_width


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH