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

Method updateDirtyRectImpl

src/tools/rotate_pattern_tool.cpp:221–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219
220
221int RotatePatternTool::updateDirtyRectImpl(QRectF& rect)
222{
223 if (isDragging())
224 {
225 rectIncludeSafe(rect, click_pos_map);
226 rectIncludeSafe(rect, constrained_pos_map);
227 angle_helper->includeDirtyRect(rect);
228 }
229
230 return rect.isValid() ? angle_helper->getDisplayRadius() : -1;
231}
232
233
234

Callers

nothing calls this directly

Calls 4

rectIncludeSafeFunction · 0.85
includeDirtyRectMethod · 0.45
isValidMethod · 0.45
getDisplayRadiusMethod · 0.45

Tested by

no test coverage detected