tags:

views:

78

answers:

1

Hello All,
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.

Edit:
Boundary means the outer most points of region. My region is a polygon region and I want the points of that polygon.

+1  A: 

I'm not sure what the problem is and what you need to do with the region.

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.

For drawing the region, see FillRgn and FrameRgn APIs.

TOndrej
@TOndrej Yes, this can be done and by accessing each rectangle I can get boundary. I also solve it using floodfill algorithm. Thanx.
Himadri