| 1425 | //------------------------------------------------------------------------ |
| 1426 | template <class VC> |
| 1427 | void path_base<VC>::flip_x(double x1, double x2) |
| 1428 | { |
| 1429 | unsigned i; |
| 1430 | double x, y; |
| 1431 | for (i = 0; i < m_vertices.total_vertices(); i++) |
| 1432 | { |
| 1433 | unsigned cmd = m_vertices.vertex(i, &x, &y); |
| 1434 | if (is_vertex(cmd)) |
| 1435 | { |
| 1436 | m_vertices.modify_vertex(i, x2 - x + x1, y); |
| 1437 | } |
| 1438 | } |
| 1439 | } |
| 1440 | |
| 1441 | //------------------------------------------------------------------------ |
| 1442 | template <class VC> |
nothing calls this directly
no test coverage detected