Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorSpace.h File Reference
#include <climits>
#include <QImage>
#include <QHash>
#include <QVector>
#include <QList>
#include <boost/operators.hpp>
#include "KoColorSpaceConstants.h"
#include "KoColorConversionTransformation.h"
#include "KoColorProofingConversionTransformation.h"
#include "KoCompositeOp.h"
#include "KisDitherOp.h"
#include <KoID.h>
#include "kritapigment_export.h"

Go to the source code of this file.

Classes

struct  KoColorSpace
 

Enumerations

enum  ColorSpaceIndependence { FULLY_INDEPENDENT , TO_LAB16 , TO_RGBA8 , TO_RGBA16 }
 
enum  Deletability { OwnedByRegistryDoNotDelete , OwnedByRegistryRegistryDeletes , NotOwnedByRegistry }
 

Functions

QDebug operator<< (QDebug dbg, const KoColorSpace *cs)
 

Enumeration Type Documentation

◆ ColorSpaceIndependence

Enumerator
FULLY_INDEPENDENT 
TO_LAB16 
TO_RGBA8 
TO_RGBA16 

Definition at line 40 of file KoColorSpace.h.

40 {
45};
@ TO_RGBA16
@ TO_LAB16
@ FULLY_INDEPENDENT
@ TO_RGBA8

◆ Deletability

Enumerator
OwnedByRegistryDoNotDelete 
OwnedByRegistryRegistryDeletes 
NotOwnedByRegistry 

Definition at line 34 of file KoColorSpace.h.

34 {
38};
@ NotOwnedByRegistry
@ OwnedByRegistryDoNotDelete
@ OwnedByRegistryRegistryDeletes

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug dbg,
const KoColorSpace * cs )
inline

Definition at line 755 of file KoColorSpace.h.

756{
757 if (cs) {
758 dbg.nospace() << cs->name() << " (" << cs->colorModelId().id() << "," << cs->colorDepthId().id() << " )";
759 } else {
760 dbg.nospace() << "0x0";
761 }
762
763 return dbg.space();
764}
virtual KoID colorModelId() const =0
virtual KoID colorDepthId() const =0
QString id() const
Definition KoID.cpp:63

References KoColorSpace::colorDepthId(), KoColorSpace::colorModelId(), KoID::id(), and KoColorSpace::name.