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