| CAM::PDF::GS - PDF graphic state |
CAM::PDF::GS - PDF graphic state
See CAM::PDF.
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS();
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually based in the parent class, CAM::PDF::GS::NoText.
Subclasses that want to do something useful with text should override
the renderText() method.
getCoords($node)Tm) to user coordinates. Returns the
converted X and Y.
Tm) to device coordinates. Returns
the converted X and Y.
Tlm) to user coordinates. Returns
the converted X and Y.
Tlm) to device coordinates.
Returns the converted X and Y.
Tj or TJ. This is a
no-op, but subclasses may override.
Tadvance($width)
BT()Tstar()Tz($scale)Tj($string)TJ($arrayref)quote($string)
| CAM::PDF::GS - PDF graphic state |