From: Vincent Pit Date: Thu, 23 Apr 2015 02:00:45 +0000 (-0300) Subject: This is 0.03 X-Git-Tag: v0.03^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=commitdiff_plain;h=4f696c03a66ef6b52ee7b9b3c74a71d5abc64f7e This is 0.03 --- diff --git a/Changes b/Changes index d439b7d..4229f8d 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,20 @@ Revision history for LaTeX-TikZ +0.03 2015-04-23 02:00 UTC + + Chg : The module now depends directly on Mouse instead of Any::Moose. + + Chg : Scope::Guard is no longer a dependency. + + Chg : INCOMPATIBLE CHANGE : The LT::Set::Op role has been removed. + The old LT::Set::Path class has been renamed LT::Set::Union. + The new LT::Set::Path role plays a role similar to the old + LT::Set::Op. + + Chg : INCOMPATIBLE CHANGE : The LT::Set::Mutable role has been + renamed LT::Set::Container. + + Doc : POD headings have been made linkable. + + Tst : Author tests are no longer bundled with this distribution. + They are only made available to authors in the git repository. + + Upd : BUILD_REQUIRES are now set for ExtUtils::MakeMaker. + + Upd : Metadata overhaul. + 0.02 2010-08-02 13:00 UTC + Add : The functor rules now default to be appended to the list of existent rules ; except if there's already a rule of the same diff --git a/MANIFEST b/MANIFEST index f741db6..d1b18b5 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,6 @@ Changes MANIFEST +META.json META.yml Makefile.PL README diff --git a/META.json b/META.json new file mode 100644 index 0000000..f9358fd --- /dev/null +++ b/META.json @@ -0,0 +1,73 @@ +{ + "abstract" : "Perl object model for generating PGF/TikZ code.", + "author" : [ + "Vincent Pit " + ], + "dynamic_config" : 0, + "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.150001", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "LaTeX-TikZ", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "Carp" : "0", + "ExtUtils::MakeMaker" : "0", + "List::Util" : "0", + "Math::Complex" : "0", + "Math::Trig" : "0", + "Mouse" : "0.80", + "Scalar::Util" : "0", + "Sub::Name" : "0", + "Task::Weaken" : "0", + "Test::More" : "0", + "constant" : "0", + "lib" : "0" + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "requires" : { + "Carp" : "0", + "List::Util" : "0", + "Math::Complex" : "0", + "Math::Trig" : "0", + "Mouse" : "0.80", + "Scalar::Util" : "0", + "Sub::Name" : "0", + "Task::Weaken" : "0", + "constant" : "0", + "perl" : "5.008" + } + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "http://rt.cpan.org/Dist/Display.html?Name=LaTeX-TikZ" + }, + "homepage" : "http://search.cpan.org/dist/LaTeX-TikZ/", + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FLaTeX-TikZ.git" + } + }, + "version" : "0.03" +} diff --git a/META.yml b/META.yml index c0419d4..65e9dc7 100644 --- a/META.yml +++ b/META.yml @@ -1,51 +1,47 @@ ---- #YAML:1.0 -name: LaTeX-TikZ -version: 0.02 -abstract: Perl object model for generating PGF/TikZ code. +--- +abstract: 'Perl object model for generating PGF/TikZ code.' author: - - Vincent Pit -license: perl -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Vincent Pit ' build_requires: - Any::Moose: 0 - Carp: 0 - constant: 0 - ExtUtils::MakeMaker: 0 - List::Util: 0 - Math::Complex: 0 - Math::Trig: 0 - Mouse: 0.63 - Scalar::Util: 0 - Scope::Guard: 0 - Sub::Name: 0 - Task::Weaken: 0 - Test::More: 0 + Carp: '0' + ExtUtils::MakeMaker: '0' + List::Util: '0' + Math::Complex: '0' + Math::Trig: '0' + Mouse: '0.80' + Scalar::Util: '0' + Sub::Name: '0' + Task::Weaken: '0' + Test::More: '0' + constant: '0' + lib: '0' +configure_requires: + ExtUtils::MakeMaker: '0' +dynamic_config: 0 +generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.150001' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: LaTeX-TikZ +no_index: + directory: + - t + - inc requires: - Any::Moose: 0 - Carp: 0 - constant: 0 - List::Util: 0 - Math::Complex: 0 - Math::Trig: 0 - Mouse: 0.63 - perl: 5.008 - Scalar::Util: 0 - Scope::Guard: 0 - Sub::Name: 0 - Task::Weaken: 0 + Carp: '0' + List::Util: '0' + Math::Complex: '0' + Math::Trig: '0' + Mouse: '0.80' + Scalar::Util: '0' + Sub::Name: '0' + Task::Weaken: '0' + constant: '0' + perl: '5.008' resources: - bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LaTeX-TikZ - homepage: http://search.cpan.org/dist/LaTeX-TikZ/ - license: http://dev.perl.org/licenses/ - repository: http://git.profvince.com/?p=perl%2Fmodules%2FLaTeX-TikZ.git -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.56 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -dynamic_config: 0 + bugtracker: http://rt.cpan.org/Dist/Display.html?Name=LaTeX-TikZ + homepage: http://search.cpan.org/dist/LaTeX-TikZ/ + license: http://dev.perl.org/licenses/ + repository: http://git.profvince.com/?p=perl%2Fmodules%2FLaTeX-TikZ.git +version: '0.03' diff --git a/README b/README index 5e0fda4..c1bd2e3 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME LaTeX::TikZ - Perl object model for generating PGF/TikZ code. VERSION - Version 0.02 + Version 0.03 SYNOPSIS use LaTeX::TikZ; @@ -42,23 +42,21 @@ DESCRIPTION document. CONCEPTS - Traditionally, in TikZ, there are two ways of grouping elements, or - *ops*, together : + Traditionally, in TikZ, there are two ways of grouping paths together : - * either as a *sequence*, where each element is drawn in its own line - : + * either as a *sequence*, where each path is drawn in its own line : \draw (0cm,0cm) -- (0cm,1cm) ; \draw (0cm,0cm) -- (1cm,0cm) ; - * or as a *path*, where elements are all drawn as one line : + * or as an *union*, where paths are all drawn as one line : \draw (0cm,0cm) -- (0cm,1cm) (0cm,0cm) -- (1cm,0cm) ; This distinction is important because there are some primitives that only apply to paths but not to sequences, and vice versa. - Figures are made of ops, path or sequence *sets* assembled together in a + Figures are made of path or sequence *sets* assembled together in a tree. *Modifiers* can be applied onto any set to alter the way in which it is @@ -67,11 +65,13 @@ CONCEPTS INTERFACE Containers - "Tikz->path(@ops)" - Creates a LaTeX::TikZ::Set::Path object out of the ops @ops. + "union" + Tikz->union(@kids) + + Creates a LaTeX::TikZ::Set::Union object out of the paths @kids. # A path made of two circles - Tikz->path( + Tikz->union( Tikz->circle(0, 1), Tikz->circle(1, 1), ) @@ -80,16 +80,48 @@ INTERFACE 'even odd rule', ); - "Tikz->seq(@kids)" - Creates a LaTeX::TikZ::Set::Sequence object out of the sequences, paths - or ops @kids. + "path" + Tikz->path(@kids) + + A synonym for "union". + + "join" + Tikz->join($connector, @kids) + + Creates a LaTeX::TikZ::Set::Chain object that joins the paths @kinds + with the given $connector which can be, according to "connector" in + LaTeX::TikZ::Set::Chain, a string, an array reference or a code + reference. + + # A stair + Tikz->join('-|', map [ $_, $_ ], 0 .. 5); + + "chain" + Tikz->chain($kid0, $link0, $kid1, $link1, ... $kidn) + + Creates a LaTeX::TikZ::Set::Chain object that chains $kid0 to $kid1 with + the string $link0, $kid1 to $kid2 with $link1, and so on. + + # An heart-like shape + Tikz->chain([ 0, 1 ] + => '.. controls (-1, 1.5) and (-0.75, 0.25) ..' => [ 0, 0 ] + => '.. controls (0.75, 0.25) and (1, 1.5) ..' => [ 0, 1 ] + ); + + "seq" + Tikz->seq(@kids) + + Creates a LaTeX::TikZ::Set::Sequence object out of the sequences or + paths @kids. my $bag = Tikz->seq($sequence, $path, $circle, $raw, $point); Elements Those are the building blocks of your geometrical figure. - "Tikz->point($point)" + "point" + Tikz->point($point) + Creates a LaTeX::TikZ::Set::Point object by coercing $point into a LaTeX::TikZ::Point. The following rules are available : @@ -123,14 +155,18 @@ INTERFACE LaTeX::TikZ::Meta::TypeConstraint::Autocoerce for the rationale and LaTeX::TikZ::Point::Math::Complex for an example. - "Tikz->line($from => $to)" + "line" + Tikz->line($from => $to) + Creates a LaTeX::TikZ::Set::Line object between the points $from and $to. my $x_axis = Tikz->line(-5 => 5); my $y_axis = Tikz->line([ 0, -5 ] => [ 0, 5 ]); - "Tikz->polyline(@points)" + "polyline" + Tikz->polyline(@points) + Creates a LaTeX::TikZ::Set::Polyline object that links the successive elements of @points by segments. @@ -141,7 +177,9 @@ INTERFACE Tikz->point(1, 1), ); - "Tikz->closed_polyline(@points)" + "closed_polyline" + Tikz->closed_polyline(@points) + Creates a LaTeX::TikZ::Set::Polyline object that cycles through successive elements of @points. @@ -152,7 +190,10 @@ INTERFACE Tikz->point(1, 0), ); - "Tikz->rectangle($from => $to), Tikz->rectangle($from => { width => $width, height => $height })" + "rectangle" + Tikz->rectangle($from => $to) + Tikz->rectangle($from => { width => $width, height => $height }) + Creates a LaTeX::TikZ::Set::Rectangle object with opposite corners $from and $to, or with anchor point $from and dimensions $width and $height. @@ -161,13 +202,17 @@ INTERFACE Tikz->point(2, 1), ); - "Tikz->circle($center, $radius)" + "circle" + Tikz->circle($center, $radius) + Creates a LaTeX::TikZ::Set::Circle object of center $center and radius $radius. my $unit_circle = Tikz->circle(0, 1); - "Tikz->arc($from => $to, $center)" + "arc" + Tikz->arc($from => $to, $center) + Creates a LaTeX::TikZ::Set structure that represents an arc going from $from to $to with center $center. @@ -177,14 +222,19 @@ INTERFACE [ 0, 0 ] ); - "Tikz->arrow($from => $to), Tikz->arrow($from => dir => $dir)" + "arrow" + Tikz->arrow($from => $to) + Tikz->arrow($from => dir => $dir) + Creates a LaTeX::TikZ::Set structure that represents an arrow going from $from towards $to, or starting at $from in direction $dir. # An horizontal arrow my $arrow = Tikz->arrow(0 => 1); - "Tikz->raw($content)" + "raw" + Tikz->raw($content) + Creates a LaTeX::TikZ::Set::Raw object that will instantiate to the raw TikZ code $content. @@ -193,7 +243,9 @@ INTERFACE "$set->mod($mod)". This method returns the $set object, so it can be chained. - "Tikz->clip($path)" + "clip" + Tikz->clip($path) + Creates a LaTeX::TikZ::Mod::Clip object that can be used to clip a given sequence by the (closed) path $path. @@ -206,7 +258,9 @@ INTERFACE my $set = Tikz->circle(0, 1.5) ->clip(Tikz->rectangle([-1, -1] => [1, 1])); - "Tikz->layer($name, above => \@above, below => \@below)" + "layer" + Tikz->layer($name, above => \@above, below => \@below) + Creates a LaTeX::TikZ::Mod::Layer object with name $name and optional relative positions @above and @below. @@ -226,28 +280,45 @@ INTERFACE ->mod(Tikz->pattern(class => 'Dots')) ->layer('top'); - "Tikz->width($line_width)" + "scale" + Tikz->scale($factor) + + Creates a LaTeX::TikZ::Mod::Scale object that scales the sets onto which + it apply by the given $factor. + + my $circle_of_radius_2 = Tikz->circle(0 => 1) + ->mod(Tikz->scale(2)); + + "width" + Tikz->width($line_width) + Creates a LaTeX::TikZ::Mod::Width object that sets the line width to $line_width when applied. my $thick_arrow = Tikz->arrow(0 => 1) ->mod(Tikz->width(5)); - "Tikz->color($color)" - Creates a LaTeX::TikZ::Mod::Colorobject that sets the line color to + "color" + Tikz->color($color) + + Creates a LaTeX::TikZ::Mod::Color object that sets the line color to $color (given in the "xcolor" syntax). # Paint the previous $thick_arrow in red. $thick_arrow->mod(Tikz->color('red')); - "Tikz->fill($color)" + "fill" + Tikz->fill($color) + Creates a LaTeX::TikZ::Mod::Fill object that fills the interior of a path with the solid color $color (given in the "xcolor" syntax). my $red_box = Tikz->rectangle(0 => { width => 1, height => 1 }) ->mod(Tikz->fill('red')); - "Tikz->pattern(class => $class, %args)" + "pattern" + Tikz->pattern(class => $class, %args) + Creates a LaTeX::TikZ::Mod::Pattern object of class $class and arguments %args that fills the interior of a path with the specified pattern. $class is prepended with "LaTeX::TikZ::Mod::Pattern" when it doesn't @@ -257,7 +328,9 @@ INTERFACE my $hatched_circle = Tikz->circle(0 => 1) ->mod(Tikz->pattern(class => 'Lines')); - "Tikz->raw_mod($content)" + "raw_mod" + Tikz->raw_mod($content) + Creates a LaTeX::TikZ::Mod::Raw object that will instantiate to the raw TikZ mod code $content. @@ -265,14 +338,18 @@ INTERFACE ->mod(Tikz->raw_mod('->')) # or just ->mod('->') Helpers - "Tikz->formatter(%args)" + "formatter" + Tikz->formatter(%args) + Creates a LaTeX::TikZ::Formatter object that can render a LaTeX::TikZ::Set tree. my $tikz = Tikz->formatter; my ($header, $declarations, $seq1_body, $seq2_body) = $tikz->render($set1, $set2); - "Tikz->functor(@rules)" + "functor" + Tikz->functor(@rules) + Creates a LaTeX::TikZ::Functor anonymous subroutine that can be called against LaTeX::TikZ::Set trees to clone them according to the given rules. @rules should be a list of array references whose first element @@ -307,12 +384,10 @@ INTERFACE my $naked = $set->$strip; DEPENDENCIES - Any::Moose with Mouse 0.63 or greater. + Mouse 0.80 or greater. Sub::Name. - Scope::Guard. - Math::Complex, Math::Trig. Scalar::Util, List::Util, Task::Weaken. @@ -338,7 +413,8 @@ SUPPORT perldoc LaTeX::TikZ COPYRIGHT & LICENSE - Copyright 2010 Vincent Pit, all rights reserved. + Copyright 2010,2011,2012,2013,2014,2015 Vincent Pit, all rights + reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/LaTeX/TikZ.pm b/lib/LaTeX/TikZ.pm index 575b5c5..274c9ae 100644 --- a/lib/LaTeX/TikZ.pm +++ b/lib/LaTeX/TikZ.pm @@ -9,11 +9,11 @@ LaTeX::TikZ - Perl object model for generating PGF/TikZ code. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 SYNOPSIS diff --git a/lib/LaTeX/TikZ/Context.pm b/lib/LaTeX/TikZ/Context.pm index c610a25..26465c1 100644 --- a/lib/LaTeX/TikZ/Context.pm +++ b/lib/LaTeX/TikZ/Context.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Context - An object modeling in which context a set is evaluated. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Mod (); # Required to work around a bug in Mouse diff --git a/lib/LaTeX/TikZ/Formatter.pm b/lib/LaTeX/TikZ/Formatter.pm index e06676a..bdfced2 100644 --- a/lib/LaTeX/TikZ/Formatter.pm +++ b/lib/LaTeX/TikZ/Formatter.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Formatter - LaTeX::TikZ formatter object. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 DESCRIPTION diff --git a/lib/LaTeX/TikZ/Functor.pm b/lib/LaTeX/TikZ/Functor.pm index ac51ccf..f02ae40 100644 --- a/lib/LaTeX/TikZ/Functor.pm +++ b/lib/LaTeX/TikZ/Functor.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Functor - Build functor methods that recursively visit nodes of a L =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 DESCRIPTION diff --git a/lib/LaTeX/TikZ/Functor/Rule.pm b/lib/LaTeX/TikZ/Functor/Rule.pm index 7c55061..58ef360 100644 --- a/lib/LaTeX/TikZ/Functor/Rule.pm +++ b/lib/LaTeX/TikZ/Functor/Rule.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Functor::Rule - An object that specifies how functors should handle =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 DESCRIPTION diff --git a/lib/LaTeX/TikZ/Interface.pm b/lib/LaTeX/TikZ/Interface.pm index 081508e..8145c09 100644 --- a/lib/LaTeX/TikZ/Interface.pm +++ b/lib/LaTeX/TikZ/Interface.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Interface - LaTeX::TikZ public interface register and loader. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Sub::Name (); diff --git a/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm b/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm index 28ca706..d8f074d 100644 --- a/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm +++ b/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Meta::TypeConstraint::Autocoerce - Type constraint metaclass that a =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 SYNOPSIS diff --git a/lib/LaTeX/TikZ/Mod.pm b/lib/LaTeX/TikZ/Mod.pm index d27982b..c904d26 100644 --- a/lib/LaTeX/TikZ/Mod.pm +++ b/lib/LaTeX/TikZ/Mod.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod - Base role for LaTeX::TikZ modifiers. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 DESCRIPTION diff --git a/lib/LaTeX/TikZ/Mod/Clip.pm b/lib/LaTeX/TikZ/Mod/Clip.pm index 06db1ba..a0b0b8d 100644 --- a/lib/LaTeX/TikZ/Mod/Clip.pm +++ b/lib/LaTeX/TikZ/Mod/Clip.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Clip - A modifier that clips sequences with a path. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Sub::Name (); diff --git a/lib/LaTeX/TikZ/Mod/Color.pm b/lib/LaTeX/TikZ/Mod/Color.pm index 0cd3c5b..0510e24 100644 --- a/lib/LaTeX/TikZ/Mod/Color.pm +++ b/lib/LaTeX/TikZ/Mod/Color.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Color - A modifier that sets the line color. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; diff --git a/lib/LaTeX/TikZ/Mod/Fill.pm b/lib/LaTeX/TikZ/Mod/Fill.pm index a59df0e..327bbce 100644 --- a/lib/LaTeX/TikZ/Mod/Fill.pm +++ b/lib/LaTeX/TikZ/Mod/Fill.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Fill - A modifier that fills a closed path with a color. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; diff --git a/lib/LaTeX/TikZ/Mod/Formatted.pm b/lib/LaTeX/TikZ/Mod/Formatted.pm index c3fdd9b..f5f880a 100644 --- a/lib/LaTeX/TikZ/Mod/Formatted.pm +++ b/lib/LaTeX/TikZ/Mod/Formatted.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Formatted - Intermediate object between a modifier object and =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Mouse; use Mouse::Util::TypeConstraints qw; diff --git a/lib/LaTeX/TikZ/Mod/Layer.pm b/lib/LaTeX/TikZ/Mod/Layer.pm index 4fe07f8..1b915b9 100644 --- a/lib/LaTeX/TikZ/Mod/Layer.pm +++ b/lib/LaTeX/TikZ/Mod/Layer.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Layer - A modifier that specifies a drawing layer. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Scalar::Util (); use List::Util (); diff --git a/lib/LaTeX/TikZ/Mod/Pattern.pm b/lib/LaTeX/TikZ/Mod/Pattern.pm index 627d926..e31325d 100644 --- a/lib/LaTeX/TikZ/Mod/Pattern.pm +++ b/lib/LaTeX/TikZ/Mod/Pattern.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Pattern - A modifier that fills a closed path with a pattern. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; diff --git a/lib/LaTeX/TikZ/Mod/Pattern/Dots.pm b/lib/LaTeX/TikZ/Mod/Pattern/Dots.pm index 208c3b3..68ded30 100644 --- a/lib/LaTeX/TikZ/Mod/Pattern/Dots.pm +++ b/lib/LaTeX/TikZ/Mod/Pattern/Dots.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Pattern::Dots - A dotted pattern modifier. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Sub::Name (); diff --git a/lib/LaTeX/TikZ/Mod/Pattern/Lines.pm b/lib/LaTeX/TikZ/Mod/Pattern/Lines.pm index 90a53b1..521a130 100644 --- a/lib/LaTeX/TikZ/Mod/Pattern/Lines.pm +++ b/lib/LaTeX/TikZ/Mod/Pattern/Lines.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Pattern::Lines - An hatched pattern modifier. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Sub::Name (); diff --git a/lib/LaTeX/TikZ/Mod/Raw.pm b/lib/LaTeX/TikZ/Mod/Raw.pm index cb106f4..4a99f22 100644 --- a/lib/LaTeX/TikZ/Mod/Raw.pm +++ b/lib/LaTeX/TikZ/Mod/Raw.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Raw - A literal TikZ modifier. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; diff --git a/lib/LaTeX/TikZ/Mod/Scale.pm b/lib/LaTeX/TikZ/Mod/Scale.pm index 904247c..aea4f0b 100644 --- a/lib/LaTeX/TikZ/Mod/Scale.pm +++ b/lib/LaTeX/TikZ/Mod/Scale.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Scale - A modifier that scales a TikZ set tree. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; diff --git a/lib/LaTeX/TikZ/Mod/Width.pm b/lib/LaTeX/TikZ/Mod/Width.pm index c0ba2fb..c54f6e7 100644 --- a/lib/LaTeX/TikZ/Mod/Width.pm +++ b/lib/LaTeX/TikZ/Mod/Width.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Mod::Width - A modifier that sets the line width. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; diff --git a/lib/LaTeX/TikZ/Point.pm b/lib/LaTeX/TikZ/Point.pm index 0079ded..54a158e 100644 --- a/lib/LaTeX/TikZ/Point.pm +++ b/lib/LaTeX/TikZ/Point.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Point - Internal representation of what LaTeX::TikZ consider as 2D =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Mouse; use Mouse::Util::TypeConstraints qw< diff --git a/lib/LaTeX/TikZ/Point/Math/Complex.pm b/lib/LaTeX/TikZ/Point/Math/Complex.pm index 874fbb3..770999f 100644 --- a/lib/LaTeX/TikZ/Point/Math/Complex.pm +++ b/lib/LaTeX/TikZ/Point/Math/Complex.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Point::Math::Complex - Coerce Math::Complex points into LaTeX::TikZ =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Math::Complex; diff --git a/lib/LaTeX/TikZ/Scope.pm b/lib/LaTeX/TikZ/Scope.pm index e72b919..a9e85b6 100644 --- a/lib/LaTeX/TikZ/Scope.pm +++ b/lib/LaTeX/TikZ/Scope.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Scope - An object modeling a TikZ scope or layer. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Sub::Name (); diff --git a/lib/LaTeX/TikZ/Set.pm b/lib/LaTeX/TikZ/Set.pm index 3d8112f..5b80633 100644 --- a/lib/LaTeX/TikZ/Set.pm +++ b/lib/LaTeX/TikZ/Set.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set - Base role for LaTeX::TikZ set objects. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Context; use LaTeX::TikZ::Scope; diff --git a/lib/LaTeX/TikZ/Set/Arc.pm b/lib/LaTeX/TikZ/Set/Arc.pm index f0a1081..ed32cfd 100644 --- a/lib/LaTeX/TikZ/Set/Arc.pm +++ b/lib/LaTeX/TikZ/Set/Arc.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Arc - A combined set object representing an arc. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Carp (); use Math::Complex (); diff --git a/lib/LaTeX/TikZ/Set/Arrow.pm b/lib/LaTeX/TikZ/Set/Arrow.pm index eb65123..4ebee4d 100644 --- a/lib/LaTeX/TikZ/Set/Arrow.pm +++ b/lib/LaTeX/TikZ/Set/Arrow.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Arrow - A combined set object representing an arrow. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Carp (); diff --git a/lib/LaTeX/TikZ/Set/Chain.pm b/lib/LaTeX/TikZ/Set/Chain.pm index dae9ccc..308de76 100644 --- a/lib/LaTeX/TikZ/Set/Chain.pm +++ b/lib/LaTeX/TikZ/Set/Chain.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Chain - A set object representing a connected path between sev =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Set::Point; use LaTeX::TikZ::Set::Raw; diff --git a/lib/LaTeX/TikZ/Set/Circle.pm b/lib/LaTeX/TikZ/Set/Circle.pm index d141c64..070cac6 100644 --- a/lib/LaTeX/TikZ/Set/Circle.pm +++ b/lib/LaTeX/TikZ/Set/Circle.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Circle - A set object representing a circle. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Set::Point; diff --git a/lib/LaTeX/TikZ/Set/Container.pm b/lib/LaTeX/TikZ/Set/Container.pm index adaa6cc..8ffd5d1 100644 --- a/lib/LaTeX/TikZ/Set/Container.pm +++ b/lib/LaTeX/TikZ/Set/Container.pm @@ -9,7 +9,7 @@ LaTeX::TikZ::Set::Container - A role for set objects that are made of subobjects =head1 VERSION -Version 0.02 +Version 0.03 =head1 DESCRIPTION @@ -30,7 +30,7 @@ an C method describing how more elements can be added to the set. =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Mouse::Role; diff --git a/lib/LaTeX/TikZ/Set/Line.pm b/lib/LaTeX/TikZ/Set/Line.pm index 64ba618..fab6da4 100644 --- a/lib/LaTeX/TikZ/Set/Line.pm +++ b/lib/LaTeX/TikZ/Set/Line.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Line - A set object representing a line. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Set::Point; diff --git a/lib/LaTeX/TikZ/Set/Path.pm b/lib/LaTeX/TikZ/Set/Path.pm index a0b8226..9dbc902 100644 --- a/lib/LaTeX/TikZ/Set/Path.pm +++ b/lib/LaTeX/TikZ/Set/Path.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Path - A role for set objects that can be part of a path. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 DESCRIPTION diff --git a/lib/LaTeX/TikZ/Set/Point.pm b/lib/LaTeX/TikZ/Set/Point.pm index 120dc7f..354d1de 100644 --- a/lib/LaTeX/TikZ/Set/Point.pm +++ b/lib/LaTeX/TikZ/Set/Point.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Point - A set object representing a point. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Point; diff --git a/lib/LaTeX/TikZ/Set/Polyline.pm b/lib/LaTeX/TikZ/Set/Polyline.pm index 427a5d6..0c19f43 100644 --- a/lib/LaTeX/TikZ/Set/Polyline.pm +++ b/lib/LaTeX/TikZ/Set/Polyline.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Polyline - A set object representing a possibly closed path co =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Set::Point; diff --git a/lib/LaTeX/TikZ/Set/Raw.pm b/lib/LaTeX/TikZ/Set/Raw.pm index 7eb1571..d49fb3d 100644 --- a/lib/LaTeX/TikZ/Set/Raw.pm +++ b/lib/LaTeX/TikZ/Set/Raw.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Raw - A literal chunk of TikZ code. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; use LaTeX::TikZ::Functor; diff --git a/lib/LaTeX/TikZ/Set/Rectangle.pm b/lib/LaTeX/TikZ/Set/Rectangle.pm index 8841b1b..5484bf5 100644 --- a/lib/LaTeX/TikZ/Set/Rectangle.pm +++ b/lib/LaTeX/TikZ/Set/Rectangle.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Rectangle - A set object representing a rectangle. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Set::Point; diff --git a/lib/LaTeX/TikZ/Set/Sequence.pm b/lib/LaTeX/TikZ/Set/Sequence.pm index ce4a7ad..0537bd1 100644 --- a/lib/LaTeX/TikZ/Set/Sequence.pm +++ b/lib/LaTeX/TikZ/Set/Sequence.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Sequence - A set object grouping a sequence of objects. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use List::Util (); diff --git a/lib/LaTeX/TikZ/Set/Union.pm b/lib/LaTeX/TikZ/Set/Union.pm index cacbaf1..af00518 100644 --- a/lib/LaTeX/TikZ/Set/Union.pm +++ b/lib/LaTeX/TikZ/Set/Union.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Set::Union - A set object representing a path formed by the reunion =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use LaTeX::TikZ::Interface; use LaTeX::TikZ::Functor; diff --git a/lib/LaTeX/TikZ/Tools.pm b/lib/LaTeX/TikZ/Tools.pm index d096f6b..6984df5 100644 --- a/lib/LaTeX/TikZ/Tools.pm +++ b/lib/LaTeX/TikZ/Tools.pm @@ -9,11 +9,11 @@ LaTeX::TikZ::Tools - Miscellaneous tools for LaTeX::TikZ classes. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Mouse::Util::TypeConstraints 'find_type_constraint';