! 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. */
| 15788 | The color level count is initialized to 350. |
| 15789 | */ |
| 15790 | QCPColorGradient::QCPColorGradient() : |
| 15791 | mLevelCount(350), |
| 15792 | mColorInterpolation(ciRGB), |
| 15793 | mPeriodic(false), |
| 15794 | mColorBufferInvalidated(true) |
| 15795 | { |
| 15796 | mColorBuffer.fill(qRgb(0, 0, 0), mLevelCount); |
| 15797 | } |
| 15798 | |
| 15799 | /*! |
| 15800 | Constructs a new QCPColorGradient initialized with the colors and color interpolation according |