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

Gfx Class Reference

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

Collaboration diagram for Gfx:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Gfx (XRef *xrefA, OutputDev *outA, int pageNum, Dict *resDict, fouble dpi, PDFRectangle *box, GBool crop, PDFRectangle *cropBox, int rotate, GBool printCommandsA)
 Gfx (XRef *xrefA, OutputDev *outA, Dict *resDict, PDFRectangle *box, GBool crop, PDFRectangle *cropBox)
 ~Gfx ()
void display (Object *obj, GBool topLevel=gTrue)
void doAnnot (Object *str, fouble xMin, fouble yMin, fouble xMax, fouble yMax)
void pushResources (Dict *resDict)
void popResources ()

Private Member Functions

void go (GBool topLevel)
void execOp (Object *cmd, Object args[], int numArgs)
OperatorfindOp (char *name)
GBool checkArg (Object *arg, TchkType type)
int getPos ()
void opSave (Object args[], int numArgs)
void opRestore (Object args[], int numArgs)
void opConcat (Object args[], int numArgs)
void opSetDash (Object args[], int numArgs)
void opSetFlat (Object args[], int numArgs)
void opSetLineJoin (Object args[], int numArgs)
void opSetLineCap (Object args[], int numArgs)
void opSetMiterLimit (Object args[], int numArgs)
void opSetLineWidth (Object args[], int numArgs)
void opSetExtGState (Object args[], int numArgs)
void opSetRenderingIntent (Object args[], int numArgs)
void opSetFillGray (Object args[], int numArgs)
void opSetStrokeGray (Object args[], int numArgs)
void opSetFillCMYKColor (Object args[], int numArgs)
void opSetStrokeCMYKColor (Object args[], int numArgs)
void opSetFillRGBColor (Object args[], int numArgs)
void opSetStrokeRGBColor (Object args[], int numArgs)
void opSetFillColorSpace (Object args[], int numArgs)
void opSetStrokeColorSpace (Object args[], int numArgs)
void opSetFillColor (Object args[], int numArgs)
void opSetStrokeColor (Object args[], int numArgs)
void opSetFillColorN (Object args[], int numArgs)
void opSetStrokeColorN (Object args[], int numArgs)
void opMoveTo (Object args[], int numArgs)
void opLineTo (Object args[], int numArgs)
void opCurveTo (Object args[], int numArgs)
void opCurveTo1 (Object args[], int numArgs)
void opCurveTo2 (Object args[], int numArgs)
void opRectangle (Object args[], int numArgs)
void opClosePath (Object args[], int numArgs)
void opEndPath (Object args[], int numArgs)
void opStroke (Object args[], int numArgs)
void opCloseStroke (Object args[], int numArgs)
void opFill (Object args[], int numArgs)
void opEOFill (Object args[], int numArgs)
void opFillStroke (Object args[], int numArgs)
void opCloseFillStroke (Object args[], int numArgs)
void opEOFillStroke (Object args[], int numArgs)
void opCloseEOFillStroke (Object args[], int numArgs)
void doPatternFill (GBool eoFill)
void opShFill (Object args[], int numArgs)
void doAxialShFill (GfxAxialShading *shading)
void doRadialShFill (GfxRadialShading *shading)
void doEndPath ()
void opClip (Object args[], int numArgs)
void opEOClip (Object args[], int numArgs)
void opBeginText (Object args[], int numArgs)
void opEndText (Object args[], int numArgs)
void opSetCharSpacing (Object args[], int numArgs)
void opSetFont (Object args[], int numArgs)
void opSetTextLeading (Object args[], int numArgs)
void opSetTextRender (Object args[], int numArgs)
void opSetTextRise (Object args[], int numArgs)
void opSetWordSpacing (Object args[], int numArgs)
void opSetHorizScaling (Object args[], int numArgs)
void opTextMove (Object args[], int numArgs)
void opTextMoveSet (Object args[], int numArgs)
void opSetTextMatrix (Object args[], int numArgs)
void opTextNextLine (Object args[], int numArgs)
void opShowText (Object args[], int numArgs)
void opMoveShowText (Object args[], int numArgs)
void opMoveSetShowText (Object args[], int numArgs)
void opShowSpaceText (Object args[], int numArgs)
void doShowText (GString *s)
void opXObject (Object args[], int numArgs)
void doImage (Object *ref, Stream *str, GBool inlineImg)
void doForm (Object *str)
void doForm1 (Object *str, Dict *resDict, fouble *matrix, fouble *bbox)
void opBeginImage (Object args[], int numArgs)
StreambuildImageStream ()
void opImageData (Object args[], int numArgs)
void opEndImage (Object args[], int numArgs)
void opSetCharWidth (Object args[], int numArgs)
void opSetCacheDevice (Object args[], int numArgs)
void opBeginIgnoreUndef (Object args[], int numArgs)
void opEndIgnoreUndef (Object args[], int numArgs)
void opBeginMarkedContent (Object args[], int numArgs)
void opEndMarkedContent (Object args[], int numArgs)
void opMarkPoint (Object args[], int numArgs)

Private Attributes

XRefxref
OutputDevout
GBool subPage
GBool printCommands
GfxResourcesres
int updateLevel
GfxStatestate
GBool fontChanged
GfxClipType clip
int ignoreUndef
fouble baseMatrix [6]
Parserparser

Static Private Attributes

static Operator opTab []

Constructor & Destructor Documentation

Gfx::Gfx XRef xrefA,
OutputDev outA,
int  pageNum,
Dict resDict,
fouble  dpi,
PDFRectangle box,
GBool  crop,
PDFRectangle cropBox,
int  rotate,
GBool  printCommandsA
 

Definition at line 382 of file Gfx.cc.

References baseMatrix, OutputDev::clip(), clip, clipNone, fontChanged, GfxState::getCTM(), gFalse, i, ignoreUndef, NULL, out, printCommands, res, OutputDev::setDefaultCTM(), OutputDev::startPage(), state, subPage, OutputDev::updateAll(), OutputDev::upsideDown(), PDFRectangle::x1, PDFRectangle::x2, xref, PDFRectangle::y1, and PDFRectangle::y2.

Gfx::Gfx XRef xrefA,
OutputDev outA,
Dict resDict,
PDFRectangle box,
GBool  crop,
PDFRectangle cropBox
 

Definition at line 420 of file Gfx.cc.

References baseMatrix, GfxState::clearPath(), OutputDev::clip(), GfxState::clip(), clip, clipNone, GfxState::closePath(), fontChanged, GfxState::getCTM(), gFalse, gTrue, i, ignoreUndef, GfxState::lineTo(), GfxState::moveTo(), NULL, out, printCommands, res, state, subPage, PDFRectangle::x1, PDFRectangle::x2, xref, PDFRectangle::y1, and PDFRectangle::y2.

Gfx::~Gfx  ) 
 

Definition at line 454 of file Gfx.cc.

References OutputDev::endPage(), GfxState::hasSaves(), out, popResources(), res, GfxState::restore(), OutputDev::restoreState(), state, and subPage.


Member Function Documentation

Stream * Gfx::buildImageStream  )  [private]
 

Definition at line 2660 of file Gfx.cc.

References Stream::addFilters(), copyString(), Object::dictAdd(), error(), Object::free(), Parser::getObj(), getPos(), Parser::getStream(), gfree(), Object::initDict(), NULL, parser, str, and xref.

Referenced by opBeginImage().

GBool Gfx::checkArg Object arg,
TchkType  type
[private]
 

Definition at line 632 of file Gfx.cc.

References gFalse, Object::isArray(), Object::isBool(), Object::isDict(), Object::isInt(), Object::isName(), Object::isNum(), Object::isString(), tchkArray, tchkBool, tchkInt, tchkName, tchkNone, tchkNum, tchkProps, tchkSCN, and tchkString.

Referenced by execOp().

void Gfx::display Object obj,
GBool  topLevel = gTrue
 

Definition at line 470 of file Gfx.cc.

References error(), Object::free(), go(), i, Object::isStream(), NULL, parser, and xref.

Referenced by Page::display(), doForm1(), and doShowText().

void Gfx::doAnnot Object str,
fouble  xMin,
fouble  yMin,
fouble  xMax,
fouble  yMax
 

Definition at line 2450 of file Gfx.cc.

References Object::arrayGet(), baseMatrix, bbox(), doForm1(), error(), Object::free(), GfxState::getCTM(), Object::getDict(), Object::getNum(), getPos(), i, Object::isArray(), Object::isDict(), Dict::lookup(), NULL, state, Object::streamGetDict(), Opie::MM::x, and Opie::MM::y.

Referenced by Annot::draw().

void Gfx::doAxialShFill GfxAxialShading shading  )  [private]
 

Definition at line 1382 of file Gfx.cc.

References axialColorDelta, axialMaxSplits, GfxColor::c, fabs(), OutputDev::fill(), GfxState::getUserClipBBox(), i, out, s, GfxState::setFillColor(), state, t, and OutputDev::updateFillColor().

Referenced by opShFill().

void Gfx::doEndPath  )  [private]
 

Definition at line 1808 of file Gfx.cc.

References OutputDev::clip(), clip, clipNone, clipNormal, OutputDev::eoClip(), and out.

Referenced by opCloseEOFillStroke(), opCloseFillStroke(), opCloseStroke(), opEndPath(), opEOFill(), opEOFillStroke(), opFill(), opFillStroke(), and opStroke().

void Gfx::doForm Object str  )  [private]
 

Definition at line 2391 of file Gfx.cc.

References Object::arrayGet(), bbox(), doForm1(), error(), Object::free(), Object::getDict(), Object::getInt(), Object::getNum(), getPos(), i, Object::isArray(), Object::isDict(), Object::isInt(), Dict::lookup(), NULL, and Object::streamGetDict().

Referenced by opXObject().

void Gfx::doForm1 Object str,
Dict resDict,
fouble matrix,
fouble bbox
[private]
 

Definition at line 2564 of file Gfx.cc.

References baseMatrix, OutputDev::clip(), GfxState::concatCTM(), display(), gFalse, i, out, parser, popResources(), pushResources(), OutputDev::restoreState(), GfxState::save(), OutputDev::saveState(), state, and OutputDev::updateCTM().

Referenced by doAnnot(), doForm(), and doPatternFill().

void Gfx::doImage Object ref,
Stream str,
GBool  inlineImg
[private]
 

Definition at line 2238 of file Gfx.cc.

References Object::arrayGet(), Object::arrayGetLength(), bits, OutputDev::drawImage(), OutputDev::drawImageMask(), error(), Object::free(), Object::getBool(), Stream::getDict(), Object::getInt(), Object::getName(), getPos(), gFalse, gfxColorMaxComps, gTrue, height, i, Object::isArray(), Object::isBool(), Object::isInt(), Object::isName(), Object::isNull(), GfxImageColorMap::isOk(), Dict::lookup(), GfxResources::lookupColorSpace(), NULL, out, GfxColorSpace::parse(), res, state, updateLevel, and width.

Referenced by opBeginImage(), and opXObject().

void Gfx::doPatternFill GBool  eoFill  )  [private]
 

Definition at line 1177 of file Gfx.cc.

References baseMatrix, OutputDev::clip(), GfxColorSpace::copy(), doForm1(), OutputDev::eoClip(), fabs(), GfxTilingPattern::getBBox(), GfxTilingPattern::getContentStream(), GfxState::getCTM(), GfxState::getFillColorSpace(), GfxState::getFillPattern(), GfxTilingPattern::getMatrix(), GfxTilingPattern::getPaintType(), GfxTilingPattern::getResDict(), GfxPattern::getType(), GfxPatternColorSpace::getUnder(), GfxTilingPattern::getXStep(), GfxTilingPattern::getYStep(), i, OutputDev::needNonText(), NULL, out, OutputDev::restoreState(), GfxState::save(), OutputDev::saveState(), GfxState::setFillColorSpace(), GfxState::setFillPattern(), state, OutputDev::updateFillColor(), Opie::MM::x, and Opie::MM::y.

Referenced by opCloseEOFillStroke(), opCloseFillStroke(), opEOFill(), opEOFillStroke(), opFill(), and opFillStroke().

void Gfx::doRadialShFill GfxRadialShading shading  )  [private]
 

Definition at line 1612 of file Gfx.cc.

References GfxColor::c, OutputDev::eoFill(), fabs(), GfxState::getCTM(), GfxState::getUserClipBBox(), M_PI, out, radialColorDelta, radialMaxSplits, GfxState::setFillColor(), sqrt(), state, t, and OutputDev::updateFillColor().

Referenced by opShFill().

void Gfx::doShowText GString s  )  [private]
 

Definition at line 2016 of file Gfx.cc.

References OutputDev::beginString(), OutputDev::beginType3Char(), code, display(), OutputDev::drawChar(), OutputDev::drawString(), OutputDev::endString(), OutputDev::endType3Char(), error(), fontChanged, fontType3, Object::free(), GString::getCString(), GfxState::getFont(), GfxFont::getFontMatrix(), GString::getLength(), GfxFont::getNextChar(), getPos(), GfxFont::getType(), GfxFont::getWMode(), gFalse, i, OutputDev::interpretType3Chars(), Object::isStream(), len, out, p, parser, popResources(), pushResources(), OutputDev::restoreState(), OutputDev::saveState(), state, u, OutputDev::updateFont(), updateLevel, OutputDev::useDrawChar(), Opie::MM::x, and Opie::MM::y.

Referenced by opMoveSetShowText(), opMoveShowText(), opShowSpaceText(), and opShowText().

void Gfx::execOp Object cmd,
Object  args[],
int  numArgs
[private]
 

Definition at line 572 of file Gfx.cc.

References checkArg(), error(), findOp(), Operator::func, Object::getName(), getPos(), i, ignoreUndef, name, Operator::numArgs, and Operator::tchk.

Referenced by go().

Operator * Gfx::findOp char *  name  )  [private]
 

Definition at line 611 of file Gfx.cc.

References cmp(), NULL, numOps, and opTab.

Referenced by execOp().

int Gfx::getPos  )  [private]
 

Definition at line 647 of file Gfx.cc.

References Parser::getPos(), and parser.

Referenced by buildImageStream(), doAnnot(), doForm(), doImage(), doShowText(), execOp(), go(), opClosePath(), opCurveTo(), opCurveTo1(), opCurveTo2(), opEndImage(), opImageData(), opLineTo(), opMoveSetShowText(), opMoveShowText(), opSetExtGState(), opSetFillColorSpace(), opSetStrokeColorSpace(), opShowSpaceText(), opShowText(), and opXObject().

void Gfx::go GBool  topLevel  )  [private]
 

Definition at line 494 of file Gfx.cc.

References OutputDev::dump(), error(), execOp(), Object::free(), Parser::getObj(), getPos(), i, Object::isCmd(), Object::isEOF(), maxArgs, out, parser, Object::print(), printCommands, printf, and updateLevel.

Referenced by display().

void Gfx::opBeginIgnoreUndef Object  args[],
int  numArgs
[private]
 

Definition at line 2726 of file Gfx.cc.

References ignoreUndef.

void Gfx::opBeginImage Object  args[],
int  numArgs
[private]
 

Definition at line 2638 of file Gfx.cc.

References buildImageStream(), doImage(), Stream::getBaseStream(), gTrue, NULL, and str.

void Gfx::opBeginMarkedContent Object  args[],
int  numArgs
[private]
 

Definition at line 2739 of file Gfx.cc.

References Object::print(), printCommands, and printf.

void Gfx::opBeginText Object  args[],
int  numArgs
[private]
 

Definition at line 1837 of file Gfx.cc.

References fontChanged, gTrue, out, GfxState::setTextMat(), state, GfxState::textMoveTo(), OutputDev::updateTextMat(), and OutputDev::updateTextPos().

void Gfx::opClip Object  args[],
int  numArgs
[private]
 

Definition at line 1825 of file Gfx.cc.

References clip, and clipNormal.

void Gfx::opCloseEOFillStroke Object  args[],
int  numArgs
[private]
 

Definition at line 1160 of file Gfx.cc.

References GfxState::closePath(), csPattern, doEndPath(), doPatternFill(), OutputDev::eoFill(), GfxState::getFillColorSpace(), gTrue, GfxState::isCurPt(), GfxState::isPath(), out, state, and OutputDev::stroke().

void Gfx::opCloseFillStroke Object  args[],
int  numArgs
[private]
 

Definition at line 1127 of file Gfx.cc.

References GfxState::closePath(), csPattern, doEndPath(), doPatternFill(), OutputDev::fill(), GfxState::getFillColorSpace(), gFalse, GfxState::isCurPt(), GfxState::isPath(), out, state, and OutputDev::stroke().

void Gfx::opClosePath Object  args[],
int  numArgs
[private]
 

Definition at line 1043 of file Gfx.cc.

References GfxState::closePath(), error(), getPos(), GfxState::isCurPt(), and state.

void Gfx::opCloseStroke Object  args[],
int  numArgs
[private]
 

Definition at line 1069 of file Gfx.cc.

References GfxState::closePath(), doEndPath(), GfxState::isCurPt(), GfxState::isPath(), out, state, and OutputDev::stroke().

void Gfx::opConcat Object  args[],
int  numArgs
[private]
 

Definition at line 665 of file Gfx.cc.

References GfxState::concatCTM(), fontChanged, gTrue, out, state, and OutputDev::updateCTM().

void Gfx::opCurveTo Object  args[],
int  numArgs
[private]
 

Definition at line 981 of file Gfx.cc.

References GfxState::curveTo(), error(), getPos(), GfxState::isCurPt(), and state.

void Gfx::opCurveTo1 Object  args[],
int  numArgs
[private]
 

Definition at line 997 of file Gfx.cc.

References GfxState::curveTo(), error(), GfxState::getCurX(), GfxState::getCurY(), getPos(), GfxState::isCurPt(), and state.

void Gfx::opCurveTo2 Object  args[],
int  numArgs
[private]
 

Definition at line 1013 of file Gfx.cc.

References GfxState::curveTo(), error(), getPos(), GfxState::isCurPt(), and state.

void Gfx::opEndIgnoreUndef Object  args[],
int  numArgs
[private]
 

Definition at line 2730 of file Gfx.cc.

References ignoreUndef.

void Gfx::opEndImage Object  args[],
int  numArgs
[private]
 

Definition at line 2704 of file Gfx.cc.

References error(), and getPos().

void Gfx::opEndMarkedContent Object  args[],
int  numArgs
[private]
 

Definition at line 2749 of file Gfx.cc.

void Gfx::opEndPath Object  args[],
int  numArgs
[private]
 

Definition at line 1055 of file Gfx.cc.

References doEndPath().

void Gfx::opEndText Object  args[],
int  numArgs
[private]
 

Definition at line 1845 of file Gfx.cc.

void Gfx::opEOClip Object  args[],
int  numArgs
[private]
 

Definition at line 1829 of file Gfx.cc.

References clip, and clipEO.

void Gfx::opEOFill Object  args[],
int  numArgs
[private]
 

Definition at line 1096 of file Gfx.cc.

References csPattern, doEndPath(), doPatternFill(), OutputDev::eoFill(), GfxState::getFillColorSpace(), gTrue, GfxState::isCurPt(), GfxState::isPath(), out, and state.

void Gfx::opEOFillStroke Object  args[],
int  numArgs
[private]
 

Definition at line 1144 of file Gfx.cc.

References csPattern, doEndPath(), doPatternFill(), OutputDev::eoFill(), GfxState::getFillColorSpace(), gTrue, GfxState::isCurPt(), GfxState::isPath(), out, state, and OutputDev::stroke().

void Gfx::opFill Object  args[],
int  numArgs
[private]
 

Definition at line 1081 of file Gfx.cc.

References csPattern, doEndPath(), doPatternFill(), OutputDev::fill(), GfxState::getFillColorSpace(), gFalse, GfxState::isCurPt(), GfxState::isPath(), out, and state.

void Gfx::opFillStroke Object  args[],
int  numArgs
[private]
 

Definition at line 1111 of file Gfx.cc.

References csPattern, doEndPath(), doPatternFill(), OutputDev::fill(), GfxState::getFillColorSpace(), gFalse, GfxState::isCurPt(), GfxState::isPath(), out, state, and OutputDev::stroke().

void Gfx::opImageData Object  args[],
int  numArgs
[private]
 

Definition at line 2700 of file Gfx.cc.

References error(), and getPos().

void Gfx::opLineTo Object  args[],
int  numArgs
[private]
 

Definition at line 973 of file Gfx.cc.

References error(), getPos(), GfxState::isCurPt(), GfxState::lineTo(), and state.

void Gfx::opMarkPoint Object  args[],
int  numArgs
[private]
 

Definition at line 2752 of file Gfx.cc.

References Object::print(), printCommands, and printf.

void Gfx::opMoveSetShowText Object  args[],
int  numArgs
[private]
 

Definition at line 1968 of file Gfx.cc.

References doShowText(), error(), GfxState::getFont(), GfxState::getLeading(), GfxState::getLineX(), GfxState::getLineY(), getPos(), out, GfxState::setCharSpace(), GfxState::setWordSpace(), state, GfxState::textMoveTo(), OutputDev::updateCharSpace(), OutputDev::updateTextPos(), and OutputDev::updateWordSpace().

void Gfx::opMoveShowText Object  args[],
int  numArgs
[private]
 

Definition at line 1954 of file Gfx.cc.

References doShowText(), error(), GfxState::getFont(), GfxState::getLeading(), GfxState::getLineX(), GfxState::getLineY(), getPos(), out, state, GfxState::textMoveTo(), and OutputDev::updateTextPos().

void Gfx::opMoveTo Object  args[],
int  numArgs
[private]
 

Definition at line 969 of file Gfx.cc.

References GfxState::moveTo(), and state.

void Gfx::opRectangle Object  args[],
int  numArgs
[private]
 

Definition at line 1029 of file Gfx.cc.

References GfxState::closePath(), GfxState::lineTo(), GfxState::moveTo(), state, Opie::MM::x, and Opie::MM::y.

void Gfx::opRestore Object  args[],
int  numArgs
[private]
 

Definition at line 660 of file Gfx.cc.

References out, GfxState::restore(), OutputDev::restoreState(), and state.

void Gfx::opSave Object  args[],
int  numArgs
[private]
 

Definition at line 655 of file Gfx.cc.

References out, GfxState::save(), OutputDev::saveState(), and state.

void Gfx::opSetCacheDevice Object  args[],
int  numArgs
[private]
 

Definition at line 2716 of file Gfx.cc.

References out, state, and OutputDev::type3D1().

void Gfx::opSetCharSpacing Object  args[],
int  numArgs
[private]
 

Definition at line 1852 of file Gfx.cc.

References out, GfxState::setCharSpace(), state, and OutputDev::updateCharSpace().

void Gfx::opSetCharWidth Object  args[],
int  numArgs
[private]
 

Definition at line 2712 of file Gfx.cc.

References out, state, and OutputDev::type3D0().

void Gfx::opSetDash Object  args[],
int  numArgs
[private]
 

Definition at line 675 of file Gfx.cc.

References Object::free(), Array::get(), Array::getLength(), gmalloc(), i, NULL, out, GfxState::setLineDash(), state, and OutputDev::updateLineDash().

void Gfx::opSetExtGState Object  args[],
int  numArgs
[private]
 

Definition at line 722 of file Gfx.cc.

References Object::dictLookup(), error(), Object::free(), Object::getNum(), getPos(), Object::isDict(), GfxResources::lookupGState(), out, res, GfxState::setFillOpacity(), state, OutputDev::updateFillOpacity(), and OutputDev::updateStrokeOpacity().

void Gfx::opSetFillCMYKColor Object  args[],
int  numArgs
[private]
 

Definition at line 773 of file Gfx.cc.

References GfxColor::c, i, NULL, out, GfxState::setFillColor(), GfxState::setFillColorSpace(), GfxState::setFillPattern(), state, and OutputDev::updateFillColor().

void Gfx::opSetFillColor Object  args[],
int  numArgs
[private]
 

Definition at line 877 of file Gfx.cc.

References GfxColor::c, i, NULL, out, GfxState::setFillColor(), GfxState::setFillPattern(), state, and OutputDev::updateFillColor().

void Gfx::opSetFillColorN Object  args[],
int  numArgs
[private]
 

Definition at line 901 of file Gfx.cc.

References GfxColor::c, csPattern, GfxState::getFillColorSpace(), i, GfxResources::lookupPattern(), NULL, out, res, GfxState::setFillColor(), GfxState::setFillPattern(), state, and OutputDev::updateFillColor().

void Gfx::opSetFillColorSpace Object  args[],
int  numArgs
[private]
 

Definition at line 825 of file Gfx.cc.

References GfxColor::c, error(), Object::free(), getPos(), gfxColorMaxComps, i, Object::isNull(), GfxResources::lookupColorSpace(), NULL, out, GfxColorSpace::parse(), res, GfxState::setFillColor(), GfxState::setFillColorSpace(), GfxState::setFillPattern(), state, and OutputDev::updateFillColor().

void Gfx::opSetFillGray Object  args[],
int  numArgs
[private]
 

Definition at line 753 of file Gfx.cc.

References GfxColor::c, Object::getNum(), NULL, out, GfxState::setFillColor(), GfxState::setFillColorSpace(), GfxState::setFillPattern(), state, and OutputDev::updateFillColor().

void Gfx::opSetFillRGBColor Object  args[],
int  numArgs
[private]
 

Definition at line 799 of file Gfx.cc.

References GfxColor::c, i, NULL, out, GfxState::setFillColor(), GfxState::setFillColorSpace(), GfxState::setFillPattern(), state, and OutputDev::updateFillColor().

void Gfx::opSetFlat Object  args[],
int  numArgs
[private]
 

Definition at line 697 of file Gfx.cc.

References out, GfxState::setFlatness(), state, and OutputDev::updateFlatness().

void Gfx::opSetFont Object  args[],
int  numArgs
[private]
 

Definition at line 1857 of file Gfx.cc.

References fontChanged, GfxFont::getName(), GfxFont::getTag(), gTrue, GfxResources::lookupFont(), printCommands, printf, res, GfxState::setFont(), and state.

void Gfx::opSetHorizScaling Object  args[],
int  numArgs
[private]
 

Definition at line 1893 of file Gfx.cc.

References fontChanged, gTrue, out, GfxState::setHorizScaling(), state, and OutputDev::updateHorizScaling().

void Gfx::opSetLineCap Object  args[],
int  numArgs
[private]
 

Definition at line 707 of file Gfx.cc.

References out, GfxState::setLineCap(), state, and OutputDev::updateLineCap().

void Gfx::opSetLineJoin Object  args[],
int  numArgs
[private]
 

Definition at line 702 of file Gfx.cc.

References out, GfxState::setLineJoin(), state, and OutputDev::updateLineJoin().

void Gfx::opSetLineWidth Object  args[],
int  numArgs
[private]
 

Definition at line 717 of file Gfx.cc.

References out, GfxState::setLineWidth(), state, and OutputDev::updateLineWidth().

void Gfx::opSetMiterLimit Object  args[],
int  numArgs
[private]
 

Definition at line 712 of file Gfx.cc.

References out, GfxState::setMiterLimit(), state, and OutputDev::updateMiterLimit().

void Gfx::opSetRenderingIntent Object  args[],
int  numArgs
[private]
 

Definition at line 746 of file Gfx.cc.

void Gfx::opSetStrokeCMYKColor Object  args[],
int  numArgs
[private]
 

Definition at line 786 of file Gfx.cc.

References GfxColor::c, i, NULL, out, GfxState::setStrokeColor(), GfxState::setStrokeColorSpace(), GfxState::setStrokePattern(), state, and OutputDev::updateStrokeColor().

void Gfx::opSetStrokeColor Object  args[],
int  numArgs
[private]
 

Definition at line 889 of file Gfx.cc.

References GfxColor::c, i, NULL, out, GfxState::setStrokeColor(), GfxState::setStrokePattern(), state, and OutputDev::updateStrokeColor().

void Gfx::opSetStrokeColorN Object  args[],
int  numArgs
[private]
 

Definition at line 933 of file Gfx.cc.

References GfxColor::c, csPattern, GfxState::getStrokeColorSpace(), i, GfxResources::lookupPattern(), NULL, out, res, GfxState::setStrokeColor(), GfxState::setStrokePattern(), state, and OutputDev::updateStrokeColor().

void Gfx::opSetStrokeColorSpace Object  args[],
int  numArgs
[private]
 

Definition at line 851 of file Gfx.cc.

References GfxColor::c, error(), Object::free(), getPos(), gfxColorMaxComps, i, Object::isNull(), GfxResources::lookupColorSpace(), NULL, out, GfxColorSpace::parse(), res, GfxState::setStrokeColor(), GfxState::setStrokeColorSpace(), GfxState::setStrokePattern(), state, and OutputDev::updateStrokeColor().

void Gfx::opSetStrokeGray Object  args[],
int  numArgs
[private]
 

Definition at line 763 of file Gfx.cc.

References GfxColor::c, NULL, out, GfxState::setStrokeColor(), GfxState::setStrokeColorSpace(), GfxState::setStrokePattern(), state, and OutputDev::updateStrokeColor().

void Gfx::opSetStrokeRGBColor Object  args[],
int  numArgs
[private]
 

Definition at line 812 of file Gfx.cc.

References GfxColor::c, i, NULL, out, GfxState::setStrokeColor(), GfxState::setStrokeColorSpace(), GfxState::setStrokePattern(), state, and OutputDev::updateStrokeColor().

void Gfx::opSetTextLeading Object  args[],
int  numArgs
[private]
 

Definition at line 1874 of file Gfx.cc.

References GfxState::setLeading(), and state.

void Gfx::opSetTextMatrix Object  args[],
int  numArgs
[private]
 

Definition at line 1923 of file Gfx.cc.

References fontChanged, gTrue, out, GfxState::setTextMat(), state, GfxState::textMoveTo(), OutputDev::updateTextMat(), and OutputDev::updateTextPos().

void Gfx::opSetTextRender Object  args[],
int  numArgs
[private]
 

Definition at line 1878 of file Gfx.cc.

References out, GfxState::setRender(), state, and OutputDev::updateRender().

void Gfx::opSetTextRise Object  args[],
int  numArgs
[private]
 

Definition at line 1883 of file Gfx.cc.

References out, GfxState::setRise(), state, and OutputDev::updateRise().

void Gfx::opSetWordSpacing Object  args[],
int  numArgs
[private]
 

Definition at line 1888 of file Gfx.cc.

References out, GfxState::setWordSpace(), state, and OutputDev::updateWordSpace().

void Gfx::opShFill Object  args[],
int  numArgs
[private]
 

Definition at line 1337 of file Gfx.cc.

References OutputDev::clip(), doAxialShFill(), doRadialShFill(), GfxShading::getBBox(), GfxShading::getColorSpace(), GfxShading::getHasBBox(), GfxShading::getType(), GfxResources::lookupShading(), out, res, OutputDev::restoreState(), OutputDev::saveState(), and state.

void Gfx::opShowSpaceText Object  args[],
int  numArgs
[private]
 

Definition at line 1986 of file Gfx.cc.

References doShowText(), error(), Object::free(), Array::get(), Object::getArray(), GfxState::getFont(), GfxState::getFontSize(), Object::getNum(), getPos(), Object::getString(), i, Object::isNum(), Object::isString(), out, state, GfxState::textShift(), and OutputDev::updateTextShift().

void Gfx::opShowText Object  args[],
int  numArgs
[private]
 

Definition at line 1946 of file Gfx.cc.

References doShowText(), error(), GfxState::getFont(), getPos(), and state.

void Gfx::opStroke Object  args[],
int  numArgs
[private]
 

Definition at line 1059 of file Gfx.cc.

References doEndPath(), GfxState::isCurPt(), GfxState::isPath(), out, state, and OutputDev::stroke().

void Gfx::opTextMove Object  args[],
int  numArgs
[private]
 

Definition at line 1903 of file Gfx.cc.

References GfxState::getLineX(), GfxState::getLineY(), out, state, GfxState::textMoveTo(), and OutputDev::updateTextPos().

void Gfx::opTextMoveSet Object  args[],
int  numArgs
[private]
 

Definition at line 1912 of file Gfx.cc.

References GfxState::getLineX(), GfxState::getLineY(), out, GfxState::setLeading(), state, GfxState::textMoveTo(), and OutputDev::updateTextPos().

void Gfx::opTextNextLine Object  args[],
int  numArgs
[private]
 

Definition at line 1933 of file Gfx.cc.

References GfxState::getLeading(), GfxState::getLineX(), GfxState::getLineY(), out, state, GfxState::textMoveTo(), and OutputDev::updateTextPos().

void Gfx::opXObject Object  args[],
int  numArgs
[private]
 

Definition at line 2192 of file Gfx.cc.

References doForm(), doImage(), error(), Object::free(), Object::getDict(), Object::getName(), getPos(), Object::getStream(), gFalse, Object::isDict(), Object::isName(), Object::isStream(), GfxResources::lookupXObject(), GfxResources::lookupXObjectNF(), NULL, out, OutputDev::psXObject(), res, state, and Object::streamGetDict().

void Gfx::popResources  ) 
 

Definition at line 2626 of file Gfx.cc.

References GfxResources::getNext(), and res.

Referenced by doForm1(), doShowText(), and ~Gfx().

void Gfx::pushResources Dict resDict  ) 
 

Definition at line 2622 of file Gfx.cc.

References res, and xref.

Referenced by doForm1(), and doShowText().


Member Data Documentation

fouble Gfx::baseMatrix[6] [private]
 

Definition at line 131 of file Gfx.h.

Referenced by doAnnot(), doForm1(), doPatternFill(), and Gfx().

GfxClipType Gfx::clip [private]
 

Definition at line 129 of file Gfx.h.

Referenced by doEndPath(), Gfx(), opClip(), and opEOClip().

GBool Gfx::fontChanged [private]
 

Definition at line 128 of file Gfx.h.

Referenced by doShowText(), Gfx(), opBeginText(), opConcat(), opSetFont(), opSetHorizScaling(), and opSetTextMatrix().

int Gfx::ignoreUndef [private]
 

Definition at line 130 of file Gfx.h.

Referenced by execOp(), Gfx(), opBeginIgnoreUndef(), and opEndIgnoreUndef().

Operator Gfx::opTab [static, private]
 

Definition at line 58 of file Gfx.cc.

Referenced by findOp().

OutputDev* Gfx::out [private]
 

Definition at line 121 of file Gfx.h.

Referenced by doAxialShFill(), doEndPath(), doForm1(), doImage(), doPatternFill(), doRadialShFill(), doShowText(), Gfx(), go(), opBeginText(), opCloseEOFillStroke(), opCloseFillStroke(), opCloseStroke(), opConcat(), opEOFill(), opEOFillStroke(), opFill(), opFillStroke(), opMoveSetShowText(), opMoveShowText(), opRestore(), opSave(), opSetCacheDevice(), opSetCharSpacing(), opSetCharWidth(), opSetDash(), opSetExtGState(), opSetFillCMYKColor(), opSetFillColor(), opSetFillColorN(), opSetFillColorSpace(), opSetFillGray(), opSetFillRGBColor(), opSetFlat(), opSetHorizScaling(), opSetLineCap(), opSetLineJoin(), opSetLineWidth(), opSetMiterLimit(), opSetStrokeCMYKColor(), opSetStrokeColor(), opSetStrokeColorN(), opSetStrokeColorSpace(), opSetStrokeGray(), opSetStrokeRGBColor(), opSetTextMatrix(), opSetTextRender(), opSetTextRise(), opSetWordSpacing(), opShFill(), opShowSpaceText(), opStroke(), opTextMove(), opTextMoveSet(), opTextNextLine(), opXObject(), and ~Gfx().

Parser* Gfx::parser [private]
 

Definition at line 134 of file Gfx.h.

Referenced by buildImageStream(), display(), doForm1(), doShowText(), getPos(), and go().

GBool Gfx::printCommands [private]
 

Definition at line 123 of file Gfx.h.

Referenced by Gfx(), go(), opBeginMarkedContent(), opMarkPoint(), and opSetFont().

GfxResources* Gfx::res [private]
 

Definition at line 124 of file Gfx.h.

Referenced by doImage(), Gfx(), opSetExtGState(), opSetFillColorN(), opSetFillColorSpace(), opSetFont(), opSetStrokeColorN(), opSetStrokeColorSpace(), opShFill(), opXObject(), popResources(), pushResources(), and ~Gfx().

GfxState* Gfx::state [private]
 

Definition at line 127 of file Gfx.h.

Referenced by doAnnot(), doAxialShFill(), doForm1(), doImage(), doPatternFill(), doRadialShFill(), doShowText(), Gfx(), opBeginText(), opCloseEOFillStroke(), opCloseFillStroke(), opClosePath(), opCloseStroke(), opConcat(), opCurveTo(), opCurveTo1(), opCurveTo2(), opEOFill(), opEOFillStroke(), opFill(), opFillStroke(), opLineTo(), opMoveSetShowText(), opMoveShowText(), opMoveTo(), opRectangle(), opRestore(), opSave(), opSetCacheDevice(), opSetCharSpacing(), opSetCharWidth(), opSetDash(), opSetExtGState(), opSetFillCMYKColor(), opSetFillColor(), opSetFillColorN(), opSetFillColorSpace(), opSetFillGray(), opSetFillRGBColor(), opSetFlat(), opSetFont(), opSetHorizScaling(), opSetLineCap(), opSetLineJoin(), opSetLineWidth(), opSetMiterLimit(), opSetStrokeCMYKColor(), opSetStrokeColor(), opSetStrokeColorN(), opSetStrokeColorSpace(), opSetStrokeGray(), opSetStrokeRGBColor(), opSetTextLeading(), opSetTextMatrix(), opSetTextRender(), opSetTextRise(), opSetWordSpacing(), opShFill(), opShowSpaceText(), opShowText(), opStroke(), opTextMove(), opTextMoveSet(), opTextNextLine(), opXObject(), and ~Gfx().

GBool Gfx::subPage [private]
 

Definition at line 122 of file Gfx.h.

Referenced by Gfx(), and ~Gfx().

int Gfx::updateLevel [private]
 

Definition at line 125 of file Gfx.h.

Referenced by doImage(), doShowText(), and go().

XRef* Gfx::xref [private]
 

Definition at line 120 of file Gfx.h.

Referenced by buildImageStream(), display(), Gfx(), and pushResources().


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