Krita Source Code Documentation
Loading...
Searching...
No Matches
KoLabColorSpaceFactory Class Reference

#include <KoLabColorSpace.h>

+ Inheritance diagram for KoLabColorSpaceFactory:

Public Member Functions

KoColorSpacecreateColorSpace (const KoColorProfile *) const override
 
 KoLabColorSpaceFactory ()
 
- Public Member Functions inherited from KoSimpleColorSpaceFactory
QList< KoColorConversionTransformationFactory * > colorConversionLinks () const override
 
KoID colorDepthId () const override
 
KoID colorModelId () const override
 
QString colorSpaceEngine () const override
 
int crossingCost () const override
 
QString defaultProfile () const override
 
QString id () const override
 
bool isHdr () const override
 
 KoSimpleColorSpaceFactory (const QString &id, const QString &name, bool userVisible, const KoID &colorModelId, const KoID &colorDepthId, int referenceDepth=-1, int crossingCost=1)
 
QString name () const override
 
bool profileIsCompatible (const KoColorProfile *profile) const override
 
int referenceDepth () const override
 
bool userVisible () const override
 
- Public Member Functions inherited from KoColorSpaceFactory
const KoColorProfilecolorProfile (const QByteArray &rawData, ProfileRegistrationInterface *registrationInterface) const
 
const KoColorSpacegrabColorSpace (const KoColorProfile *profile)
 
virtual ~KoColorSpaceFactory ()
 
- Public Member Functions inherited from Private
 Private (KisCanvas2 *c)
 

Additional Inherited Members

- Public Attributes inherited from KoColorSpaceFactory
QHash< QString, KoColorSpace * > availableColorspaces
 
QList< KoColorProfile * > colorprofiles
 
QMutex mutex
 
QHash< KoColorSpace *, QString > stackInformation
 
- Public Attributes inherited from Private
KisCanvas2canvas
 
int displayedFrame
 
int intendedFrame
 
- Protected Member Functions inherited from KoSimpleColorSpaceFactory
KoColorProfilecreateColorProfile (const QByteArray &) const override
 
- Protected Member Functions inherited from KoColorSpaceFactory
 KoColorSpaceFactory ()
 

Detailed Description

Definition at line 59 of file KoLabColorSpace.h.

Constructor & Destructor Documentation

◆ KoLabColorSpaceFactory()

KoLabColorSpaceFactory::KoLabColorSpaceFactory ( )
inline

Definition at line 64 of file KoLabColorSpace.h.

66 i18n("L*a*b* (16-bit integer/channel, unmanaged)"),
67 true,
70 }
const KoID Integer16BitsColorDepthID("U16", ki18n("16-bit integer/channel"))
const KoID LABAColorModelID("LABA", ki18n("L*a*b*/Alpha"))
KoSimpleColorSpaceFactory(const QString &id, const QString &name, bool userVisible, const KoID &colorModelId, const KoID &colorDepthId, int referenceDepth=-1, int crossingCost=1)

Member Function Documentation

◆ createColorSpace()

KoColorSpace * KoLabColorSpaceFactory::createColorSpace ( const KoColorProfile * ) const
inlineoverridevirtual

creates a color space using the given profile.

Implements KoColorSpaceFactory.

Definition at line 72 of file KoLabColorSpace.h.

72 {
73 return new KoLabColorSpace();
74 }

The documentation for this class was generated from the following file: