------------------------------------------------------------------------
| 39 | |
| 40 | //------------------------------------------------------------------------ |
| 41 | void trans_single_path::move_to(double x, double y) |
| 42 | { |
| 43 | if(m_status == initial) |
| 44 | { |
| 45 | m_src_vertices.modify_last(vertex_dist(x, y)); |
| 46 | m_status = making_path; |
| 47 | } |
| 48 | else |
| 49 | { |
| 50 | line_to(x, y); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | //------------------------------------------------------------------------ |
| 55 | void trans_single_path::line_to(double x, double y) |