get_line_approxT_get_line_approxGetLineApproxGetLineApproxget_line_approx (算子名称)
名称
get_line_approxT_get_line_approxGetLineApproxGetLineApproxget_line_approx — Get the current approximation error for contour display.
警告
get_line_approxget_line_approxGetLineApproxGetLineApproxGetLineApproxget_line_approx is obsolete and is only provided for
reasons of backward compatibility.
参数签名
描述
get_line_approxget_line_approxGetLineApproxGetLineApproxGetLineApproxget_line_approx returns a parameter that controls the
approximation error for region contour display in the
window. It is used by 该算子
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region. ApproximationApproximationApproximationApproximationapproximationapproximation controls the polygon
approximation for contour display ( 0 <=> no approximation). ApproximationApproximationApproximationApproximationapproximationapproximation is only
important for displaying the contour of objects, especially if a line
style was set with set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
ApproximationApproximationApproximationApproximationapproximationapproximation (output_control) string → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Current approximation error for contour display.
结果
get_line_approxget_line_approxGetLineApproxGetLineApproxGetLineApproxget_line_approx returns 2 (
H_MSG_TRUE)
if the window is valid.
Otherwise an exception is raised.
可能的后置算子
set_line_approxset_line_approxSetLineApproxSetLineApproxSetLineApproxset_line_approx,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
参考其它
get_region_polygonget_region_polygonGetRegionPolygonGetRegionPolygonGetRegionPolygonget_region_polygon,
set_line_approxset_line_approxSetLineApproxSetLineApproxSetLineApproxset_line_approx,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
模块
Foundation