#include <stateupdater.h>
Public Attributes | |
| char | name [MAX_OPERATOR_NAMELEN] |
| int | argNum |
| unsigned short | types [MAX_OPERANDS] |
| GfxState *(* | update )(GfxState *, boost::shared_ptr< GfxResources >, const boost::shared_ptr< PdfOperator >, const PdfOperator::Operands &, BBox *rc) |
| char | endTag [MAX_OPERATOR_NAMELEN] |
Structure representing one operator.
It is used to find an update function, which alters graphical state according to the operator and its operands.
It is also used to check whether the operand count and type match the pdf specification of an operator. It the argument number is less than zero, arbitrary number of operands is allowed up to the absolute value of argNum.
If the operator is a composite, endTag is the string representation of the ending operator of the composite.
Number of operator arguments.
Referenced by pdfobjects::StateUpdater::updatePdfOperators().
If it is a complex type, its end tag.
Referenced by pdfobjects::isSimpleOp().
Operator name.
Referenced by pdfobjects::isTextOp().
| unsigned short pdfobjects::StateUpdater::CheckTypes::types[MAX_OPERANDS] |
Bits represent which types are allowed.
| GfxState*(* pdfobjects::StateUpdater::CheckTypes::update)(GfxState *, boost::shared_ptr< GfxResources >, const boost::shared_ptr< PdfOperator >, const PdfOperator::Operands &, BBox *rc) |
Function to execute when updating position.
Referenced by pdfobjects::StateUpdater::updatePdfOperators().