GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::Drawable::Metafile(3) User Contributed Perl Documentation Prima::Drawable::Metafile(3)

Prima::Drawable::Metafile - graphic primitive recorder

Metafiles can record graphic primitives and replay them later on another canvas.

  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 );

clear
When called without parameters, clears the content before proceeding. Otherwise same as "Drawable.clear".
execute CANVAS,X,Y
Draws the content on a CANVAS with X,Y offset
size X,Y
Sets metafile extensions; however the content is not clipped by it.

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima, Prima::Buttons, examples/buttons.pl
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.