Scroll to navigation

CAM::PDF::Renderer::Dump(3pm) User Contributed Perl Documentation CAM::PDF::Renderer::Dump(3pm)

NAME

CAM::PDF::Renderer::Dump - Print the graphic state of each node

LICENSE

See CAM::PDF.

SYNOPSIS

    use CAM::PDF;
    my $pdf = CAM::PDF->new($filename);
    my $contentTree = $pdf->getPageContentTree(4);
    $contentTree->render("CAM::PDF::Renderer::Dump");

DESCRIPTION

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.

FUNCTIONS

$self->renderText($string)
Prints the string prefixed by its device and user coordinates.

AUTHOR

See CAM::PDF

2022-12-08 perl v5.36.0