NAME
Primitives Demonstration and Testing
DESCRIPTION
This script demonstrates the capabilities of the Graphics::Framebuffer module
SYNOPSIS
perl primitives.pl [file] [device number] [Xemulated resolution] [Yemulated resolution]
Examples:
perl primitives.pl file 1 X640 Y480
perl primitives.pl X1280 Y720
OPTIONS
file
-
Makes the script run in "file handle" mode
device number
(just the number)-
By default, it uses "/dev/fb0", but you can tell it to use any framebuffer device number. Just the number is needed here.
X
(followed by the width, no spaces)-
This tells the script to tell the Graphics::Framebuffer module to simulate a device of a specific width. It will center it on the screen.
"X800" would set the width to 800 pixels.
Y
(followed by the height, no spaces)-
This tells the script to tell the Graphics::Framebuffer module to simulate a device of a specific height. It will center it on the screen.
"Y480" would set the height to 480 pixels.
NOTES
Any benchmarking numbers are written to STDERR. Animations have benchmarking.
Place any other animated GIFs in the "examples/images/"
directory and it will include it in the testing
AUTHOR
Richard Kelsch <rich@rk-internet.com>
COPYRIGHT
Copyright 2003-2015 Richard Kelsch
This program must always be included as part of the Graphics::Framebuffer package.