documentation tweaks
authorTony Cook <tony@develop=help.com>
Thu, 19 Jul 2007 00:51:55 +0000 (00:51 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 19 Jul 2007 00:51:55 +0000 (00:51 +0000)
lib/Imager/Fill.pm
lib/Imager/Fountain.pm

index d6718572e9a8be1b53659cc6976bec885ad72133..a7c3945f212d8b82fb2862792986387f51b5d0bf 100644 (file)
@@ -2,7 +2,7 @@ package Imager::Fill;
 use strict;
 use vars qw($VERSION);
 
-$VERSION = "1.009";
+$VERSION = "1.010";
 
 # this needs to be kept in sync with the array of hatches in fills.c
 my @hatch_types =
@@ -398,7 +398,7 @@ You can call Imager::Fill->hatches for a list of hatch names.
 
   my $fill = Imager::Fill->new(fountain=>$ftype, 
        xa=>$xa, ya=>$ya, xb=>$xb, yb=>$yb, 
-       segment=>$segments, repeat=>$repeat, combine=>$combine, 
+       segments=>$segments, repeat=>$repeat, combine=>$combine, 
        super_sample=>$super_sample, ssample_param=>$ssample_param);
 
 This fills the given region with a fountain fill.  This is exactly the
index 63101e7a267b66917cad3e3d4edfb85429c5a9ca..8c00a02b6e848e2ece9cb89bc0c3771af72939ef 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use Imager::Color::Float;
 use vars qw($VERSION);
 
-$VERSION = "1.005";
+$VERSION = "1.006";
 
 =head1 NAME
 
@@ -206,7 +206,7 @@ In most cases you can ignore some of the arguments, eg.
   # assuming $f is a new Imager::Fountain in each case here
   use Imager ':handy';
   # simple transition from red to blue
-  $f->add(c0=>NC('#FF0000), c1=>NC('#0000FF'));
+  $f->add(c0=>NC('#FF0000'), c1=>NC('#0000FF'));
   # simple 2 stages from red to green to blue
   $f->add(end=>0.5, c0=>NC('#FF0000'), c1=>NC('#00FF00'))
   $f->add(start=>0.5, c0=>NC('#00FF00'), c1->NC('#0000FF'));