get_shapeT_get_shapeGetShapeGetShapeget_shape (算子名称)
名称
get_shapeT_get_shapeGetShapeGetShapeget_shape — Get the current region output shape.
参数签名
描述
get_shapeget_shapeGetShapeGetShapeGetShapeget_shape returns the shape in which regions are
displayed. The available shapes can be queried with
query_shapequery_shapeQueryShapeQueryShapeQueryShapequery_shape and then changed with set_shapeset_shapeSetShapeSetShapeSetShapeset_shape.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
DisplayShapeDisplayShapeDisplayShapeDisplayShapedisplayShapedisplay_shape (output_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Current region output shape.
结果
get_shapeget_shapeGetShapeGetShapeGetShapeget_shape returns 2 (
H_MSG_TRUE)
if the window is valid.
Otherwise an exception is raised.
可能的前置算子
query_shapequery_shapeQueryShapeQueryShapeQueryShapequery_shape
可能的后置算子
set_shapeset_shapeSetShapeSetShapeSetShapeset_shape,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
参考其它
set_shapeset_shapeSetShapeSetShapeSetShapeset_shape,
query_shapequery_shapeQueryShapeQueryShapeQueryShapequery_shape,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
模块
Foundation