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

Method QCPColorMap

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

! Constructs a color map with the specified \a keyAxis and \a valueAxis. The created QCPColorMap is automatically registered with the QCustomPlot instance inferred from \a keyAxis. This QCustomPlot instance takes ownership of the QCPColorMap, so do not delete it manually but use QCustomPlot::removePlottable() instead. */

Source from the content-addressed store, hash-verified

26439 manually but use QCustomPlot::removePlottable() instead.
26440*/
26441QCPColorMap::QCPColorMap(QCPAxis *keyAxis, QCPAxis *valueAxis) :
26442 QCPAbstractPlottable(keyAxis, valueAxis),
26443 mDataScaleType(QCPAxis::stLinear),
26444 mMapData(new QCPColorMapData(10, 10, QCPRange(0, 5), QCPRange(0, 5))),
26445 mGradient(QCPColorGradient::gpCold),
26446 mInterpolate(true),
26447 mTightBoundary(false),
26448 mMapImageInvalidated(true)
26449{
26450}
26451
26452QCPColorMap::~QCPColorMap()
26453{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected