NAME
Games::Bingo::Print - PDF Generation Class
SYNOPSIS
use Games::Bingo::Print;
my $bp = Games::Bingo::Print->new();
$bp->print_pages(2);
DESCRIPTION
This is that actual printing class. It generates PDFs with Bingo plates on them.
METHODS
new
The constructor
print_pages
The print pages is the main method it takes one argument, the number of pages you want to print a page currently contains 3 separate bingo plates.
It calls _print_plate.
_print_plate
This is the method used to print the actual plate, it calls print row 3 times.
y_start_cordinate
The Y start cordinate (we print botton up for now).
y_end_cordinate
The Y end cordinate (we print botton up for now).
x_start_cordinate
The X start cordinate (we print botton up for now).
size
The pixel size of the box containg the number,
_print_row
This method prints a single row.
y_start_cordinate
The Y start cordinate (we print botton up for now).
x_start_cordinate
The X start cordinate (we print botton up for now).
x_end_cordinate
The X end cordinate (we print botton up for now),
size
The pixel size of the box containg the number,
numbers
The numbers to be insertet into the row as an reference to an array.
SEE ALSO
TODO
The TODO file contains a complete list for the whole Games::Bingo project.
AUTHOR
jonasbn <jonasbn@io.dk>
ACKNOWLEDGEMENTS
Thanks to Matt Seargent for suggesting using PDFLib.
COPYRIGHT
Games::Bingo and related modules are free software and is released under the Artistic License. See <http://www.perl.com/language/misc/Artistic.html> for details.
Games::Bingo is (C) 2003 Jonas B. Nielsen (jonasbn) <jonasbn@io.dk>