Name
disp_linedisp_lineDispLineDispLine — Draws lines in a window.
void DispLine(const HTuple& WindowHandle, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2)
void HWindow::DispLine(const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2) const
void HWindow::DispLine(double Row1, double Column1, double Row2, double Column2) const
static void HOperatorSet.DispLine(HTuple windowHandle, HTuple row1, HTuple column1, HTuple row2, HTuple column2)
void HWindow.DispLine(HTuple row1, HTuple column1, HTuple row2, HTuple column2)
void HWindow.DispLine(double row1, double column1, double row2, double column2)
disp_linedisp_lineDispLineDispLineDispLine displays one or several lines in the output
window. A line is described by the coordinates of the start
(Row1Row1Row1Row1row1,Column1Column1Column1Column1column1) and the coordinates of the end
(Row2Row2Row2Row2row2,Column2Column2Column2Column2column2).
The operators used to control the display of regions
(e.g. set_colorset_colorSetColorSetColorSetColor, set_grayset_graySetGraySetGraySetGray, set_drawset_drawSetDrawSetDrawSetDraw,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth) can also be used with lines. Several lines can
be displayed with one call by using tuple parameters. For the use of colors
with several lines, see set_colorset_colorSetColorSetColorSetColor.
The starting points and the ending points of the lines
must be in the window.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Row index of the start.
Default value: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
Typical range of values: 0
≤
Row1
Row1
Row1
Row1
row1
≤
511 (lin)
Minimum increment: 1
Recommended increment: 10
Column index of the start.
Default value: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
Typical range of values: 0
≤
Column1
Column1
Column1
Column1
column1
≤
511 (lin)
Minimum increment: 1
Recommended increment: 10
Row index of end.
Default value: 64.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
Typical range of values: 0
≤
Row2
Row2
Row2
Row2
row2
≤
511 (lin)
Minimum increment: 1
Recommended increment: 10
Column index of end.
Default value: 64.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
Typical range of values: 0
≤
Column2
Column2
Column2
Column2
column2
≤
511 (lin)
Minimum increment: 1
Recommended increment: 10
* Display contour of a rectangle
disp_line(WindowHandle,Row1,Column1,Row1,Column2)
disp_line(WindowHandle,Row1,Column2,Row2,Column2)
disp_line(WindowHandle,Row2,Column2,Row2,Column1)
disp_line(WindowHandle,Row2,Column1,Row1,Column1)
/* Display contour of a rectangle */
disp_rectangle1_margin(Hlong WindowHandle,
Hlong Row1, long Column1,
Hlong Row2, long Column2)
{
disp_line(WindowHandle,Row1,Column1,Row1,Column2) ;
disp_line(WindowHandle,Row1,Column2,Row2,Column2) ;
disp_line(WindowHandle,Row2,Column2,Row2,Column1) ;
disp_line(WindowHandle,Row2,Column1,Row1,Column1) ;
}
* Display contour of a rectangle
disp_line(WindowHandle,Row1,Column1,Row1,Column2)
disp_line(WindowHandle,Row1,Column2,Row2,Column2)
disp_line(WindowHandle,Row2,Column2,Row2,Column1)
disp_line(WindowHandle,Row2,Column1,Row1,Column1)
* Display contour of a rectangle
disp_line(WindowHandle,Row1,Column1,Row1,Column2)
disp_line(WindowHandle,Row1,Column2,Row2,Column2)
disp_line(WindowHandle,Row2,Column2,Row2,Column1)
disp_line(WindowHandle,Row2,Column1,Row1,Column1)
* Display contour of a rectangle
disp_line(WindowHandle,Row1,Column1,Row1,Column2)
disp_line(WindowHandle,Row1,Column2,Row2,Column2)
disp_line(WindowHandle,Row2,Column2,Row2,Column1)
disp_line(WindowHandle,Row2,Column1,Row1,Column1)
disp_linedisp_lineDispLineDispLineDispLine returns 2 (H_MSG_TRUE).
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_lutset_lutSetLutSetLutSetLut,
set_hsiset_hsiSetHsiSetHsiSetHsi,
set_drawset_drawSetDrawSetDrawSetDraw,
set_colorset_colorSetColorSetColorSetColor,
set_coloredset_coloredSetColoredSetColoredSetColored,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
disp_arrowdisp_arrowDispArrowDispArrowDispArrow,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1,
disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2,
disp_regiondisp_regionDispRegionDispRegionDispRegion,
gen_region_polygongen_region_polygonGenRegionPolygonGenRegionPolygonGenRegionPolygon,
gen_region_pointsgen_region_pointsGenRegionPointsGenRegionPointsGenRegionPoints
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_colorset_colorSetColorSetColorSetColor,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_hsiset_hsiSetHsiSetHsiSetHsi,
set_insertset_insertSetInsertSetInsertSetInsert,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
Foundation