------------------------------------------------------------------------
| 75 | |
| 76 | //------------------------------------------------------------------------ |
| 77 | void vcgen_contour::rewind(unsigned) |
| 78 | { |
| 79 | if(m_status == initial) |
| 80 | { |
| 81 | m_src_vertices.close(true); |
| 82 | if(m_auto_detect) |
| 83 | { |
| 84 | if(!is_oriented(m_orientation)) |
| 85 | { |
| 86 | m_orientation = (calc_polygon_area(m_src_vertices) > 0.0) ? |
| 87 | path_flags_ccw : |
| 88 | path_flags_cw; |
| 89 | } |
| 90 | } |
| 91 | if(is_oriented(m_orientation)) |
| 92 | { |
| 93 | m_stroker.width(is_ccw(m_orientation) ? m_width : -m_width); |
| 94 | } |
| 95 | } |
| 96 | m_status = ready; |
| 97 | m_src_vertex = 0; |
| 98 | } |
| 99 | |
| 100 | //------------------------------------------------------------------------ |
| 101 | unsigned vcgen_contour::vertex(double* x, double* y) |
nothing calls this directly
no test coverage detected