X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FInterface.pm;h=220db4abb8cdc3fad5dd482ed5140c32b79e372f;hb=61a93a58351bf2d238dcf81a1a557112b0c0ee85;hp=adf63f90802f2a2d5ee44fbe5d1779ed4cf0b207;hpb=af7d6a5aef3bf5fec0c187b3a13a14adc88251fd;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Interface.pm b/lib/LaTeX/TikZ/Interface.pm index adf63f9..220db4a 100644 --- a/lib/LaTeX/TikZ/Interface.pm +++ b/lib/LaTeX/TikZ/Interface.pm @@ -9,14 +9,24 @@ LaTeX::TikZ::Interface - LaTeX::TikZ public interface register and loader. =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; use Sub::Name (); +=head1 METHODS + +=head2 C + + LaTeX::Tikz::Interface->register($keyword => $code) + +Registers C<$code> to be available with C<< Tikz->$keyword >>. + +=cut + sub register { shift; @@ -49,14 +59,21 @@ sub register { return; } +=head2 C + +Load all the modules of the L official suite that register a keyword in the interface. + +=cut + sub load { require LaTeX::TikZ::Formatter; # formatter require LaTeX::TikZ::Functor; # functor require LaTeX::TikZ::Set::Raw; # raw - require LaTeX::TikZ::Set::Path; # path + require LaTeX::TikZ::Set::Union; # union require LaTeX::TikZ::Set::Sequence; # seq + require LaTeX::TikZ::Set::Chain; # chain, join require LaTeX::TikZ::Set::Point; # point require LaTeX::TikZ::Set::Line; # line @@ -71,12 +88,17 @@ sub load { require LaTeX::TikZ::Mod::Clip; # clip require LaTeX::TikZ::Mod::Layer; # layer + require LaTeX::TikZ::Mod::Scale; # scale require LaTeX::TikZ::Mod::Width; # width require LaTeX::TikZ::Mod::Color; # color require LaTeX::TikZ::Mod::Fill; # fill require LaTeX::TikZ::Mod::Pattern; # pattern } +=head1 SEE ALSO + +L. + =head1 AUTHOR Vincent Pit, C<< >>, L. @@ -96,7 +118,7 @@ You can find documentation for this module with the perldoc command. =head1 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.