File indexing completed on 2024-05-12 15:58:52

0001 /*
0002  *  SPDX-License-Identifier: GPL-3.0-or-later
0003  */
0004 
0005 #ifndef KISPROOFINGCONFIGURATION_H
0006 #define KISPROOFINGCONFIGURATION_H
0007 
0008 #include "KoColor.h"
0009 #include "KoColorSpace.h"
0010 #include "KoColorConversionTransformation.h"
0011 #include "kritaimage_export.h"
0012 
0013 /**
0014  * @brief The KisProofingConfiguration struct
0015  * Little struct that stores the proofing configuration for a given file.
0016  * The actual softproofing and gamutcheck toggles are set in the canvas.
0017  * intet, conversionflags and warning color have default set to them. This
0018  * wasn't possible for profileSpace.
0019  */
0020 class KRITAIMAGE_EXPORT KisProofingConfiguration {
0021 public:
0022     KisProofingConfiguration();
0023     ~KisProofingConfiguration();
0024     KoColorConversionTransformation::Intent intent;
0025     KoColorConversionTransformation::ConversionFlags conversionFlags;
0026     KoColor warningColor;
0027     QString proofingProfile;
0028     QString proofingModel;
0029     QString proofingDepth;
0030     double adaptationState;
0031     bool storeSoftproofingInsideImage;
0032 
0033 };
0034 
0035 #endif // KISPROOFINGCONFIGURATION_H