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

Method updatePreviewText

src/tools/draw_text_tool.cpp:397–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397void DrawTextTool::updatePreviewText()
398{
399 auto text = preview_text.get();
400 renderables.removeRenderablesOfObject(text, false);
401 text->update();
402 renderables.insertRenderablesOfObject(text);
403 updateDirtyRect();
404}
405
406int DrawTextTool::updateDirtyRectImpl(QRectF& rect)
407{

Callers

nothing calls this directly

Calls 4

getMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected