Imager::Handy man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Imager::Handy(3)      User Contributed Perl Documentation     Imager::Handy(3)

NAME
       Imager::Handy - simple access to common functions

SYNOPSIS
	 use Imager ':handy';
	 my $color = NC(255, 0, 0);
	 my $font = NF(1.0, 0, 0);

DESCRIPTION
       If you use Imager with the ":handy" import tag, it will export a number
       of functions that can shorter your code.

       NC()
       newcolor()
       newcolour()
	   Create a new Imager::Color object, supplying any parameters to the
	   new() method.

	     my $color = NC('red');

       NF()
       newfont()
	   Create a new Imager::Font object, supplying any parameters to the
	   new() method.

	     my $font = NF(file => 'foo.ttf');

       NCF()
	   Create a new Imager::Color::Float object, supplying any parameters
	   to the new() method.

	     my $colorf = NCF(1.0, 0, 0);

BUGS
       NC() can be mostly replaced by supplying the color name or other
       description directly to the drawing method.

AUTHOR
       Tony Cook <tonyc@cpan.org>

perl v5.14.3			  2012-09-28		      Imager::Handy(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net