query_line_widthquery_line_widthQueryLineWidthQueryLineWidth (Operator)
Name
query_line_widthquery_line_widthQueryLineWidthQueryLineWidth
— 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)
Description
query_line_widthquery_line_widthQueryLineWidthQueryLineWidthQueryLineWidth
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_widthSetLineWidthSetLineWidthSetLineWidth
. Border width is used by operators like
disp_regiondisp_regionDispRegionDispRegionDispRegion
, disp_linedisp_lineDispLineDispLineDispLine
,
disp_circledisp_circleDispCircleDispCircleDispCircle
, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1
,
disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2
etc. if the drawing mode is “margin”
(set_drawset_drawSetDrawSetDrawSetDraw
(::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 →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Displayable minimum width.
MaxMaxMaxMaxmax
(output_control) integer →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Displayable maximum width.
Result
query_line_widthquery_line_widthQueryLineWidthQueryLineWidthQueryLineWidth
returns 2 (H_MSG_TRUE) if the window is valid.
Otherwise an exception is raised.
Possible Successors
get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidth
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle
,
disp_linedisp_lineDispLineDispLineDispLine
See also
disp_circledisp_circleDispCircleDispCircleDispCircle
,
disp_linedisp_lineDispLineDispLineDispLine
,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1
,
disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2
,
disp_regiondisp_regionDispRegionDispRegionDispRegion
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
,
get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidth
,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle
Module
Foundation