| 1351 | //------------------------------------------------------------------------ |
| 1352 | template<class VC> |
| 1353 | void path_base<VC>::flip_x(double x1, double x2) |
| 1354 | { |
| 1355 | unsigned i; |
| 1356 | double x, y; |
| 1357 | for(i = 0; i < m_vertices.total_vertices(); i++) |
| 1358 | { |
| 1359 | unsigned cmd = m_vertices.vertex(i, &x, &y); |
| 1360 | if(is_vertex(cmd)) |
| 1361 | { |
| 1362 | m_vertices.modify_vertex(i, x2 - x + x1, y); |
| 1363 | } |
| 1364 | } |
| 1365 | } |
| 1366 | |
| 1367 | //------------------------------------------------------------------------ |
| 1368 | template<class VC> |
nothing calls this directly
no test coverage detected