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

#include <KoRgbU8ColorSpace.h>

+ Inheritance diagram for KoRgbU8ColorSpaceFactory:

Public Member Functions

KoColorSpacecreateColorSpace (const KoColorProfile *) const override
 
 KoRgbU8ColorSpaceFactory ()
 
- 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 49 of file KoRgbU8ColorSpace.h.

Constructor & Destructor Documentation

◆ KoRgbU8ColorSpaceFactory()

KoRgbU8ColorSpaceFactory::KoRgbU8ColorSpaceFactory ( )
inline

Definition at line 53 of file KoRgbU8ColorSpace.h.

54 : KoSimpleColorSpaceFactory(QStringLiteral("RGBA"),
55 i18n("RGB (8-bit integer/channel, unmanaged)"),
56 true,
59 }
const KoID Integer8BitsColorDepthID("U8", ki18n("8-bit integer/channel"))
const KoID RGBAColorModelID("RGBA", ki18n("RGB/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 * KoRgbU8ColorSpaceFactory::createColorSpace ( const KoColorProfile * ) const
inlineoverridevirtual

creates a color space using the given profile.

Implements KoColorSpaceFactory.

Definition at line 61 of file KoRgbU8ColorSpace.h.

61 {
62 return new KoRgbU8ColorSpace();
63 }

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