MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / dimensionsChanged_

Method dimensionsChanged_

src/openms_gui/source/VISUAL/PlotCanvas.cpp:115–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 void PlotCanvas::dimensionsChanged_()
116 {
117 zoom_stack_.clear(); // any zoom history is bogus
118
119 // swap axes if necessary
120 if (spectrum_widget_)
121 {
122 spectrum_widget_->updateAxes();
123 }
124
125 updateScrollbars_();
126 update_buffer_ = true;
127 update_(OPENMS_PRETTY_FUNCTION);
128 }
129
130 void PlotCanvas::changeVisibleArea_(VisibleArea new_area, bool repaint, bool add_to_stack)
131 {

Callers

nothing calls this directly

Calls 2

updateAxesMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected