Prima::Drawable::Subcanvas - paint a hierarchy of widgets to any drawable
use Prima qw(Application Button); my $w = Prima::MainWindow-> create; $w->insert( 'Button' ); $w->screenshot->save('a.bmp');
- paint_with_widgets $canvas, $x=0, $y=0
$canvasis in paint mode, traverses all widgets as they are seen on screen, and paints them on the canvas with given
- screenshot $canvas, %opt
Syntax sugar over the paint_with_widgets. Creates an image with the
$self's, size, and calls
paint_with_widgetswith it. Returns the screen shot.