MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / QCPColorGradient

Method QCPColorGradient

3rdparty/qcustomplot/qcustomplot.cpp:16545–16554  ·  view source on GitHub ↗

! 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. */

Source from the content-addressed store, hash-verified

16543 The color level count is initialized to 350.
16544*/
16545QCPColorGradient::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

Callers

nothing calls this directly

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected