get_line_widthT_get_line_widthGetLineWidthGetLineWidth (Operator)

Name

get_line_widthT_get_line_widthGetLineWidthGetLineWidth — Get the current line width for contour display.

Signature

get_line_width( : : WindowHandle : Width)

Herror T_get_line_width(const Htuple WindowHandle, Htuple* Width)

void GetLineWidth(const HTuple& WindowHandle, HTuple* Width)

double HWindow::GetLineWidth() const

static void HOperatorSet.GetLineWidth(HTuple windowHandle, out HTuple width)

double HWindow.GetLineWidth()

Description

get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidth returns the line width for region display in the window. It is used by operators like disp_regiondisp_regionDispRegionDispRegionDispRegion, disp_linedisp_lineDispLineDispLineDispLine, disp_polygondisp_polygonDispPolygonDispPolygonDispPolygon, etc. WidthWidthWidthWidthwidth is set with the operator set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth. WidthWidthWidthWidthwidth is only important for displaying the contour of objects.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

WidthWidthWidthWidthwidth (output_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Current line width for contour display.

Result

get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidth returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle, disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, disp_regiondisp_regionDispRegionDispRegionDispRegion

Module

Foundation