Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GfxColorSpace Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/GfxState.h>

Inheritance diagram for GfxColorSpace:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GfxColorSpace ()
virtual ~GfxColorSpace ()
virtual GfxColorSpacecopy ()=0
virtual GfxColorSpaceMode getMode ()=0
virtual void getGray (GfxColor *color, fouble *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 (fouble *decodeLow, fouble *decodeRange, int maxImgPixel)

Static Public Member Functions

static GfxColorSpaceparse (Object *csObj)

Constructor & Destructor Documentation

GfxColorSpace::GfxColorSpace  ) 
 

Definition at line 34 of file GfxState.cc.

GfxColorSpace::~GfxColorSpace  )  [virtual]
 

Definition at line 37 of file GfxState.cc.


Member Function Documentation

virtual GfxColorSpace* GfxColorSpace::copy  )  [pure virtual]
 

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

Referenced by GfxPatternColorSpace::copy(), GfxDeviceNColorSpace::copy(), GfxSeparationColorSpace::copy(), GfxIndexedColorSpace::copy(), GfxICCBasedColorSpace::copy(), Gfx::doPatternFill(), and GfxState::GfxState().

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

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

Referenced by GfxImageColorMap::getCMYK(), GfxDeviceNColorSpace::getCMYK(), GfxSeparationColorSpace::getCMYK(), GfxIndexedColorSpace::getCMYK(), GfxICCBasedColorSpace::getCMYK(), GfxState::getFillCMYK(), and GfxState::getStrokeCMYK().

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

Reimplemented in GfxLabColorSpace, GfxICCBasedColorSpace, and GfxIndexedColorSpace.

Definition at line 91 of file GfxState.cc.

References getNComps(), and i.

Referenced by GfxImageColorMap::GfxImageColorMap().

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

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

Referenced by GfxState::getFillGray(), GfxImageColorMap::getGray(), GfxDeviceNColorSpace::getGray(), GfxSeparationColorSpace::getGray(), GfxIndexedColorSpace::getGray(), GfxICCBasedColorSpace::getGray(), and GfxState::getStrokeGray().

virtual GfxColorSpaceMode GfxColorSpace::getMode  )  [pure virtual]
 

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

Referenced by GfxImageColorMap::GfxImageColorMap().

virtual int GfxColorSpace::getNComps  )  [pure virtual]
 

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

Referenced by GfxIndexedColorSpace::copy(), GfxIndexedColorSpace::getCMYK(), getDefaultRanges(), GfxIndexedColorSpace::getGray(), GfxIndexedColorSpace::getRGB(), GfxImageColorMap::GfxImageColorMap(), GfxIndexedColorSpace::GfxIndexedColorSpace(), GfxShading::parse(), and GfxIndexedColorSpace::parse().

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

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

Referenced by GfxState::getFillRGB(), GfxImageColorMap::getRGB(), GfxDeviceNColorSpace::getRGB(), GfxSeparationColorSpace::getRGB(), GfxIndexedColorSpace::getRGB(), GfxICCBasedColorSpace::getRGB(), and GfxState::getStrokeRGB().

GfxColorSpace * GfxColorSpace::parse Object csObj  )  [static]
 

Definition at line 40 of file GfxState.cc.

References Object::arrayGet(), error(), Object::free(), Object::getArray(), Object::getName(), Object::isArray(), Object::isName(), NULL, GfxPatternColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxSeparationColorSpace::parse(), GfxIndexedColorSpace::parse(), GfxICCBasedColorSpace::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), and GfxCalGrayColorSpace::parse().

Referenced by Gfx::doImage(), Gfx::opSetFillColorSpace(), Gfx::opSetStrokeColorSpace(), GfxShading::parse(), GfxPatternColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxSeparationColorSpace::parse(), GfxIndexedColorSpace::parse(), and GfxICCBasedColorSpace::parse().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:33:49 2005 for OPIE by  doxygen 1.4.2