AbstractGraph::findX() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

AbstractGraph::findX() method

@fn int AbstractGraph::findX(int x) Searches for the given x coordinate. Searches for the given x coordinate. If the x coordinate is not found, the closest index is returned so that the point at the returned index has the first x value higher than the sought x coordinate (or at usedPoints if the x coordinate is higher than the x coordinate of all existing points)

Syntax

virtual int findX(int x);
Implemented in AbstractGraph.cpp:355

Arguments

x

The x coordinate.

Return value

The index of the found x coordinate where the x should be inserted.

References

Call Tree

Functions calling AbstractGraph::findX()
AbstractGraph::findX()
Data read by AbstractGraph::findX()
Data written by AbstractGraph::findX()
AbstractGraph::findX()::loIndex
AbstractGraph::findX()::hiIndex
AbstractGraph::findX()::midIndex
AbstractGraph::findX()::midX
all items filtered out
AbstractGraph::findX()
AbstractGraph::findX()::loIndex
AbstractGraph::findX()::hiIndex
all items filtered out