| 1441 | //------------------------------------------------------------------------ |
| 1442 | template <class VC> |
| 1443 | void path_base<VC>::flip_y(double y1, double y2) |
| 1444 | { |
| 1445 | unsigned i; |
| 1446 | double x, y; |
| 1447 | for (i = 0; i < m_vertices.total_vertices(); i++) |
| 1448 | { |
| 1449 | unsigned cmd = m_vertices.vertex(i, &x, &y); |
| 1450 | if (is_vertex(cmd)) |
| 1451 | { |
| 1452 | m_vertices.modify_vertex(i, x, y2 - y + y1); |
| 1453 | } |
| 1454 | } |
| 1455 | } |
| 1456 | |
| 1457 | //------------------------------------------------------------------------ |
| 1458 | template <class VC> |
nothing calls this directly
no test coverage detected