MCPcopy Create free account
hub / github.com/KLayout/klayout / stop_redraw

Method stop_redraw

src/laybasic/laybasic/layLayoutCanvas.cc:1135–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1133}
1134
1135void
1136LayoutCanvas::stop_redraw ()
1137{
1138 // discard all open cache entries
1139 for (size_t i = 0; i < m_image_cache.size (); ++i) {
1140 if (m_image_cache [i].opened ()) {
1141 m_image_cache.erase (m_image_cache.begin () + i);
1142 --i;
1143 }
1144 }
1145
1146 mp_redraw_thread->stop ();
1147}
1148
1149void
1150LayoutCanvas::update_drawings ()

Callers 5

redrawMethod · 0.45
mouse_press_eventMethod · 0.45
mouse_press_eventMethod · 0.45
mouse_press_eventMethod · 0.45
mouse_press_eventMethod · 0.45

Calls 5

openedMethod · 0.80
sizeMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected