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

GfxIndexedColorSpace Class Reference

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

Inheritance diagram for GfxIndexedColorSpace:

Inheritance graph
[legend]
Collaboration diagram for GfxIndexedColorSpace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GfxIndexedColorSpace (GfxColorSpace *baseA, int indexHighA)
virtual ~GfxIndexedColorSpace ()
virtual GfxColorSpacecopy ()
virtual GfxColorSpaceMode getMode ()
virtual void getGray (GfxColor *color, fouble *gray)
virtual void getRGB (GfxColor *color, GfxRGB *rgb)
virtual void getCMYK (GfxColor *color, GfxCMYK *cmyk)
virtual int getNComps ()
virtual void getDefaultRanges (fouble *decodeLow, fouble *decodeRange, int maxImgPixel)
GfxColorSpacegetBase ()
int getIndexHigh ()
GuchargetLookup ()

Static Public Member Functions

static GfxColorSpaceparse (Array *arr)

Private Attributes

GfxColorSpacebase
int indexHigh
Gucharlookup

Constructor & Destructor Documentation

GfxIndexedColorSpace::GfxIndexedColorSpace GfxColorSpace baseA,
int  indexHighA
 

Definition at line 748 of file GfxState.cc.

References base, GfxColorSpace::getNComps(), gmalloc(), indexHigh, and lookup.

Referenced by copy(), and parse().

GfxIndexedColorSpace::~GfxIndexedColorSpace  )  [virtual]
 

Definition at line 756 of file GfxState.cc.

References base, gfree(), and lookup.


Member Function Documentation

GfxColorSpace * GfxIndexedColorSpace::copy  )  [virtual]
 

Implements GfxColorSpace.

Definition at line 761 of file GfxState.cc.

References base, GfxColorSpace::copy(), GfxColorSpace::getNComps(), GfxIndexedColorSpace(), indexHigh, and lookup.

GfxColorSpace* GfxIndexedColorSpace::getBase  )  [inline]
 

Definition at line 342 of file GfxState.h.

References base.

Referenced by GfxImageColorMap::GfxImageColorMap().

void GfxIndexedColorSpace::getCMYK GfxColor color,
GfxCMYK cmyk
[virtual]
 

Implements GfxColorSpace.

Definition at line 862 of file GfxState.cc.

References base, GfxColor::c, GfxColorSpace::getCMYK(), GfxColorSpace::getNComps(), i, lookup, and p.

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

Reimplemented from GfxColorSpace.

Definition at line 875 of file GfxState.cc.

void GfxIndexedColorSpace::getGray GfxColor color,
fouble gray
[virtual]
 

Implements GfxColorSpace.

Definition at line 836 of file GfxState.cc.

References base, GfxColor::c, GfxColorSpace::getGray(), GfxColorSpace::getNComps(), i, lookup, and p.

int GfxIndexedColorSpace::getIndexHigh  )  [inline]
 

Definition at line 343 of file GfxState.h.

References indexHigh.

Referenced by GfxImageColorMap::GfxImageColorMap().

Guchar* GfxIndexedColorSpace::getLookup  )  [inline]
 

Definition at line 344 of file GfxState.h.

References lookup.

Referenced by GfxImageColorMap::GfxImageColorMap().

virtual GfxColorSpaceMode GfxIndexedColorSpace::getMode  )  [inline, virtual]
 

Implements GfxColorSpace.

Definition at line 327 of file GfxState.h.

References csIndexed.

virtual int GfxIndexedColorSpace::getNComps  )  [inline, virtual]
 

Implements GfxColorSpace.

Definition at line 336 of file GfxState.h.

void GfxIndexedColorSpace::getRGB GfxColor color,
GfxRGB rgb
[virtual]
 

Implements GfxColorSpace.

Definition at line 849 of file GfxState.cc.

References base, GfxColor::c, GfxColorSpace::getNComps(), GfxColorSpace::getRGB(), i, lookup, and p.

GfxColorSpace * GfxIndexedColorSpace::parse Array arr  )  [static]
 

Definition at line 770 of file GfxState.cc.

References error(), Array::get(), Array::getLength(), GfxColorSpace::getNComps(), GfxIndexedColorSpace(), i, lookup, NULL, GfxColorSpace::parse(), s, and Opie::MM::x.

Referenced by GfxColorSpace::parse().


Member Data Documentation

GfxColorSpace* GfxIndexedColorSpace::base [private]
 

Definition at line 348 of file GfxState.h.

Referenced by copy(), getBase(), getCMYK(), getGray(), getRGB(), GfxIndexedColorSpace(), and ~GfxIndexedColorSpace().

int GfxIndexedColorSpace::indexHigh [private]
 

Definition at line 349 of file GfxState.h.

Referenced by copy(), getIndexHigh(), and GfxIndexedColorSpace().

Guchar* GfxIndexedColorSpace::lookup [private]
 

Definition at line 350 of file GfxState.h.

Referenced by copy(), getCMYK(), getGray(), getLookup(), getRGB(), GfxIndexedColorSpace(), parse(), and ~GfxIndexedColorSpace().


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