Herror ::get_line_approx (
    const HTuple &WindowHandle,
    long *Approximation
)
HTuple HWindow::GetLineApprox (
    
) const

Get the current approximation error for contour display.

::get_line_approx returns a parameter that controls the approximation error for region contour display in the window. It is used by the procedure ::disp_region. Approximation controls the polygon approximation for contour display ( 0 <=> no approximation). Approximation is only important for displaying the contour of objects, especially if a line style was set with ::set_line_style.


Parameters

WindowHandle (input_control)
window -> HTuple.long
Window_id.

Approximation (output_control)
string -> long *
Current approximation error for contour display.


Result

::get_line_approx returns H_MSG_TRUE if the window is valid. Otherwise an exception handling is raised.


Possible Successors

::set_line_approx, ::set_line_style, ::disp_region


See also

::get_region_polygon, ::set_line_approx, ::set_line_style, ::disp_region


Module

System



Copyright © 1996-2002 MVTec Software GmbH