本帖最后由 李明 于 2022-3-2 15:39 编辑
在C++中的代码:
- HObject ho_Circle, ho_Circle1, ho_RegionDifference;
- HTuple hv_WindowHandle;
- SetWindowAttr("background_color","black");
- OpenWindow(10,10,400,400,0,"visible","",&hv_WindowHandle);
- HDevWindowStack::Push(hv_WindowHandle);
- GenCircle(&ho_Circle, 200, 200, 30);
- GenCircle(&ho_Circle1, 200, 200, 100);
- Difference(ho_Circle1, ho_Circle, &ho_RegionDifference);
- if (HDevWindowStack::IsOpen())
- DispObj(ho_RegionDifference, HDevWindowStack::GetActive());
复制代码
我的问题 :ho_RegionDifference区域在窗口中没有显示 ??
|