CAM::PDF::Renderer::Dump - Print the graphic state of each node
See CAM::PDF.
use CAM::PDF; my $pdf = CAM::PDF->new($filename); my $contentTree = $pdf->getPageContentTree(4); $contentTree->render("CAM::PDF::Renderer::Dump");
This class is used to print to STDOUT the coordinates of each node of a page layout. It is written both for debugging and as a minimal example of a renderer.
Prints the string prefixed by its device and user coordinates.
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.