MCPcopy Create free account
hub / github.com/ZhuYanzhen1/miniFOC / QCPColorGradient

Method QCPColorGradient

tools/qcustomplot.cpp:16526–16535  ·  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

16524 The color level count is initialized to 350.
16525*/
16526QCPColorGradient::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

Callers

nothing calls this directly

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected