ClassesClasses | | Operators

disp_arrowdisp_arrowDispArrowDispArrow (Operator)

Name

disp_arrowdisp_arrowDispArrowDispArrow — Displays arrows in a window.

Signature

disp_arrow( : : WindowHandle, Row1, Column1, Row2, Column2, Size : )

Herror disp_arrow(const Hlong WindowHandle, double Row1, double Column1, double Row2, double Column2, double Size)

Herror T_disp_arrow(const Htuple WindowHandle, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2, const Htuple Size)

void DispArrow(const HTuple& WindowHandle, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2, const HTuple& Size)

void HWindow::DispArrow(const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2, const HTuple& Size) const

void HWindow::DispArrow(double Row1, double Column1, double Row2, double Column2, double Size) const

static void HOperatorSet.DispArrow(HTuple windowHandle, HTuple row1, HTuple column1, HTuple row2, HTuple column2, HTuple size)

void HWindow.DispArrow(HTuple row1, HTuple column1, HTuple row2, HTuple column2, HTuple size)

void HWindow.DispArrow(double row1, double column1, double row2, double column2, double size)

Description

disp_arrowdisp_arrowDispArrowDispArrowDispArrow displays one or several arrows in the output window. An arrow is described by the coordinates of the start (Row1Row1Row1Row1row1,Column1Column1Column1Column1column1) and the end (Row2Row2Row2Row2row2,Column2Column2Column2Column2column2). An arrowhead is displayed at the end of the arrow. The size of the arrowhead is specified by the parameter SizeSizeSizeSizesize. If the arrow consists of just one point (start = end) nothing is displayed. The operators used to control the display of regions (e.g. set_drawset_drawSetDrawSetDrawSetDraw, set_colorset_colorSetColorSetColorSetColor, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth) can also be used with arrows. Several arrows can be displayed with one call by using tuple parameters. For the use of colors with several arcs, see set_colorset_colorSetColorSetColorSetColor.

Attention

The start and the end of the arrows must fall within the window.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Window handle.

Row1Row1Row1Row1row1 (input_control)  line.begin.y(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Row index of the start.

Default value: 10.0

Suggested values: 0.0, 64.0, 128.0, 256.0

Typical range of values: 0.0 ≤ Row1 Row1 Row1 Row1 row1 ≤ 511.0 (lin)

Minimum increment: 1.0

Recommended increment: 1.0

Column1Column1Column1Column1column1 (input_control)  line.begin.x(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Column index of the start.

Default value: 10.0

Suggested values: 0.0, 64.0, 128.0, 256.0

Typical range of values: 0.0 ≤ Column1 Column1 Column1 Column1 column1 ≤ 511.0 (lin)

Minimum increment: 1.0

Recommended increment: 1.0

Row2Row2Row2Row2row2 (input_control)  line.end.y(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Row index of the end.

Default value: 118.0

Suggested values: 0.0, 64.0, 128.0, 256.0

Typical range of values: 0.0 ≤ Row2 Row2 Row2 Row2 row2 ≤ 511.0 (lin)

Minimum increment: 1.0

Recommended increment: 1.0

Column2Column2Column2Column2column2 (input_control)  line.end.x(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Column index of the end.

Default value: 118.0

Suggested values: 0.0, 64.0, 128.0, 256.0

Typical range of values: 0.0 ≤ Column2 Column2 Column2 Column2 column2 ≤ 511.0 (lin)

Minimum increment: 1.0

Recommended increment: 1.0

SizeSizeSizeSizesize (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Size of the arrowhead.

Default value: 1.0

Suggested values: 1.0, 2.0, 3.0, 5.0

Typical range of values: 0.0 ≤ Size Size Size Size size ≤ 20.0 (lin)

Minimum increment: 1.0

Recommended increment: 1.0

Restriction: Size > 0.0

Example (HDevelop)

set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)

Example (C)

set_colored(WindowHandle,3) ;
disp_arrow(WindowHandle,10,10,118,118,1.0);

Example (HDevelop)

set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)

Example (HDevelop)

set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)

Example (HDevelop)

set_color(WindowHandle,['red','green'])
disp_arrow(WindowHandle,[10,10],[10,10],[118,110],[118,118],1.0)

Result

disp_arrowdisp_arrowDispArrowDispArrowDispArrow returns 2 (H_MSG_TRUE).

Possible Predecessors

open_windowopen_windowOpenWindowOpenWindowOpenWindow, set_drawset_drawSetDrawSetDrawSetDraw, set_colorset_colorSetColorSetColorSetColor, set_coloredset_coloredSetColoredSetColoredSetColored, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, set_rgbset_rgbSetRgbSetRgbSetRgb, set_hsiset_hsiSetHsiSetHsiSetHsi

Alternatives

disp_linedisp_lineDispLineDispLineDispLine, gen_region_polygongen_region_polygonGenRegionPolygonGenRegionPolygonGenRegionPolygon, disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

open_windowopen_windowOpenWindowOpenWindowOpenWindow, set_colorset_colorSetColorSetColorSetColor, set_drawset_drawSetDrawSetDrawSetDraw, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth

Module

Foundation


ClassesClasses | | Operators