Diffusion Krita f1f556e3cce2

Add isLinear() query function to KoColorProfile

Authored by Mathias Wein <lynx.mw@gmail.com> on Aug 29 2019, 2:06 PM.

Description

Add isLinear() query function to KoColorProfile

Returns true if a color profile has only linear transfer response curves.
This implies that that it has transfer response curves.

Hint: The abstract class IccColorProfile::Profile doesn't really seem
to server any really purpose anymore (if it ever did), so I didn't touch
its interface. It might be time to remove it and use non-virtual functions.

Details

Committed
Mathias Wein <lynx.mw@gmail.com>Sep 5 2019, 7:28 PM
Parents
R37:9dbde0d07557: Implement optimized renderBackground() for elliptical selector shape
Branches
Unknown
Tags
Unknown
Mathias Wein <lynx.mw@gmail.com> committed R37:f1f556e3cce2: Add isLinear() query function to KoColorProfile (authored by Mathias Wein <lynx.mw@gmail.com>).Sep 5 2019, 7:28 PM