Scribus
Open source desktop publishing at your fingertips
ScColorEngine Class Reference

Static Public Member Functions

static QColor getRGBColor (const ScColor &color, const ScribusDoc *doc)
 get RGB values of a specified color
 
static ScColor convertToModel (const ScColor &color, const ScribusDoc *doc, colorModel model)
 
static void getRGBValues (const ScColor &color, const ScribusDoc *doc, RGBColor &rgb)
 get RGB values of a specified color
 
static void getCMYKValues (const ScColor &color, const ScribusDoc *doc, CMYKColor &cmyk)
 get CMYK values of a specified color
 
static void getShadeColorRGB (const ScColor &color, const ScribusDoc *doc, RGBColor &, double level)
 get RGB values of a specified shade
 
static void getShadeColorCMYK (const ScColor &color, const ScribusDoc *doc, CMYKColor &cmyk, double level)
 get CMYK values of a specified shade
 
static QColor getDisplayColor (const ScColor &color, const ScribusDoc *doc)
 Return a color converted to monitor color space. No soft-proofing is done.
 
static QColor getDisplayColor (const ScColor &color, const ScribusDoc *doc, double level)
 Return a color with the specified shade converted to monitor color space. No soft-proofing is done.
 
static QColor getDisplayColorGC (const ScColor &color, const ScribusDoc *doc, bool *outOfG=NULL)
 Return a color converted to monitor color space. No soft-proofing is done If gamut check is valid, the return value may be an gamut warning .
 
static QColor getColorProof (const ScColor &color, const ScribusDoc *doc, bool gamutCheck=false)
 Return a proofed QColor with 100% shade and optional gamut check. If color management is enabled, returned value use the monitor color space.
 
static QColor getShadeColor (const ScColor &color, const ScribusDoc *doc, double level)
 Return a QColor with the specified shade. If color management is enabled, returned value use the rgb solid colors space.
 
static QColor getShadeColorProof (const ScColor &color, const ScribusDoc *doc, double level)
 Return a proofed QColor with the specified shade. If color management is enabled, returned value use the monitor color space.
 
static QColor getColorProof (RGBColor &rgb, const ScribusDoc *doc, bool spot, bool gamutCkeck)
 Return a proofed QColor from a rgb color. If color management is enabled, returned value use the monitor color space.
 
static QColor getColorProof (CMYKColor &cmyk, const ScribusDoc *doc, bool spot, bool gamutCkeck)
 Return a proofed QColor from a cmyk color. If color management is enabled, returned value use the monitor color space.
 
static QColor getDisplayColor (RGBColor &rgb, const ScribusDoc *doc, bool spot)
 Return a QColor from a rgb color using doc rgb color space as input. If color management is enabled, returned value use the monitor rgb color space.
 
static QColor getDisplayColor (CMYKColor &cmyk, const ScribusDoc *doc, bool spot)
 Return a QColor from a cmyk color using doc cmyk color space as input. If color management is enabled, returned value use the monitor rgb color space.
 
static bool isOutOfGamut (const ScColor &color, const ScribusDoc *doc)
 Check if a color is inside document output color space gamut.
 
static void applyGCR (ScColor &color, const ScribusDoc *doc)
 Applys Gray-Component-Removal to an ScColor.
 

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