KisProofingConfiguration.h 1.28 KB
Newer Older
1 2 3
#ifndef KISPROOFINGCONFIGURATION_H
#define KISPROOFINGCONFIGURATION_H

4 5 6 7
#include "KoColor.h"
#include "KoColorSpace.h"
#include "KoColorConversionTransformation.h"

8 9
/**
 * @brief The KisProofingConfiguration struct
10 11 12 13
 * Little struct that stores the proofing configuration for a given file.
 * The actual softproofing and gamutcheck toggles are set in the canvas.
 * intet, conversionflags and warning color have default set to them. This
 * wasn't possible for profileSpace.
14 15
 */
struct KisProofingConfiguration {
16 17 18 19 20
    KisProofingConfiguration() : intent(KoColorConversionTransformation::IntentAbsoluteColorimetric),
                                 conversionFlags(KoColorConversionTransformation::BlackpointCompensation),
                                 warningColor(KoColor()),
                                 proofingProfile("Chemical proof"),
                                 proofingModel("CMYKA"),
21 22
                                 proofingDepth("U8"),
                                 adaptationState(1.0){}
23 24 25 26 27 28
    KoColorConversionTransformation::Intent intent;
    KoColorConversionTransformation::ConversionFlags conversionFlags;
    KoColor warningColor;
    QString proofingProfile;
    QString proofingModel;
    QString proofingDepth;
29
    double adaptationState;
30 31 32 33

};

#endif // KISPROOFINGCONFIGURATION_H