query_line_widthquery_line_widthQueryLineWidthQueryLineWidthquery_line_width (Operator)

Name

query_line_widthquery_line_widthQueryLineWidthQueryLineWidthquery_line_width — Query the possible line widths.

Signature

query_line_width( : : : Min, Max)

Herror query_line_width(Hlong* Min, Hlong* Max)

Herror T_query_line_width(Htuple* Min, Htuple* Max)

void QueryLineWidth(HTuple* Min, HTuple* Max)

static void HInfo::QueryLineWidth(Hlong* Min, Hlong* Max)

static void HOperatorSet.QueryLineWidth(out HTuple min, out HTuple max)

static void HInfo.QueryLineWidth(out int min, out int max)

def query_line_width() -> Tuple[int, int]

Description

query_line_widthquery_line_widthQueryLineWidthQueryLineWidthQueryLineWidthquery_line_width returns the minimal (MinMinMinMinminmin) and maximal (MaxMaxMaxMaxmaxmax) values of widths of region border which can be displayed. Setting of the border width is done with set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width. Border width is used by operators like disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region, disp_linedisp_lineDispLineDispLineDispLinedisp_line, disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2disp_rectangle2 etc. if the drawing mode is “margin” (set_drawset_drawSetDrawSetDrawSetDrawset_draw(::WindowHandle,'margin':)).

Execution Information

Parameters

MinMinMinMinminmin (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Displayable minimum width.

MaxMaxMaxMaxmaxmax (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Displayable maximum width.

Result

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

Possible Successors

get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidthget_line_width, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width, set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style, disp_linedisp_lineDispLineDispLineDispLinedisp_line

See also

disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle, disp_linedisp_lineDispLineDispLineDispLinedisp_line, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2disp_rectangle2, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width, get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidthget_line_width, set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style

Module

Foundation