I have some polygon region (HRGN), and I want receive array of corner points. How can I do it in simple way in Delphi
Asked
Active
Viewed 324 times
1 Answers
0
In general case, there is no way to retrieve initial polygon vertices from HRGN.
Internally windows region consists of some rectangles.
Exact representation is possible for rectilinear region, but any slanted edge gives a lot of small rectangles (and slightly different polygons could give equal regions)
If your problem is to obtain a set of rectangles, then use GetRegionData
function.

MBo
- 77,366
- 5
- 53
- 86