GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CAM::PDF::Renderer::Text(3) User Contributed Perl Documentation CAM::PDF::Renderer::Text(3)

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.

$pkg->new()
Calls the superclass constructor, and initializes the ASCII PDF page.
$self->renderText($string)
Prints the characters of the screen to our virtual ASCII framebuffer.
$self->toString()
Serializes the framebuffer into a single string that can be easily printed.

See CAM::PDF
2013-08-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.