MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / getColorPer

Method getColorPer

src/base/settings.cpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87QColor ColorTheme::getColorPer(double p) const {
88 if (qIsNaN(p) || qIsInf(p))
89 p = 0;
90
91 return QColor::fromHslF(makePer(p, miColor.h, mxColor.h, 360.00),
92 makePer(p, miColor.s, mxColor.s, 100.00),
93 makePer(p, miColor.l, mxColor.l, 100.00));
94}
95
96QColor ColorTheme::getColorGrand(double p) const {
97 if (qIsNaN(p) || qIsInf(p))

Callers 2

refreshViewerMethod · 0.80
exportHtmlMethod · 0.80

Calls 1

makePerFunction · 0.85

Tested by

no test coverage detected