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

GfxCalGrayColorSpace Class Reference

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

Inheritance diagram for GfxCalGrayColorSpace:

Inheritance graph
[legend]
Collaboration diagram for GfxCalGrayColorSpace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GfxCalGrayColorSpace ()
virtual ~GfxCalGrayColorSpace ()
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 ()
fouble getWhiteX ()
fouble getWhiteY ()
fouble getWhiteZ ()
fouble getBlackX ()
fouble getBlackY ()
fouble getBlackZ ()
fouble getGamma ()

Static Public Member Functions

static GfxColorSpaceparse (Array *arr)

Private Attributes

fouble whiteX
fouble whiteY
fouble whiteZ
fouble blackX
fouble blackY
fouble blackZ
fouble gamma

Constructor & Destructor Documentation

GfxCalGrayColorSpace::GfxCalGrayColorSpace  ) 
 

Definition at line 132 of file GfxState.cc.

References blackX, blackY, blackZ, gamma, whiteX, whiteY, and whiteZ.

Referenced by copy(), and parse().

GfxCalGrayColorSpace::~GfxCalGrayColorSpace  )  [virtual]
 

Definition at line 138 of file GfxState.cc.


Member Function Documentation

GfxColorSpace * GfxCalGrayColorSpace::copy  )  [virtual]
 

Implements GfxColorSpace.

Definition at line 141 of file GfxState.cc.

References blackX, blackY, blackZ, gamma, GfxCalGrayColorSpace(), whiteX, whiteY, and whiteZ.

fouble GfxCalGrayColorSpace::getBlackX  )  [inline]
 

Definition at line 141 of file GfxState.h.

References blackX.

fouble GfxCalGrayColorSpace::getBlackY  )  [inline]
 

Definition at line 142 of file GfxState.h.

References blackY.

fouble GfxCalGrayColorSpace::getBlackZ  )  [inline]
 

Definition at line 143 of file GfxState.h.

References blackZ.

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

Implements GfxColorSpace.

Definition at line 208 of file GfxState.cc.

References GfxColor::c, GfxCMYK::c, clip01(), GfxCMYK::k, GfxCMYK::m, and GfxCMYK::y.

fouble GfxCalGrayColorSpace::getGamma  )  [inline]
 

Definition at line 144 of file GfxState.h.

References gamma.

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

Implements GfxColorSpace.

Definition at line 200 of file GfxState.cc.

References clip01().

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

Implements GfxColorSpace.

Definition at line 126 of file GfxState.h.

References csCalGray.

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

Implements GfxColorSpace.

Definition at line 135 of file GfxState.h.

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

Implements GfxColorSpace.

Definition at line 204 of file GfxState.cc.

References GfxRGB::b, GfxColor::c, clip01(), GfxRGB::g, and GfxRGB::r.

fouble GfxCalGrayColorSpace::getWhiteX  )  [inline]
 

Definition at line 138 of file GfxState.h.

References whiteX.

fouble GfxCalGrayColorSpace::getWhiteY  )  [inline]
 

Definition at line 139 of file GfxState.h.

References whiteY.

fouble GfxCalGrayColorSpace::getWhiteZ  )  [inline]
 

Definition at line 140 of file GfxState.h.

References whiteZ.

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

Definition at line 155 of file GfxState.cc.

References Object::arrayGet(), Object::arrayGetLength(), blackX, blackY, blackZ, Object::dictLookup(), error(), Object::free(), gamma, Array::get(), Object::getNum(), GfxCalGrayColorSpace(), Object::isDict(), NULL, whiteX, whiteY, and whiteZ.

Referenced by GfxColorSpace::parse().


Member Data Documentation

fouble GfxCalGrayColorSpace::blackX [private]
 

Definition at line 149 of file GfxState.h.

Referenced by copy(), getBlackX(), GfxCalGrayColorSpace(), and parse().

fouble GfxCalGrayColorSpace::blackY [private]
 

Definition at line 149 of file GfxState.h.

Referenced by copy(), getBlackY(), GfxCalGrayColorSpace(), and parse().

fouble GfxCalGrayColorSpace::blackZ [private]
 

Definition at line 149 of file GfxState.h.

Referenced by copy(), getBlackZ(), GfxCalGrayColorSpace(), and parse().

fouble GfxCalGrayColorSpace::gamma [private]
 

Definition at line 150 of file GfxState.h.

Referenced by copy(), getGamma(), GfxCalGrayColorSpace(), and parse().

fouble GfxCalGrayColorSpace::whiteX [private]
 

Definition at line 148 of file GfxState.h.

Referenced by copy(), getWhiteX(), GfxCalGrayColorSpace(), and parse().

fouble GfxCalGrayColorSpace::whiteY [private]
 

Definition at line 148 of file GfxState.h.

Referenced by copy(), getWhiteY(), GfxCalGrayColorSpace(), and parse().

fouble GfxCalGrayColorSpace::whiteZ [private]
 

Definition at line 148 of file GfxState.h.

Referenced by copy(), getWhiteZ(), GfxCalGrayColorSpace(), and parse().


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