D27017: [KColorUtils] Add hue(), chroma() and getHcyColor()

Noah Davis noreply at phabricator.kde.org
Thu Jan 30 05:21:54 GMT 2020


ndavis created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
ndavis requested review of this revision.

REVISION SUMMARY
  This patch provides ways to get just the hue or just the chroma in the HCY colorspace and a way to get a QColor based on given hue, chroma, luma and alpha values.

REPOSITORY
  R273 KGuiAddons

BRANCH
  hue-chroma (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27017

AFFECTED FILES
  src/colors/kcolorspaces.cpp
  src/colors/kcolorspaces_p.h
  src/colors/kcolorutils.cpp
  src/colors/kcolorutils.h

To: ndavis
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200130/bc641673/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list