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