Diffusion Krita d5c978306adf

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
remptSep 10 2019, 8:27 AM
Parents
R37:2a7bf2faecba: Implement optimized renderBackground() for elliptical selector shape
Branches
Unknown
Tags
Unknown