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

GfxDeviceNColorSpace Class Reference

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

Inheritance diagram for GfxDeviceNColorSpace:

Inheritance graph
[legend]
Collaboration diagram for GfxDeviceNColorSpace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GfxDeviceNColorSpace (int nComps, GfxColorSpace *alt, Function *func)
virtual ~GfxDeviceNColorSpace ()
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 ()
GfxColorSpacegetAlt ()

Static Public Member Functions

static GfxColorSpaceparse (Array *arr)

Private Attributes

int nComps
GStringnames [gfxColorMaxComps]
GfxColorSpacealt
Functionfunc

Constructor & Destructor Documentation

GfxDeviceNColorSpace::GfxDeviceNColorSpace int  nComps,
GfxColorSpace alt,
Function func
 

Definition at line 971 of file GfxState.cc.

References alt, func, and nComps.

Referenced by copy(), and parse().

GfxDeviceNColorSpace::~GfxDeviceNColorSpace  )  [virtual]
 

Definition at line 979 of file GfxState.cc.

References alt, func, i, names, and nComps.


Member Function Documentation

GfxColorSpace * GfxDeviceNColorSpace::copy  )  [virtual]
 

Implements GfxColorSpace.

Definition at line 989 of file GfxState.cc.

References alt, GString::copy(), Function::copy(), GfxColorSpace::copy(), func, GfxDeviceNColorSpace(), i, names, and nComps.

GfxColorSpace* GfxDeviceNColorSpace::getAlt  )  [inline]
 

Definition at line 409 of file GfxState.h.

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

Implements GfxColorSpace.

Definition at line 1072 of file GfxState.cc.

References alt, GfxColor::c, func, GfxColorSpace::getCMYK(), and Function::transform().

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

Implements GfxColorSpace.

Definition at line 1058 of file GfxState.cc.

References alt, GfxColor::c, func, GfxColorSpace::getGray(), and Function::transform().

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

Implements GfxColorSpace.

Definition at line 397 of file GfxState.h.

References csDeviceN.

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

Implements GfxColorSpace.

Definition at line 406 of file GfxState.h.

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

Implements GfxColorSpace.

Definition at line 1065 of file GfxState.cc.

References alt, GfxColor::c, func, GfxColorSpace::getRGB(), and Function::transform().

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

Definition at line 1001 of file GfxState.cc.

References Object::arrayGet(), Object::arrayGetLength(), error(), Object::free(), Object::getName(), gfxColorMaxComps, GfxDeviceNColorSpace(), i, names, NULL, Function::parse(), and GfxColorSpace::parse().

Referenced by GfxColorSpace::parse().


Member Data Documentation

GfxColorSpace* GfxDeviceNColorSpace::alt [private]
 

Definition at line 416 of file GfxState.h.

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

Function* GfxDeviceNColorSpace::func [private]
 

Definition at line 417 of file GfxState.h.

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

GString* GfxDeviceNColorSpace::names[gfxColorMaxComps] [private]
 

Definition at line 415 of file GfxState.h.

Referenced by copy(), parse(), and ~GfxDeviceNColorSpace().

int GfxDeviceNColorSpace::nComps [private]
 

Definition at line 413 of file GfxState.h.

Referenced by copy(), GfxDeviceNColorSpace(), and ~GfxDeviceNColorSpace().


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