| 105 | } |
| 106 | |
| 107 | Path64 MakeRandomPoly(int width, int height, unsigned vertCnt) |
| 108 | { |
| 109 | Path64 result; |
| 110 | result.reserve(vertCnt); |
| 111 | for (unsigned i = 0; i < vertCnt; ++i) |
| 112 | result.push_back(Point64(rand() % width, rand() % height)); |
| 113 | return result; |
| 114 | } |
| 115 | |
| 116 | PathD MakeRandomPolyD(int width, int height, unsigned vertCnt) |
| 117 | { |
no test coverage detected