query_line_width ( : : : Min, Max )

Query the possible line widths.

query_line_width returns the minimal (Min) and maximal (Max) values of widths of region border which can be displayed. Setting of the border width is done with set_line_width. Border width is used by operators like disp_region, disp_line, disp_circle, disp_rectangle1, disp_rectangle2 etc. if the drawing mode is "margin" (set_draw(::WindowHandle,'margin':)).


Parameters

Min (output_control)
integer -> integer
Displayable minimum width.

Max (output_control)
integer -> integer
Displayable maximum width.


Result

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


Parallelization Information

query_line_width is reentrant and processed without parallelization.


Possible Successors

get_line_width, set_line_width, set_line_style, disp_line


See also

disp_circle, disp_line, disp_rectangle1, disp_rectangle2, disp_region, set_line_width, get_line_width, set_line_style


Module

System



Copyright © 1996-2005 MVTec Software GmbH