X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ.pm;h=7ba3a740e4a6106bece14645955f6110371c7aeb;hb=a27d2f20c230552d8207b08c13d6d7f73408261b;hp=1d2306c6fd1ca92046997369a7dd62db4c390137;hpb=95aada0ec5b3c5a0d78ed0ad53436b0e70860bc7;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ.pm b/lib/LaTeX/TikZ.pm index 1d2306c..7ba3a74 100644 --- a/lib/LaTeX/TikZ.pm +++ b/lib/LaTeX/TikZ.pm @@ -268,6 +268,13 @@ Layers can also be directly applied to sets with the C<< ->layer >> method. ->mod(Tikz->pattern(class => 'Dots')) ->layer('top'); +=head3 C<< Tikz->scale($factor) >> + +Creates a L object that scales the sets onto which it apply by the given C<$factor>. + + my $circle_of_radius_2 = Tikz->circle(0 => 1) + ->mod(Tikz->scale(2)); + =head3 C<< Tikz->width($line_width) >> Creates a L object that sets the line width to C<$line_width> when applied. @@ -379,8 +386,6 @@ L with L 0.80 or greater. L. -L. - L, L. L, L, L.