Prima::...Metafile(3)
π Prima::Drawable::Metafile β graphics recorder π
okay bestie, this is the Prima::...Metafile(3) page from the User Contributed Perl Documentation, and it's literally about a graphics recorder. we're so back π
πΈ NAME πΈ
Prima::Drawable::Metafile - graphics recorder
β¨ DESCRIPTION β¨
Metafiles can record graphic primitives and replay them later on another canvas. that's the whole main character energy: record the primitives, replay them later on another canvas π¦
π SYNOPSIS π
my $metafile = Prima::Drawable::Metafile->new( size => [30, 30] );
$metafile->begin_paint;
$metafile->rectangle(10,10,20,20);
$metafile->end_paint;
$metafile->execute( $another_drawable, 100, 100 );
π API π
call $SUB::($self,$canvas,@ARGS), @ARGSβ$SUBwill be called when the metafile is executed, with the first two parameters the metafile and the target canvas, and@ARGSthereafter.clearβ When called without parameters, clears the content before proceeding. Otherwise same asDrawable.clear.execute CANVAS,X,Yβ Draws the content on theCANVASwithX,Yoffset.size X,Yβ Sets the metafile extensions; the content is not clipped by it.
π AUTHOR π
Dmitry Karasik, <dmitry@karasik.eu.org>.
π SEE ALSO π
PrimaPrima::Buttonsexamples/buttons.pl
cute sign-off bestie: this was perl v5.42.0, dated 2024-08-20, and the page is Prima::...Metafile(3) β periodt πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms