Image::Base::Multiplex -- draw to multiple Image::Base objects simultaneously
use Image::Base::Multiplex; my $multiplex_image = Image::Base::Multiplex->new (-images => [$image1,$image2]); $multiplex_image->rectangle (0,0, 99,99, 'white'); $multiplex_image->line (50,50, 70,70, '#FF00FF');
Image::Base::Multiplex is a subclass of Image::Base,
Image::Base::Multiplex
Image::Base
Image::Base Image::Base::Multiplex
Image::Base::Multiplex operates on multiple Image::Base objects simultaneously so that one drawing call draws to a set of images.
$image = Image::Base::Multiplex->new (key=>value,...)
Create and return a new multiplex image object. An initial list of target images can be supplied,
my $image = Image::Base::Multiplex->new (-images => [ $image1, $image2 ]);
Or start empty and set some -images later
-images
my $image = Image::Base::Multiplex->new ();
$image->xy (...)
$image->line (...)
$image->rectangle (...)
$image->ellipse (...)
$image->diamond (...)
These calls are passed through to each target image.
$image->add_colours ($colour, $colour, ...)
Call add_colours on each target image which supports that method, and skip those which don't.
add_colours
The target images to draw on.
G2 has a similar multi-output to its devices.
http://user42.tuxfamily.org/image-base-other/index.html
Image-Base-Other is Copyright 2010, 2011, 2012 Kevin Ryde
Image-Base-Other is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Image-Base-Other is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Image-Base-Other. If not, see <http://www.gnu.org/licenses/>.
To install Image::Base::Text, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Base::Text
CPAN shell
perl -MCPAN -e shell install Image::Base::Text
For more information on module installation, please visit the detailed CPAN module installation guide.