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

GfxImageColorMap Class Reference

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

Collaboration diagram for GfxImageColorMap:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GfxImageColorMap (int bitsA, Object *decode, GfxColorSpace *colorSpaceA)
 ~GfxImageColorMap ()
GBool isOk ()
GfxColorSpacegetColorSpace ()
int getNumPixelComps ()
int getBits ()
fouble getDecodeLow (int i)
fouble getDecodeHigh (int i)
void getGray (Guchar *x, fouble *gray)
void getRGB (Guchar *x, GfxRGB *rgb)
void getCMYK (Guchar *x, GfxCMYK *cmyk)

Private Attributes

GfxColorSpacecolorSpace
int bits
int nComps
GfxColorSpacecolorSpace2
int nComps2
foublelookup
fouble decodeLow [gfxColorMaxComps]
fouble decodeRange [gfxColorMaxComps]
GBool ok

Constructor & Destructor Documentation

GfxImageColorMap::GfxImageColorMap int  bitsA,
Object decode,
GfxColorSpace colorSpaceA
 

Definition at line 1604 of file GfxState.cc.

References Object::arrayGet(), Object::arrayGetLength(), bits, colorSpace, colorSpace2, csIndexed, csSeparation, decodeLow, decodeRange, Object::free(), GfxSeparationColorSpace::getAlt(), GfxIndexedColorSpace::getBase(), GfxColorSpace::getDefaultRanges(), GfxSeparationColorSpace::getFunc(), GfxIndexedColorSpace::getIndexHigh(), GfxIndexedColorSpace::getLookup(), GfxColorSpace::getMode(), GfxColorSpace::getNComps(), Object::getNum(), gFalse, gfxColorMaxComps, gmalloc(), gTrue, i, Object::isArray(), Object::isNull(), Object::isNum(), lookup, nComps, nComps2, NULL, ok, Function::transform(), Opie::MM::x, and Opie::MM::y.

GfxImageColorMap::~GfxImageColorMap  ) 
 

Definition at line 1706 of file GfxState.cc.

References colorSpace, gfree(), and lookup.


Member Function Documentation

int GfxImageColorMap::getBits  )  [inline]
 

Definition at line 625 of file GfxState.h.

References bits.

Referenced by OutputDev::drawImage().

void GfxImageColorMap::getCMYK Guchar x,
GfxCMYK cmyk
 

Definition at line 1749 of file GfxState.cc.

References GfxColor::c, colorSpace, colorSpace2, GfxColorSpace::getCMYK(), i, lookup, nComps, nComps2, and p.

GfxColorSpace* GfxImageColorMap::getColorSpace  )  [inline]
 

Definition at line 621 of file GfxState.h.

References colorSpace.

fouble GfxImageColorMap::getDecodeHigh int  i  )  [inline]
 

Definition at line 629 of file GfxState.h.

References decodeLow, and decodeRange.

fouble GfxImageColorMap::getDecodeLow int  i  )  [inline]
 

Definition at line 628 of file GfxState.h.

References decodeLow.

void GfxImageColorMap::getGray Guchar x,
fouble gray
 

Definition at line 1711 of file GfxState.cc.

References GfxColor::c, colorSpace, colorSpace2, GfxColorSpace::getGray(), i, lookup, nComps, nComps2, and p.

int GfxImageColorMap::getNumPixelComps  )  [inline]
 

Definition at line 624 of file GfxState.h.

References nComps.

Referenced by OutputDev::drawImage(), and QOutputDev::drawImage().

void GfxImageColorMap::getRGB Guchar x,
GfxRGB rgb
 

Definition at line 1730 of file GfxState.cc.

References GfxColor::c, colorSpace, colorSpace2, GfxColorSpace::getRGB(), i, lookup, nComps, nComps2, and p.

GBool GfxImageColorMap::isOk  )  [inline]
 

Definition at line 618 of file GfxState.h.

References ok.

Referenced by Gfx::doImage().


Member Data Documentation

int GfxImageColorMap::bits [private]
 

Definition at line 639 of file GfxState.h.

Referenced by getBits(), and GfxImageColorMap().

GfxColorSpace* GfxImageColorMap::colorSpace [private]
 

Definition at line 638 of file GfxState.h.

Referenced by getCMYK(), getColorSpace(), getGray(), getRGB(), GfxImageColorMap(), and ~GfxImageColorMap().

GfxColorSpace* GfxImageColorMap::colorSpace2 [private]
 

Definition at line 641 of file GfxState.h.

Referenced by getCMYK(), getGray(), getRGB(), and GfxImageColorMap().

fouble GfxImageColorMap::decodeLow[gfxColorMaxComps] [private]
 

Definition at line 645 of file GfxState.h.

Referenced by getDecodeHigh(), getDecodeLow(), and GfxImageColorMap().

fouble GfxImageColorMap::decodeRange[gfxColorMaxComps] [private]
 

Definition at line 647 of file GfxState.h.

Referenced by getDecodeHigh(), and GfxImageColorMap().

fouble* GfxImageColorMap::lookup [private]
 

Definition at line 643 of file GfxState.h.

Referenced by getCMYK(), getGray(), getRGB(), GfxImageColorMap(), and ~GfxImageColorMap().

int GfxImageColorMap::nComps [private]
 

Definition at line 640 of file GfxState.h.

Referenced by getCMYK(), getGray(), getNumPixelComps(), getRGB(), and GfxImageColorMap().

int GfxImageColorMap::nComps2 [private]
 

Definition at line 642 of file GfxState.h.

Referenced by getCMYK(), getGray(), getRGB(), and GfxImageColorMap().

GBool GfxImageColorMap::ok [private]
 

Definition at line 648 of file GfxState.h.

Referenced by GfxImageColorMap(), and isOk().


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