| 25 | } |
| 26 | |
| 27 | int main() |
| 28 | { |
| 29 | // intersect a star and another modestly rotated star |
| 30 | Paths64 subject, clip, solution; |
| 31 | subject.push_back({ MakePath({200,100, 20,158, 130,4, 130,196, 20,42}) }); |
| 32 | clip.push_back({ MakePath({196,126, 8,136, 154,16, 104,200, 38,24}) }); |
| 33 | solution = Intersect(subject, clip, FillRule::NonZero); |
| 34 | DisplayAsSvgImage("Intersect Paths", FillRule::NonZero, subject, clip, solution); |
| 35 | } |
| 36 |
nothing calls this directly
no test coverage detected