disp_crossT_disp_crossDispCrossDispCrossdisp_cross (算子)

名称

disp_crossT_disp_crossDispCrossDispCrossdisp_cross — 在窗口中显示叉号。

签名

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

描述

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

执行信息

参数

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

窗口句柄。

RowRowRowRowrowrow (输入控制)  coordinates.y(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Row coordinate of the center.

默认值: 32.0

建议值: 0.0, 64.0, 128.0, 256.0, 511.0

ColumnColumnColumnColumncolumncolumn (输入控制)  coordinates.x(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinate of the center.

默认值: 32.0

建议值: 0.0, 64.0, 128.0, 256.0, 511.0

SizeSizeSizeSizesizesize (输入控制)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Length of the bars.

默认值: 6.0

建议值: 4.0, 6.0, 8.0, 10.0

值范围: 0.0 ≤ Size Size Size Size size size

AngleAngleAngleAngleangleangle (输入控制)  angle.rad HTuplefloatHTupleHtuple (real) (double) (double) (double)

Orientation.

默认值: 0.0

建议值: 0.0, 0.78539816339744830961566084581988

结果

disp_crossdisp_crossDispCrossDispCrossDispCrossdisp_cross 返回 2 ( H_MSG_TRUE )。

可能的前趋

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

替代

disp_arrowdisp_arrowDispArrowDispArrowDispArrowdisp_arrow, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2disp_rectangle2, disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle

另见

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

模块

基础