MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / partSizeChanged

Method partSizeChanged

src/core/objects/object.cpp:1092–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1090}
1091
1092void PathObject::partSizeChanged(PathPartVector::iterator part, MapCoordVector::difference_type change)
1093{
1094 Q_ASSERT(isOutputDirty());
1095
1096 part->last_index += change;
1097 auto last = end(path_parts);
1098 for (++part; part != last; ++part)
1099 {
1100 part->first_index += change;
1101 part->last_index += change;
1102 }
1103}
1104
1105// override
1106void PathObject::rotatePatternOrigin(const MapCoordF& center, qreal sin_angle, qreal cos_angle)

Callers 1

setClosedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected