MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / cell

Method cell

qcustomplot/qcustomplot.cpp:25130–25136  ·  view source on GitHub ↗

undocumented getter */

Source from the content-addressed store, hash-verified

25128
25129/* undocumented getter */
25130double QCPColorMapData::cell(int keyIndex, int valueIndex)
25131{
25132 if (keyIndex >= 0 && keyIndex < mKeySize && valueIndex >= 0 && valueIndex < mValueSize)
25133 return mData[valueIndex*mKeySize + keyIndex];
25134 else
25135 return 0;
25136}
25137
25138/*!
25139 Returns the alpha map value of the cell with the indices \a keyIndex and \a valueIndex.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected