------------------------------------------------------------------------
| 44 | |
| 45 | //------------------------------------------------------------------------ |
| 46 | void vcgen_smooth_poly1::add_vertex(double x, double y, unsigned cmd) |
| 47 | { |
| 48 | m_status = initial; |
| 49 | if(is_move_to(cmd)) |
| 50 | { |
| 51 | m_src_vertices.modify_last(vertex_dist(x, y)); |
| 52 | } |
| 53 | else |
| 54 | { |
| 55 | if(is_vertex(cmd)) |
| 56 | { |
| 57 | m_src_vertices.add(vertex_dist(x, y)); |
| 58 | } |
| 59 | else |
| 60 | { |
| 61 | m_closed = get_close_flag(cmd); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | |
| 67 | //------------------------------------------------------------------------ |
nothing calls this directly
no test coverage detected