MCPcopy Create free account
hub / github.com/cutechess/cutechess / QCPColorMapData

Method QCPColorMapData

projects/gui/3rdparty/qcustomplot/qcustomplot.cpp:25848–25860  ·  view source on GitHub ↗

! Constructs a new QCPColorMapData instance. The instance has \a keySize cells in the key direction and \a valueSize cells in the value direction. These cells will be displayed by the \ref QCPColorMap at the coordinates \a keyRange and \a valueRange. \see setSize, setKeySize, setValueSize, setRange, setKeyRange, setValueRange */

Source from the content-addressed store, hash-verified

25846 \see setSize, setKeySize, setValueSize, setRange, setKeyRange, setValueRange
25847*/
25848QCPColorMapData::QCPColorMapData(int keySize, int valueSize, const QCPRange &keyRange, const QCPRange &valueRange) :
25849 mKeySize(0),
25850 mValueSize(0),
25851 mKeyRange(keyRange),
25852 mValueRange(valueRange),
25853 mIsEmpty(true),
25854 mData(nullptr),
25855 mAlpha(nullptr),
25856 mDataModified(true)
25857{
25858 setSize(keySize, valueSize);
25859 fill(0);
25860}
25861
25862QCPColorMapData::~QCPColorMapData()
25863{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected