=head1 VERSION
-Version 0.01
+Version 0.02
=cut
-our $VERSION = '0.01';
+our $VERSION = '0.02';
use List::Util ();
sub draw {
my $set = shift;
+ my @kids = $set->kids;
+ return [ ] unless @kids;
+
List::Util::reduce { LaTeX::TikZ::Scope::fold($a, $b) }
map $_->draw(@_),
- $set->kids;
+ @kids;
}
LaTeX::TikZ::Interface->register(
__PACKAGE__->meta->make_immutable;
+=head1 SEE ALSO
+
+L<LaTeX::TikZ>, L<LaTeX::TikZ::Set::Op>, L<LaTeX::TikZ::Set::Mutable>.
+
=head1 AUTHOR
Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.