1 package LaTeX::TikZ::Set::Raw;
8 LaTeX::TikZ::Set::Raw - A literal chunk of TikZ code.
16 our $VERSION = '0.01';
18 use LaTeX::TikZ::Functor;
22 with 'LaTeX::TikZ::Set::Op';
30 sub path { $_[0]->content }
32 use LaTeX::TikZ::Interface raw => sub {
35 __PACKAGE__->new(content => join ' ', @_);
38 LaTeX::TikZ::Functor->default_rule(
39 (__PACKAGE__) => sub {
40 my ($functor, $set, @args) = @_;
41 $set->new(content => $set->content);
45 __PACKAGE__->meta->make_immutable;
49 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
51 You can contact me by mail or on C<irc.perl.org> (vincent).
55 Please report any bugs or feature requests to C<bug-latex-tikz at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LaTeX-TikZ>.
56 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
60 You can find documentation for this module with the perldoc command.
64 =head1 COPYRIGHT & LICENSE
66 Copyright 2010 Vincent Pit, all rights reserved.
68 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
72 1; # End of LaTeX::TikZ::Set::Raw