! 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. */
| 26406 | manually but use QCustomPlot::removePlottable() instead. |
| 26407 | */ |
| 26408 | QCPColorMap::QCPColorMap(QCPAxis *keyAxis, QCPAxis *valueAxis) : |
| 26409 | QCPAbstractPlottable(keyAxis, valueAxis), |
| 26410 | mDataScaleType(QCPAxis::stLinear), |
| 26411 | mMapData(new QCPColorMapData(10, 10, QCPRange(0, 5), QCPRange(0, 5))), |
| 26412 | mGradient(QCPColorGradient::gpCold), |
| 26413 | mInterpolate(true), |
| 26414 | mTightBoundary(false), |
| 26415 | mMapImageInvalidated(true) |
| 26416 | { |
| 26417 | } |
| 26418 | |
| 26419 | QCPColorMap::~QCPColorMap() |
| 26420 | { |
nothing calls this directly
no outgoing calls
no test coverage detected