MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / QCPColorGradient

Method QCPColorGradient

qcustomplot.cpp:15790–15797  ·  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

15788 The color level count is initialized to 350.
15789*/
15790QCPColorGradient::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

Callers

nothing calls this directly

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected