| 859 | //------------------------------------------------------------------------ |
| 860 | template<class VC> |
| 861 | inline void path_base<VC>::rel_to_abs(double* x, double* y) const |
| 862 | { |
| 863 | if(m_vertices.total_vertices()) |
| 864 | { |
| 865 | double x2; |
| 866 | double y2; |
| 867 | if(is_vertex(m_vertices.last_vertex(&x2, &y2))) |
| 868 | { |
| 869 | *x += x2; |
| 870 | *y += y2; |
| 871 | } |
| 872 | } |
| 873 | } |
| 874 | |
| 875 | //------------------------------------------------------------------------ |
| 876 | template<class VC> |
no test coverage detected