Krita Source Code Documentation
Loading...
Searching...
No Matches
KisDisplayConfig.h File Reference
#include <kritaui_export.h>
#include <boost/operators.hpp>
#include <KoColorConversionTransformation.h>

Go to the source code of this file.

Classes

class  KisDisplayConfig
 KisDisplayConfig This class keeps track of the color management configuration for image to display. This includes the profile used, but also the various flags that need to be set on the final transform. More...
 
class  KisMultiSurfaceDisplayConfig
 

Functions

KRITAUI_EXPORT QDebug operator<< (QDebug debug, const KisDisplayConfig &value)
 

Function Documentation

◆ operator<<()

KRITAUI_EXPORT QDebug operator<< ( QDebug debug,
const KisDisplayConfig & value )

Definition at line 67 of file KisDisplayConfig.cpp.

67 {
68 QDebugStateSaver saver(debug);
69 debug.nospace() << "KisDisplayConfig(";
70
71 debug.nospace() << "profile: " << value.profile;
72
73 if (value.profile) {
74 debug.nospace() << " (" << value.profile->name() << ")";
75 }
76 debug.nospace() << ", ";
77 debug.nospace() << "intent: " << value.intent << ", ";
78 debug.nospace() << "conversionFlags: " << value.conversionFlags << ", ";
79 debug.nospace() << "isHDR: " << value.isHDR;
80
81 debug.nospace() << ")";
82 return debug;
83}
float value(const T *src, size_t ch)
PyObject * debug(PyObject *, PyObject *args)

References value().