Searched refs:winPoints (Results 1 – 2 of 2) sorted by relevance
242 POINT* winPoints = 0; in drawPolygons() local245 winPoints = new POINT[npoints + 1]; in drawPolygons()247 winPoints = new POINT[npoints]; in drawPolygons()249 if (winPoints) { in drawPolygons()253 winPoints[i2].x = stableRound(trPoint.x()); in drawPolygons()254 winPoints[i2].y = stableRound(trPoint.y()); in drawPolygons()258 winPoints[i2].x = stableRound(i->at(i2).x()); in drawPolygons()259 winPoints[i2].y = stableRound(i->at(i2).y()); in drawPolygons()263 if (fill && winPoints[npoints - 1] != winPoints[0]) { in drawPolygons()264 winPoints[npoints].x = winPoints[0].x; in drawPolygons()[all …]
866 Vector<POINT, 20> winPoints(npoints); in drawConvexPolygon() local868 winPoints[0].x = stableRound(trPoint.x()); in drawConvexPolygon()869 winPoints[0].y = stableRound(trPoint.y()); in drawConvexPolygon()870 RECT rect = { winPoints[0].x, winPoints[0].y, winPoints[0].x, winPoints[0].y }; in drawConvexPolygon()873 winPoints[i].x = stableRound(trPoint.x()); in drawConvexPolygon()874 winPoints[i].y = stableRound(trPoint.y()); in drawConvexPolygon()875 if (rect.left > winPoints[i].x) in drawConvexPolygon()876 rect.left = winPoints[i].x; in drawConvexPolygon()877 else if (rect.right < winPoints[i].x) in drawConvexPolygon()878 rect.right = winPoints[i].x; in drawConvexPolygon()[all …]