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

Method cursorPos

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

Source from the content-addressed store, hash-verified

2260}
2261
2262double CartesianPlot::cursorPos(int cursorNumber) {
2263 Q_D(const CartesianPlot);
2264 return (cursorNumber == 0 ? d->cursor0Pos.x() : d->cursor1Pos.x());
2265}
2266
2267/*!
2268 * returns the index of the child \c curve in the list of all "curve-like"

Callers 5

cursorPosChangedMethod · 0.80
curveDataChangedMethod · 0.80
curveAddedMethod · 0.80

Calls 1

xMethod · 0.80

Tested by

no test coverage detected