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

Method getDrawMode

src/openms_gui/source/VISUAL/Plot1DCanvas.cpp:601–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599 }
600
601 Plot1DCanvas::DrawModes Plot1DCanvas::getDrawMode() const
602 {
603 //no layers
604 if (layers_.empty())
605 {
606 return DM_PEAKS;
607 }
608 return draw_modes_[getCurrentLayerIndex()];
609 }
610
611 void Plot1DCanvas::paintEvent(QPaintEvent* e)
612 {

Callers 1

updateToolBarMethod · 0.80

Calls 2

getCurrentLayerIndexFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected