MCPcopy Create free account
hub / github.com/KDE/labplot / coordinateSystem

Method coordinateSystem

src/backend/worksheet/plots/cartesian/CartesianPlot.cpp:1631–1637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1629}
1630
1631CartesianCoordinateSystem* CartesianPlot::coordinateSystem(int index) const {
1632 // DEBUG(Q_FUNC_INFO << ", nr of cSystems = " << coordinateSystemCount() << ", index = " << index)
1633 if (index >= coordinateSystemCount() || index < 0)
1634 return nullptr;
1635
1636 return dynamic_cast<CartesianCoordinateSystem*>(m_coordinateSystems.at(index));
1637}
1638
1639void CartesianPlot::addCoordinateSystem() {
1640 auto cSystem = new CartesianCoordinateSystem(this);

Callers 15

initMethod · 0.45
retransformMethod · 0.45
updateLabelsMethod · 0.45
initMethod · 0.45
recalculateRectMethod · 0.45
retransformMethod · 0.45
retransformTicksMethod · 0.45
retransformMajorGridMethod · 0.45
retransformMinorGridMethod · 0.45
paintMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected