get_line_width ( : : WindowHandle : Width )

Get the current line width for contour display.

get_line_width returns the line width for region display in the window. It is used by procedures like disp_region, disp_line, disp_polygon, etc. Width is set with the procedure set_line_width. Width is only important for displaying the contour of objects.


Parameters

WindowHandle (input_control)
window -> integer
Window_id.

Width (output_control)
integer -> integer
Current line width for contour display.


Result

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


Parallelization Information

get_line_width is reentrant and processed without parallelization.


Possible Successors

set_line_width, set_line_style, disp_region


See also

set_line_width, disp_region


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH