Nyall Dawson 44708b9c0c Create QgsColorUtils class
Contains methods to serialize/deserialize colors from xml and strings,
where the colors are losslessly stored/restored.

The previous methods for storing colors (Eg QgsSymbolLayerUtils::encode/decodeColor)
are lossy, and only store QColors as 8 bit RGB representations. In
contrast, the new methods store the full lossless representation of
a QColor, including support for 16 bit color components, extended
RGB color components, and storage of HSL/HSV/CMYK color specifications
using their original color components instead of RGB components.

When these new methods are used in place of the existing lossy methods,
they open the possibility of 16 bit color support for QGIS symbols/projects,
(and potentially future CMYK color support).
2022-07-09 07:12:08 +10:00
..
2022-06-16 08:21:05 +10:00
2022-07-02 09:58:37 +10:00
2022-07-09 07:12:08 +10:00
2022-03-17 18:12:27 +10:00
2022-05-12 19:58:04 +10:00