MCPcopy Create free account
hub / github.com/KDE/kdevelop / canInvertDarkColor

Function canInvertDarkColor

kdevplatform/util/widgetcolorizer.cpp:136–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool canInvertDarkColor(const QColor& color)
137{
138 return !isBrightBackgroundColor(color);
139}
140
141void collectRanges(QTextFrame* frame, const QColor& fgcolor, const QColor& bgcolor, bool bgSet,
142 std::vector<FormatRange>& ranges)

Callers 1

collectRangesFunction · 0.85

Calls 1

isBrightBackgroundColorFunction · 0.85

Tested by

no test coverage detected