disp_crossT_disp_crossDispCrossDispCrossdisp_cross (Operator)

Name

disp_crossT_disp_crossDispCrossDispCrossdisp_cross — Displays crosses in a window.

Signature

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

Herror T_disp_cross(const Htuple WindowHandle, const Htuple Row, const Htuple Column, const Htuple Size, const Htuple Angle)

void DispCross(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Size, const HTuple& Angle)

void HWindow::DispCross(const HTuple& Row, const HTuple& Column, double Size, double Angle) const

void HWindow::DispCross(double Row, double Column, double Size, double Angle) const

static void HOperatorSet.DispCross(HTuple windowHandle, HTuple row, HTuple column, HTuple size, HTuple angle)

void HWindow.DispCross(HTuple row, HTuple column, double size, double angle)

void HWindow.DispCross(double row, double column, double size, double angle)

def disp_cross(window_handle: HHandle, row: MaybeSequence[float], column: MaybeSequence[float], size: float, angle: float) -> None

Description

disp_crossdisp_crossDispCrossDispCrossDispCrossdisp_cross displays one or several crosses in the output window. A cross is described by the coordinates of the center point (RowRowRowRowrowrow,ColumnColumnColumnColumncolumncolumn), the length of its bars SizeSizeSizeSizesizesize and the orientation AngleAngleAngleAngleangleangle. The operators used to control the display of regions (e.g., set_colorset_colorSetColorSetColorSetColorset_color, set_grayset_graySetGraySetGraySetGrayset_gray, set_drawset_drawSetDrawSetDrawSetDrawset_draw, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_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_colorset_colorSetColorSetColorSetColorset_color.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

RowRowRowRowrowrow (input_control)  coordinates.y(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Row coordinate of the center.

Default value: 32.0

Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0

ColumnColumnColumnColumncolumncolumn (input_control)  coordinates.x(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinate of the center.

Default value: 32.0

Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0

SizeSizeSizeSizesizesize (input_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

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 Size Size Size size size

AngleAngleAngleAngleangleangle (input_control)  angle.rad HTuplefloatHTupleHtuple (real) (double) (double) (double)

Orientation.

Default value: 0.0

Suggested values: 0.0, 0.78539816339744830961566084581988

Result

disp_crossdisp_crossDispCrossDispCrossDispCrossdisp_cross returns TRUE.

Possible Predecessors

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb, set_lutset_lutSetLutSetLutSetLutset_lut, set_hsiset_hsiSetHsiSetHsiSetHsiset_hsi, set_drawset_drawSetDrawSetDrawSetDrawset_draw, set_colorset_colorSetColorSetColorSetColorset_color, set_coloredset_coloredSetColoredSetColoredSetColoredset_colored, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width

Alternatives

disp_arrowdisp_arrowDispArrowDispArrowDispArrowdisp_arrow, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2disp_rectangle2, disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle

See also

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, set_colorset_colorSetColorSetColorSetColorset_color, set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb, set_hsiset_hsiSetHsiSetHsiSetHsiset_hsi, set_insertset_insertSetInsertSetInsertSetInsertset_insert, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width

Module

Foundation