Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

GfxColorSpace Class Reference

#include <GfxState.h>

Inheritance diagram for GfxColorSpace:

GfxCalGrayColorSpace GfxCalRGBColorSpace GfxDeviceCMYKColorSpace GfxDeviceGrayColorSpace GfxDeviceNColorSpace GfxDeviceRGBColorSpace GfxICCBasedColorSpace GfxIndexedColorSpace GfxLabColorSpace GfxPatternColorSpace GfxSeparationColorSpace List of all members.

Public Methods

 GfxColorSpace ()
virtual ~GfxColorSpace ()
virtual GfxColorSpace * copy ()=0
virtual GfxColorSpaceMode getMode ()=0
virtual void getGray (GfxColor *color, double *gray)=0
virtual void getRGB (GfxColor *color, GfxRGB *rgb)=0
virtual void getCMYK (GfxColor *color, GfxCMYK *cmyk)=0
virtual int getNComps ()=0
virtual void getDefaultRanges (double *decodeLow, double *decodeRange, int maxImgPixel)

Static Public Methods

GfxColorSpace * parse (Object *csObj)
int getNumColorSpaceModes ()
char * getColorSpaceModeName (int idx)

Constructor & Destructor Documentation

GfxColorSpace::GfxColorSpace  
 

GfxColorSpace::~GfxColorSpace   [virtual]
 


Member Function Documentation

virtual GfxColorSpace* GfxColorSpace::copy   [pure virtual]
 

Implemented in GfxDeviceGrayColorSpace, GfxCalGrayColorSpace, GfxDeviceRGBColorSpace, GfxCalRGBColorSpace, GfxDeviceCMYKColorSpace, GfxLabColorSpace, GfxICCBasedColorSpace, GfxIndexedColorSpace, GfxSeparationColorSpace, GfxDeviceNColorSpace, and GfxPatternColorSpace.

virtual void GfxColorSpace::getCMYK GfxColor   color,
GfxCMYK   cmyk
[pure virtual]
 

Implemented in GfxDeviceGrayColorSpace, GfxCalGrayColorSpace, GfxDeviceRGBColorSpace, GfxCalRGBColorSpace, GfxDeviceCMYKColorSpace, GfxLabColorSpace, GfxICCBasedColorSpace, GfxIndexedColorSpace, GfxSeparationColorSpace, GfxDeviceNColorSpace, and GfxPatternColorSpace.

char * GfxColorSpace::getColorSpaceModeName int    idx [static]
 

void GfxColorSpace::getDefaultRanges double *    decodeLow,
double *    decodeRange,
int    maxImgPixel
[virtual]
 

Reimplemented in GfxLabColorSpace, GfxICCBasedColorSpace, and GfxIndexedColorSpace.

virtual void GfxColorSpace::getGray GfxColor   color,
double *    gray
[pure virtual]
 

Implemented in GfxDeviceGrayColorSpace, GfxCalGrayColorSpace, GfxDeviceRGBColorSpace, GfxCalRGBColorSpace, GfxDeviceCMYKColorSpace, GfxLabColorSpace, GfxICCBasedColorSpace, GfxIndexedColorSpace, GfxSeparationColorSpace, GfxDeviceNColorSpace, and GfxPatternColorSpace.

virtual GfxColorSpaceMode GfxColorSpace::getMode   [pure virtual]
 

Implemented in GfxDeviceGrayColorSpace, GfxCalGrayColorSpace, GfxDeviceRGBColorSpace, GfxCalRGBColorSpace, GfxDeviceCMYKColorSpace, GfxLabColorSpace, GfxICCBasedColorSpace, GfxIndexedColorSpace, GfxSeparationColorSpace, GfxDeviceNColorSpace, and GfxPatternColorSpace.

virtual int GfxColorSpace::getNComps   [pure virtual]
 

Implemented in GfxDeviceGrayColorSpace, GfxCalGrayColorSpace, GfxDeviceRGBColorSpace, GfxCalRGBColorSpace, GfxDeviceCMYKColorSpace, GfxLabColorSpace, GfxICCBasedColorSpace, GfxIndexedColorSpace, GfxSeparationColorSpace, GfxDeviceNColorSpace, and GfxPatternColorSpace.

int GfxColorSpace::getNumColorSpaceModes   [static]
 

virtual void GfxColorSpace::getRGB GfxColor   color,
GfxRGB   rgb
[pure virtual]
 

Implemented in GfxDeviceGrayColorSpace, GfxCalGrayColorSpace, GfxDeviceRGBColorSpace, GfxCalRGBColorSpace, GfxDeviceCMYKColorSpace, GfxLabColorSpace, GfxICCBasedColorSpace, GfxIndexedColorSpace, GfxSeparationColorSpace, GfxDeviceNColorSpace, and GfxPatternColorSpace.

GfxColorSpace * GfxColorSpace::parse Object   csObj [static]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:34 2004 for Lemur Toolkit by doxygen1.2.18