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

OutputDev Class Reference

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

Inheritance diagram for OutputDev:

Inheritance graph
[legend]
Collaboration diagram for OutputDev:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OutputDev ()
virtual ~OutputDev ()
virtual GBool upsideDown ()=0
virtual GBool useDrawChar ()=0
virtual GBool interpretType3Chars ()=0
virtual GBool needNonText ()
virtual void setDefaultCTM (fouble *ctm)
virtual void startPage (int pageNum, GfxState *state)
virtual void endPage ()
virtual void dump ()
virtual void cvtDevToUser (int dx, int dy, fouble *ux, fouble *uy)
virtual void cvtUserToDev (fouble ux, fouble uy, int *dx, int *dy)
virtual void drawLink (Link *link, Catalog *catalog)
virtual void saveState (GfxState *state)
virtual void restoreState (GfxState *state)
virtual void updateAll (GfxState *state)
virtual void updateCTM (GfxState *state, fouble m11, fouble m12, fouble m21, fouble m22, fouble m31, fouble m32)
virtual void updateLineDash (GfxState *state)
virtual void updateFlatness (GfxState *state)
virtual void updateLineJoin (GfxState *state)
virtual void updateLineCap (GfxState *state)
virtual void updateMiterLimit (GfxState *state)
virtual void updateLineWidth (GfxState *state)
virtual void updateFillColor (GfxState *state)
virtual void updateStrokeColor (GfxState *state)
virtual void updateFillOpacity (GfxState *state)
virtual void updateStrokeOpacity (GfxState *state)
virtual void updateFont (GfxState *state)
virtual void updateTextMat (GfxState *state)
virtual void updateCharSpace (GfxState *state)
virtual void updateRender (GfxState *state)
virtual void updateRise (GfxState *state)
virtual void updateWordSpace (GfxState *state)
virtual void updateHorizScaling (GfxState *state)
virtual void updateTextPos (GfxState *state)
virtual void updateTextShift (GfxState *state, fouble shift)
virtual void stroke (GfxState *state)
virtual void fill (GfxState *state)
virtual void eoFill (GfxState *state)
virtual void clip (GfxState *state)
virtual void eoClip (GfxState *state)
virtual void beginString (GfxState *state, GString *s)
virtual void endString (GfxState *state)
virtual void drawChar (GfxState *state, fouble x, fouble y, fouble dx, fouble dy, fouble originX, fouble originY, CharCode code, Unicode *u, int uLen)
virtual void drawString (GfxState *state, GString *s)
virtual GBool beginType3Char (GfxState *state, CharCode code, Unicode *u, int uLen)
virtual void endType3Char (GfxState *state)
virtual void drawImageMask (GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, GBool inlineImg)
virtual void drawImage (GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, int *maskColors, GBool inlineImg)
virtual void type3D0 (GfxState *state, fouble wx, fouble wy)
virtual void type3D1 (GfxState *state, fouble wx, fouble wy, fouble llx, fouble lly, fouble urx, fouble ury)
virtual void psXObject (Stream *psStream, Stream *level1Stream)

Private Attributes

fouble defCTM [6]
fouble defICTM [6]

Constructor & Destructor Documentation

OutputDev::OutputDev  )  [inline]
 

Definition at line 35 of file OutputDev.h.

virtual OutputDev::~OutputDev  )  [inline, virtual]
 

Definition at line 38 of file OutputDev.h.


Member Function Documentation

virtual void OutputDev::beginString GfxState state,
GString s
[inline, virtual]
 

Reimplemented in QOutputDev, and TextOutputDev.

Definition at line 119 of file OutputDev.h.

Referenced by Gfx::doShowText().

GBool OutputDev::beginType3Char GfxState state,
CharCode  code,
Unicode *  u,
int  uLen
[virtual]
 

Definition at line 62 of file OutputDev.cc.

References gFalse.

Referenced by Gfx::doShowText().

virtual void OutputDev::clip GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 115 of file OutputDev.h.

Referenced by Gfx::doEndPath(), Gfx::doForm1(), Gfx::doPatternFill(), Gfx::Gfx(), and Gfx::opShFill().

void OutputDev::cvtDevToUser int  dx,
int  dy,
fouble ux,
fouble uy
[virtual]
 

Definition at line 40 of file OutputDev.cc.

References defICTM.

void OutputDev::cvtUserToDev fouble  ux,
fouble  uy,
int *  dx,
int *  dy
[virtual]
 

Definition at line 45 of file OutputDev.cc.

References defCTM.

Referenced by QOutputDev::drawLink().

virtual void OutputDev::drawChar GfxState state,
fouble  x,
fouble  y,
fouble  dx,
fouble  dy,
fouble  originX,
fouble  originY,
CharCode  code,
Unicode *  u,
int  uLen
[inline, virtual]
 

Reimplemented in TextOutputDev.

Definition at line 121 of file OutputDev.h.

Referenced by Gfx::doShowText().

void OutputDev::drawImage GfxState state,
Object ref,
Stream str,
int  width,
int  height,
GfxImageColorMap colorMap,
int *  maskColors,
GBool  inlineImg
[virtual]
 

Reimplemented in QOutputDev.

Definition at line 81 of file OutputDev.cc.

References Stream::close(), GfxImageColorMap::getBits(), Stream::getChar(), GfxImageColorMap::getNumPixelComps(), i, and Stream::reset().

Referenced by Gfx::doImage().

void OutputDev::drawImageMask GfxState state,
Object ref,
Stream str,
int  width,
int  height,
GBool  invert,
GBool  inlineImg
[virtual]
 

Reimplemented in QOutputDev.

Definition at line 67 of file OutputDev.cc.

References Stream::close(), Stream::getChar(), i, and Stream::reset().

Referenced by Gfx::doImage().

virtual void OutputDev::drawLink Link link,
Catalog catalog
[inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 77 of file OutputDev.h.

Referenced by Page::display().

virtual void OutputDev::drawString GfxState state,
GString s
[inline, virtual]
 

Definition at line 125 of file OutputDev.h.

Referenced by Gfx::doShowText().

virtual void OutputDev::dump  )  [inline, virtual]
 

Definition at line 68 of file OutputDev.h.

Referenced by Page::display(), and Gfx::go().

virtual void OutputDev::endPage  )  [inline, virtual]
 

Reimplemented in QOutputDev, and TextOutputDev.

Definition at line 65 of file OutputDev.h.

Referenced by Gfx::~Gfx().

virtual void OutputDev::endString GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev, and TextOutputDev.

Definition at line 120 of file OutputDev.h.

Referenced by Gfx::doShowText().

virtual void OutputDev::endType3Char GfxState state  )  [inline, virtual]
 

Definition at line 128 of file OutputDev.h.

Referenced by Gfx::doShowText().

virtual void OutputDev::eoClip GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 116 of file OutputDev.h.

Referenced by Gfx::doEndPath(), and Gfx::doPatternFill().

virtual void OutputDev::eoFill GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 112 of file OutputDev.h.

Referenced by Gfx::doRadialShFill(), Gfx::opCloseEOFillStroke(), Gfx::opEOFill(), and Gfx::opEOFillStroke().

virtual void OutputDev::fill GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 111 of file OutputDev.h.

Referenced by Gfx::doAxialShFill(), Gfx::opCloseFillStroke(), Gfx::opFill(), and Gfx::opFillStroke().

virtual GBool OutputDev::interpretType3Chars  )  [pure virtual]
 

Implemented in QOutputDev, and TextOutputDev.

Referenced by Gfx::doShowText().

virtual GBool OutputDev::needNonText  )  [inline, virtual]
 

Reimplemented in QOutputDev, and TextOutputDev.

Definition at line 54 of file OutputDev.h.

References gTrue.

Referenced by Gfx::doPatternFill().

virtual void OutputDev::psXObject Stream psStream,
Stream level1Stream
[inline, virtual]
 

Definition at line 150 of file OutputDev.h.

Referenced by Gfx::opXObject().

virtual void OutputDev::restoreState GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 81 of file OutputDev.h.

Referenced by Gfx::doForm1(), Gfx::doPatternFill(), Gfx::doShowText(), Gfx::opRestore(), Gfx::opShFill(), and Gfx::~Gfx().

virtual void OutputDev::saveState GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 80 of file OutputDev.h.

Referenced by Gfx::doForm1(), Gfx::doPatternFill(), Gfx::doShowText(), Gfx::opSave(), and Gfx::opShFill().

void OutputDev::setDefaultCTM fouble ctm  )  [virtual]
 

Definition at line 24 of file OutputDev.cc.

References defCTM, defICTM, and i.

Referenced by Gfx::Gfx().

virtual void OutputDev::startPage int  pageNum,
GfxState state
[inline, virtual]
 

Reimplemented in QOutputDev, QPEOutputDev, and TextOutputDev.

Definition at line 62 of file OutputDev.h.

Referenced by Gfx::Gfx().

virtual void OutputDev::stroke GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 110 of file OutputDev.h.

Referenced by Gfx::opCloseEOFillStroke(), Gfx::opCloseFillStroke(), Gfx::opCloseStroke(), Gfx::opEOFillStroke(), Gfx::opFillStroke(), and Gfx::opStroke().

virtual void OutputDev::type3D0 GfxState state,
fouble  wx,
fouble  wy
[inline, virtual]
 

Definition at line 145 of file OutputDev.h.

Referenced by Gfx::opSetCharWidth().

virtual void OutputDev::type3D1 GfxState state,
fouble  wx,
fouble  wy,
fouble  llx,
fouble  lly,
fouble  urx,
fouble  ury
[inline, virtual]
 

Definition at line 146 of file OutputDev.h.

Referenced by Gfx::opSetCacheDevice().

void OutputDev::updateAll GfxState state  )  [virtual]
 

Reimplemented in QOutputDev.

Definition at line 50 of file OutputDev.cc.

References updateFillColor(), updateFlatness(), updateFont(), updateLineCap(), updateLineDash(), updateLineJoin(), updateLineWidth(), updateMiterLimit(), and updateStrokeColor().

Referenced by Gfx::Gfx().

virtual void OutputDev::updateCharSpace GfxState state  )  [inline, virtual]
 

Definition at line 101 of file OutputDev.h.

Referenced by Gfx::opMoveSetShowText(), and Gfx::opSetCharSpacing().

virtual void OutputDev::updateCTM GfxState state,
fouble  m11,
fouble  m12,
fouble  m21,
fouble  m22,
fouble  m31,
fouble  m32
[inline, virtual]
 

Definition at line 85 of file OutputDev.h.

Referenced by Gfx::doForm1(), and Gfx::opConcat().

virtual void OutputDev::updateFillColor GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 93 of file OutputDev.h.

Referenced by Gfx::doAxialShFill(), Gfx::doPatternFill(), Gfx::doRadialShFill(), Gfx::opSetFillCMYKColor(), Gfx::opSetFillColor(), Gfx::opSetFillColorN(), Gfx::opSetFillColorSpace(), Gfx::opSetFillGray(), Gfx::opSetFillRGBColor(), and updateAll().

virtual void OutputDev::updateFillOpacity GfxState state  )  [inline, virtual]
 

Definition at line 95 of file OutputDev.h.

Referenced by Gfx::opSetExtGState().

virtual void OutputDev::updateFlatness GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 88 of file OutputDev.h.

Referenced by Gfx::opSetFlat(), and updateAll().

virtual void OutputDev::updateFont GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev, and TextOutputDev.

Definition at line 99 of file OutputDev.h.

Referenced by Gfx::doShowText(), and updateAll().

virtual void OutputDev::updateHorizScaling GfxState state  )  [inline, virtual]
 

Definition at line 105 of file OutputDev.h.

Referenced by Gfx::opSetHorizScaling().

virtual void OutputDev::updateLineCap GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 90 of file OutputDev.h.

Referenced by Gfx::opSetLineCap(), and updateAll().

virtual void OutputDev::updateLineDash GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 87 of file OutputDev.h.

Referenced by Gfx::opSetDash(), and updateAll().

virtual void OutputDev::updateLineJoin GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 89 of file OutputDev.h.

Referenced by Gfx::opSetLineJoin(), and updateAll().

virtual void OutputDev::updateLineWidth GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 92 of file OutputDev.h.

Referenced by Gfx::opSetLineWidth(), and updateAll().

virtual void OutputDev::updateMiterLimit GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 91 of file OutputDev.h.

Referenced by Gfx::opSetMiterLimit(), and updateAll().

virtual void OutputDev::updateRender GfxState state  )  [inline, virtual]
 

Definition at line 102 of file OutputDev.h.

Referenced by Gfx::opSetTextRender().

virtual void OutputDev::updateRise GfxState state  )  [inline, virtual]
 

Definition at line 103 of file OutputDev.h.

Referenced by Gfx::opSetTextRise().

virtual void OutputDev::updateStrokeColor GfxState state  )  [inline, virtual]
 

Reimplemented in QOutputDev.

Definition at line 94 of file OutputDev.h.

Referenced by Gfx::opSetStrokeCMYKColor(), Gfx::opSetStrokeColor(), Gfx::opSetStrokeColorN(), Gfx::opSetStrokeColorSpace(), Gfx::opSetStrokeGray(), Gfx::opSetStrokeRGBColor(), and updateAll().

virtual void OutputDev::updateStrokeOpacity GfxState state  )  [inline, virtual]
 

Definition at line 96 of file OutputDev.h.

Referenced by Gfx::opSetExtGState().

virtual void OutputDev::updateTextMat GfxState state  )  [inline, virtual]
 

Definition at line 100 of file OutputDev.h.

Referenced by Gfx::opBeginText(), and Gfx::opSetTextMatrix().

virtual void OutputDev::updateTextPos GfxState state  )  [inline, virtual]
 

Definition at line 106 of file OutputDev.h.

Referenced by Gfx::opBeginText(), Gfx::opMoveSetShowText(), Gfx::opMoveShowText(), Gfx::opSetTextMatrix(), Gfx::opTextMove(), Gfx::opTextMoveSet(), and Gfx::opTextNextLine().

virtual void OutputDev::updateTextShift GfxState state,
fouble  shift
[inline, virtual]
 

Definition at line 107 of file OutputDev.h.

Referenced by Gfx::opShowSpaceText().

virtual void OutputDev::updateWordSpace GfxState state  )  [inline, virtual]
 

Definition at line 104 of file OutputDev.h.

Referenced by Gfx::opMoveSetShowText(), and Gfx::opSetWordSpacing().

virtual GBool OutputDev::upsideDown  )  [pure virtual]
 

Implemented in QOutputDev, and TextOutputDev.

Referenced by Gfx::Gfx().

virtual GBool OutputDev::useDrawChar  )  [pure virtual]
 

Implemented in QOutputDev, and TextOutputDev.

Referenced by Gfx::doShowText().


Member Data Documentation

fouble OutputDev::defCTM[6] [private]
 

Definition at line 154 of file OutputDev.h.

Referenced by cvtUserToDev(), and setDefaultCTM().

fouble OutputDev::defICTM[6] [private]
 

Definition at line 155 of file OutputDev.h.

Referenced by cvtDevToUser(), and setDefaultCTM().


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