our $VERSION = '0.01';
-use LaTeX::TikZ::Scope;
-
use Any::Moose 'Role';
+with 'LaTeX::TikZ::Set';
+
requires qw(
path
);
sub draw {
my $set = shift;
- LaTeX::TikZ::Scope->new
- ->body([ "\\draw " . $set->path(@_) . ' ;' ]);
+ [ "\\draw " . $set->path(@_) . ' ;' ];
}
=head1 AUTHOR