MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / data

Method data

3rdparty/qcustomplot/qcustomplot.cpp:25911–25919  ·  view source on GitHub ↗

undocumented getter */

Source from the content-addressed store, hash-verified

25909
25910/* undocumented getter */
25911double QCPColorMapData::data(double key, double value)
25912{
25913 int keyCell = int( (key-mKeyRange.lower)/(mKeyRange.upper-mKeyRange.lower)*(mKeySize-1)+0.5 );
25914 int valueCell = int( (value-mValueRange.lower)/(mValueRange.upper-mValueRange.lower)*(mValueSize-1)+0.5 );
25915 if (keyCell >= 0 && keyCell < mKeySize && valueCell >= 0 && valueCell < mValueSize)
25916 return mData[valueCell*mKeySize + keyCell];
25917 else
25918 return 0;
25919}
25920
25921/* undocumented getter */
25922double QCPColorMapData::cell(int keyIndex, int valueIndex)

Callers 15

startPaintingMethod · 0.45
clearMethod · 0.45
realVisibilityMethod · 0.45
coordsToPixelsMethod · 0.45
pixelsToCoordsMethod · 0.45
rescaleKeyAxisMethod · 0.45
rescaleValueAxisMethod · 0.45
clipRectMethod · 0.45
axisRectMethod · 0.45
pixelPositionMethod · 0.45
setPixelPositionMethod · 0.45
clipAxisRectMethod · 0.45

Calls

no outgoing calls

Tested by 2

connectAndResolveMethod · 0.36
connectAndRejectMethod · 0.36