Skip to content

query_line_widthQueryLineWidthQueryLineWidthquery_line_widthquery_line_widthπŸ”—

Short descriptionπŸ”—

query_line_widthQueryLineWidthQueryLineWidthquery_line_widthquery_line_width β€” Query the possible line widths.

SignatureπŸ”—

query_line_width( out integer Min, out integer Max )void QueryLineWidth( HTuple* Min, HTuple* Max )static void HOperatorSet.QueryLineWidth( out HTuple min, out HTuple max )def query_line_width( ) -> Tuple[int, int]

Herror query_line_width( Hlong* Min, Hlong* Max )

Herror T_query_line_width( Htuple* Min, Htuple* Max )

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

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

DescriptionπŸ”—

query_line_widthQueryLineWidth returns the minimal (Minminmin) and maximal (Maxmaxmax) values of widths of region border which can be displayed. Setting of the border width is done with set_line_widthSetLineWidth. Border width is used by operators like disp_regionDispRegion, disp_lineDispLine, disp_circleDispCircle, disp_rectangle1DispRectangle1, disp_rectangle2DispRectangle2 etc.Β if the drawing mode is β€œmargin” (set_drawSetDraw(::WindowHandle,’margin’:)).

Execution informationπŸ”—

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πŸ”—

Minminmin (output_control) integer β†’ (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Displayable minimum width.

Maxmaxmax (output_control) integer β†’ (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Displayable maximum width.

ResultπŸ”—

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

Combinations with other operatorsπŸ”—

Combinations

Possible successors

get_line_widthGetLineWidth, set_line_widthSetLineWidth, set_line_styleSetLineStyle, disp_lineDispLine

See also

disp_circleDispCircle, disp_lineDispLine, disp_rectangle1DispRectangle1, disp_rectangle2DispRectangle2, disp_regionDispRegion, set_line_widthSetLineWidth, get_line_widthGetLineWidth, set_line_styleSetLineStyle

ModuleπŸ”—

Foundation