Operator Reference

query_line_widthquery_line_widthQueryLineWidthQueryLineWidthquery_line_width (Operator)

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_widthQueryLineWidthQueryLineWidthquery_line_width returns the minimal (MinMinMinminmin) and maximal (MaxMaxMaxmaxmax) values of widths of region border which can be displayed. Setting of the border width is done with set_line_widthset_line_widthSetLineWidthSetLineWidthset_line_width. Border width is used by operators like disp_regiondisp_regionDispRegionDispRegiondisp_region, disp_linedisp_lineDispLineDispLinedisp_line, disp_circledisp_circleDispCircleDispCircledisp_circle, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2disp_rectangle2 etc. if the drawing mode is “margin” (set_drawset_drawSetDrawSetDrawset_draw(::WindowHandle,'margin':)).

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

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

Displayable minimum width.

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

Displayable maximum width.

Result

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

Possible Successors

get_line_widthget_line_widthGetLineWidthGetLineWidthget_line_width, set_line_widthset_line_widthSetLineWidthSetLineWidthset_line_width, set_line_styleset_line_styleSetLineStyleSetLineStyleset_line_style, disp_linedisp_lineDispLineDispLinedisp_line

See also

disp_circledisp_circleDispCircleDispCircledisp_circle, disp_linedisp_lineDispLineDispLinedisp_line, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2disp_rectangle2, disp_regiondisp_regionDispRegionDispRegiondisp_region, set_line_widthset_line_widthSetLineWidthSetLineWidthset_line_width, get_line_widthget_line_widthGetLineWidthGetLineWidthget_line_width, set_line_styleset_line_styleSetLineStyleSetLineStyleset_line_style

Module

Foundation