CPoint ptArray[5]; ptArray[0] = CPoint(657, 79); ptArray[1] = CPoint(675, 71); ptArray[2] = CPoint(694, 66); ptArray[3] = CPoint(912, 64); ptArray[4] = CPoint(792, 66); CRgn rgnObject; rgnObject.CreatePolygonRgn(ptArray, 5, ALTERNATE); CRect rectBounding; rgnObject.GetRgnBox(rectBounding);
PtInRegion
CRgn::PtInRegion
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)