| 766 | "PathCoordVector::size_type is not std::size_t"); |
| 767 | |
| 768 | PathPart::PathPart(PathObject& path, const VirtualPath& virtual_path) |
| 769 | : PathPart(path, virtual_path.first_index, virtual_path.last_index) |
| 770 | { |
| 771 | if (!virtual_path.path_coords.empty()) |
| 772 | { |
| 773 | path_coords.reserve(virtual_path.path_coords.size()); |
| 774 | path_coords.insert(end(path_coords), begin(virtual_path.path_coords), end(virtual_path.path_coords)); |
| 775 | } |
| 776 | } |
| 777 | |
| 778 | void PathPart::setClosed(bool closed, bool may_use_existing_close_point) |
| 779 | { |