get_line_widthT_get_line_widthGetLineWidthGetLineWidthget_line_width (算子)
名称
get_line_widthT_get_line_widthGetLineWidthGetLineWidthget_line_width — 获取轮廓显示的当前线宽。
签名
描述
get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidthget_line_width returns the line width for region display
in the window. It is used by operators like
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region, disp_linedisp_lineDispLineDispLineDispLinedisp_line,
disp_polygondisp_polygonDispPolygonDispPolygonDispPolygondisp_polygon, etc. WidthWidthWidthWidthwidthwidth is set with the
operator set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width。WidthWidthWidthWidthwidthwidth is only
important for displaying the contour of objects.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
WidthWidthWidthWidthwidthwidth (输出控制) real → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Current line width for contour display.
结果
get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidthget_line_width returns 2 (
H_MSG_TRUE)
if the window is valid.否则将抛出异常。
可能的后继
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
另见
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
模块
基础