CAM::PDF::GS::NoText 1.07 review
DownloadCAM::PDF::GS::NoText is a PDF graphic state. SYNOPSIS use CAM::PDF; my $pdf = CAM::PDF->new($filename); my $conte
|
|
CAM::PDF::GS::NoText is a PDF graphic state.
SYNOPSIS
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.
FUNCTIONS
$pkg->new($hashref)
Create a new instance, setting all state values to their defaults. Stores a reference to $hashref and sets the property $hashref-{fm}> to undef.
$self->clone()
Duplicate the instance.
CONVERSION FUNCTIONS
$self->applyMatrix($m1, $m2)
Apply $m1 to $m2, save in $m2.
$self->dot($matrix, $x, $y)
Compute the dot product of a position against the coordinate matrix.
$self->userToDevice($x, $y)
Convert user coordinates to device coordinates.
$self->getCoords($node)
Computes device coordinates for the specified node. This implementation handles line-drawing nodes.
$self->nodeType($node)
Returns one of block, path, paint, text or (the fallback case) op for the type of the specified node.
Requirements:
Perl
CAM::PDF::GS::NoText 1.07 search tags