! 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. */
| 16543 | The color level count is initialized to 350. |
| 16544 | */ |
| 16545 | QCPColorGradient::QCPColorGradient() : |
| 16546 | mLevelCount(350), |
| 16547 | mColorInterpolation(ciRGB), |
| 16548 | mNanHandling(nhNone), |
| 16549 | mNanColor(Qt::black), |
| 16550 | mPeriodic(false), |
| 16551 | mColorBufferInvalidated(true) |
| 16552 | { |
| 16553 | mColorBuffer.fill(qRgb(0, 0, 0), mLevelCount); |
| 16554 | } |
| 16555 | |
| 16556 | /*! |
| 16557 | Constructs a new QCPColorGradient initialized with the colors and color interpolation according |