X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ.pm;h=69a55c81ef7517b432c84232c7eb222984444121;hp=1d2306c6fd1ca92046997369a7dd62db4c390137;hb=0fb9961e1a5172180e428b49f67e2120835c9e3c;hpb=e8590b71a4239eabe4a13e86163b1ed8dad695ed diff --git a/lib/LaTeX/TikZ.pm b/lib/LaTeX/TikZ.pm index 1d2306c..69a55c8 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.