]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Interface.pm
This is 0.02
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Interface.pm
index adf63f90802f2a2d5ee44fbe5d1779ed4cf0b207..e92888e7e05d37e6c17ef84e96098a2cb7fa84a7 100644 (file)
@@ -9,14 +9,22 @@ 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<< register $keyword => $code >>
+
+Registers C<$code> to be available with C<< Tikz->$keyword >>.
+
+=cut
+
 sub register {
  shift;
 
@@ -49,6 +57,12 @@ sub register {
  return;
 }
 
+=head2 C<load>
+
+Load all the modules of the L<LaTeX::TikZ> official suite that register a keyword in the interface.
+
+=cut
+
 sub load {
  require LaTeX::TikZ::Formatter;      # formatter
  require LaTeX::TikZ::Functor;        # functor
@@ -77,6 +91,10 @@ sub load {
  require LaTeX::TikZ::Mod::Pattern;   # pattern
 }
 
+=head1 SEE ALSO
+
+L<LaTeX::TikZ>.
+
 =head1 AUTHOR
 
 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.