3 Imager::Handy - simple access to common functions
8 my $color = NC(255, 0, 0);
9 my $font = NF(1.0, 0, 0);
13 If you use Imager with the C<:handy> import tag, it will export a
14 number of functions that can shorter your code.
24 Create a new Imager::Color object, supplying any parameters to the
27 my $color = NC('red');
33 Create a new Imager::Font object, supplying any parameters to the
36 my $font = NF(file => 'foo.ttf');
42 NC() can be mostly replaced by supplying the color name or other
43 description directly to the drawing method.
47 Tony Cook <tony@imager.perl.org>