| CAM::PDF::Renderer::Text(3pm) | User Contributed Perl Documentation | CAM::PDF::Renderer::Text(3pm) |
CAM::PDF::Renderer::Text - Render an ASCII image of a PDF page
See CAM::PDF.
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
$contentTree->render("CAM::PDF::Renderer::Text");
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.
The $CAM::PDF::Renderer::Text::xdensity and $CAM::PDF::Renderer::Text::ydensity define the scale of the ASCII graphical output device. They both default to 6.0.
See CAM::PDF
| 2022-12-08 | perl v5.36.0 |