use Sub::Name ();
+use LaTeX::TikZ::Point;
+
use LaTeX::TikZ::Interface;
use LaTeX::TikZ::Tools;
);
has 'scale' => (
- is => 'ro',
+ is => 'rw',
isa => 'Num',
default => 1,
);
has 'width' => (
- is => 'ro',
+ is => 'rw',
isa => 'Maybe[Num]',
);
has 'height' => (
- is => 'ro',
+ is => 'rw',
isa => 'Maybe[Num]',
);
has 'origin' => (
- is => 'ro',
+ is => 'rw',
isa => 'Maybe[LaTeX::TikZ::Point::Autocoerce]',
coerce => 1,
);
my (@layers, @other_mods);
$find_mods->($seq, \@layers, \@other_mods);
- my $o = $tikz->origin;
- $seq = $seq->translate($o) if defined $o;
-
my $w = $tikz->width;
my $h = $tikz->height;
my $canvas = '';