OpenPathToFlatPolygon

function OpenPathToFlatPolygon(const path: TPathD): TPathD;

This function converts a path into a flat polygon in preparation for widening (offsetting).