| 1367 | //------------------------------------------------------------------------ |
| 1368 | template<class VC> |
| 1369 | void path_base<VC>::flip_y(double y1, double y2) |
| 1370 | { |
| 1371 | unsigned i; |
| 1372 | double x, y; |
| 1373 | for(i = 0; i < m_vertices.total_vertices(); i++) |
| 1374 | { |
| 1375 | unsigned cmd = m_vertices.vertex(i, &x, &y); |
| 1376 | if(is_vertex(cmd)) |
| 1377 | { |
| 1378 | m_vertices.modify_vertex(i, x, y2 - y + y1); |
| 1379 | } |
| 1380 | } |
| 1381 | } |
| 1382 | |
| 1383 | //------------------------------------------------------------------------ |
| 1384 | template<class VC> |
nothing calls this directly
no test coverage detected