dev_set_line_width ( : : LineWidth : )

Define the line width for region contour output.

dev_set_line_width defines the line width (in pixel) in which a region contour or lines are displayed (e.g., with dev_display, disp_region, disp_line, disp_polygon, etc.).


Attention

If dev_set_line_width should be used for exported Code (C++), please note the description of set_line_width due to the different semantics in C++.


Parameters

LineWidth (input_control)
integer -> integer
Line width for region output in contour mode.
Default value: 1
Restriction: LineWidth >= 1


Example
read_image(Image,'monkey')
threshold(Image,Region,128,255)
dev_set_draw('margin')
dev_set_line_width(5)
dev_clear_window
dev_display(Region)

Result

dev_set_line_width always returns 2 (H_MSG_TRUE)


Parallelization Information

dev_set_line_width is local and processed completely exclusively without parallelization.


Possible Successors

dev_display


See also

set_line_width, query_line_width


Module

System



Copyright © 1996-2005 MVTec Software GmbH