]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ.pm
Bump Mouse dependency
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ.pm
index 5e5b7315e6f773edf4dc6fc956aa2ecbc2c2d175..644e0fbe0e6e4f7288962501017f61e983396b64 100644 (file)
@@ -9,11 +9,11 @@ LaTeX::TikZ - Perl object model for generating PGF/TikZ code.
 
 =head1 VERSION
 
-Version 0.01
+Version 0.02
 
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 =head1 SYNOPSIS
 
@@ -36,7 +36,7 @@ our $VERSION = '0.01';
     $octo->clip(Tikz->rectangle(-0.5*(1+i), 2*(1+i)));
 
     # Fill it with dots
-    $octo->mod(Tikz->pattern(class => 'Dots', space_width => 10));
+    $octo->mod(Tikz->pattern(class => 'Dots'));
 
     # Create a formatter object
     my $tikz = Tikz->formatter(scale => 5);
@@ -48,12 +48,12 @@ our $VERSION = '0.01';
 
 =head1 DESCRIPTION
 
-This module provides an object model for TikZ, a graphical tookit for LaTeX.
+This module provides an object model for TikZ, a graphical toolkit for LaTeX.
 It allows you to build structures representing geometrical figures, apply a wide set of modifiers on them, transform them globally with functors, and print them in the context of an existing TeX document.
 
 =head1 CONCEPTS
 
-Traditionnaly, in TikZ, there are two ways of grouping elements, or I<ops>, together :
+Traditionally, in TikZ, there are two ways of grouping elements, or I<ops>, together :
 
 =over 4
 
@@ -169,7 +169,7 @@ Creates a L<LaTeX::TikZ::Set::Polyline> object that links the successive element
 
 =head3 C<< Tikz->closed_polyline(@points) >>
 
-Creates a L<LaTeX::TikZ::Set::Polyline> object that cycles through successive elemnts of C<@points>.
+Creates a L<LaTeX::TikZ::Set::Polyline> object that cycles through successive elements of C<@points>.
 
     my $diamond = Tikz->closed_polyline(
      Tikz->point(0, 1),
@@ -325,7 +325,7 @@ C<@rules> should be a list of array references whose first element is the class/
 
     # A mod stripper
     my $strip = Tikz->functor(
-     'LaTeX::TikZ::Mod' => sub { return },
+     '+LaTeX::TikZ::Mod' => sub { return },
     );
     my $naked = $set->$strip;
 
@@ -358,7 +358,7 @@ sub import {
 
 =head1 DEPENDENCIES
 
-L<Any::Moose> with L<Mouse> 0.63 or greater.
+L<Any::Moose> with L<Mouse> 0.80 or greater.
 
 L<Sub::Name>.