CAM::PDF::GS::NoText - PDF graphic state
See CAM::PDF.
use CAM::PDF; my $pdf = CAM::PDF->new($filename); my $contentTree = $pdf->getPageContentTree(4); my $gs = $contentTree->computeGS(1);
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. This does not include the graphics state for text blocks. That functionality is in the subclass, CAM::PDF::GS.
Create a new instance, setting all state values to their defaults. Stores a reference to $hashref and sets the property $hashref-{fm}> to undef.
$hashref
$hashref-
undef
Duplicate the instance.
Apply $m1 to $m2, save in $m2.
$m1
$m2
Compute the dot product of a position against the coordinate matrix.
Convert user coordinates to device coordinates.
Computes device coordinates for the specified node. This implementation handles line-drawing nodes.
Returns one of block, path, paint, text or (the fallback case) op for the type of the specified node.
block
path
paint
text
op
(Not implemented...)
Move path.
Line path.
Rectangle path.
See CAM::PDF
To install CAM::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CAM::PDF
CPAN shell
perl -MCPAN -e shell install CAM::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.