removed deprecated clipperlib calls and used path calls instead(same result and API, internal change)