! Constructs a new, empty QCPColorGradient with no predefined color stops. You can add own color stops with \ref setColorStopAt. The color level count is initialized to 350. */
| 16524 | The color level count is initialized to 350. |
| 16525 | */ |
| 16526 | QCPColorGradient::QCPColorGradient() : |
| 16527 | mLevelCount(350), |
| 16528 | mColorInterpolation(ciRGB), |
| 16529 | mNanHandling(nhNone), |
| 16530 | mNanColor(Qt::black), |
| 16531 | mPeriodic(false), |
| 16532 | mColorBufferInvalidated(true) |
| 16533 | { |
| 16534 | mColorBuffer.fill(qRgb(0, 0, 0), mLevelCount); |
| 16535 | } |
| 16536 | |
| 16537 | /*! |
| 16538 | Constructs a new QCPColorGradient initialized with the colors and color interpolation according |