fillRgn函数出现问题 [英] Problem in fillRgn function
问题描述
我正在与delphi合作.在得到这个问题的解决方案之后,现在我想要合并区域的边界.有什么简单的解决方法吗?
谢谢.
I am working with delphi. After I got a solution of this problem, Now I want the boundary of that combined region. Is there any easy solution?
Thank You.
修改:
边界表示区域的最外点.我的区域是一个多边形区域,我想要该多边形的点.
Boundary means the outer most points of region. My region is a polygon region and I want the points of that polygon.
推荐答案
我不确定问题是什么以及您需要对该区域做什么.
I'm not sure what the problem is and what you need to do with the region.
您可以使用 GetRgnBox 来检索区域的边界矩形,或 GetRegionData 检索组成该区域的矩形的尺寸.
You can use GetRgnBox to retrieve the region's bounding rectangle, or GetRegionData to retrieve the dimensions of the rectangles that make up the region.
有关绘制区域的信息,请参见 FillRgn 和 FrameRgn API.
For drawing the region, see FillRgn and FrameRgn APIs.
这篇关于fillRgn函数出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!