| 71 | |
| 72 | |
| 73 | void ObjectMover::addLine(PathObject* object, MapCoordVector::size_type start_point_index) |
| 74 | { |
| 75 | Q_ASSERT(start_point_index < object->getCoordinateCount()); |
| 76 | |
| 77 | auto index_set = insertPointObject(object); |
| 78 | index_set->insert(start_point_index); |
| 79 | index_set->insert(start_point_index + 1); |
| 80 | if (object->getCoordinate(start_point_index).isCurveStart()) |
| 81 | { |
| 82 | index_set->insert(start_point_index + 2); |
| 83 | index_set->insert(start_point_index + 3); |
| 84 | } |
| 85 | |
| 86 | constraints_calculated = false; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | void ObjectMover::addTextHandle(TextObject* text, MapCoordVector::size_type handle) |
no test coverage detected