NAME
Graphics::Grid::Functions - Function interface for Graphics::Grid
VERSION
version 0.0000_01
SYNOPSIS
use Graphics::Grid::Functions qw(:all);
DESCRIPTION
This is the function interface for Graphics::Grid.
FUNCTIONS
unit(%params)
It's equivalent to Graphics::Grid::Unit->new
.
viewport(%params)
It's equivalent to Graphics::Grid::Viewport->new
.
gpar(%params)
It's equivalent to Graphics::Grid::GPar->new
.
push_viewport($viewport)
It's equivalent to Graphics::Grid's push_viewport
method.
pop_viewport($n=1)
It's equivalent to Graphics::Grid's pop_viewport
method.
up_viewport($n=1)
It's equivalent to Graphics::Grid's up_viewport
method.
down_viewport($from_tree_node, $name)
It's equivalent to Graphics::Grid's down_viewport
method.
seek_viewport($name)
It's equivalent to Graphics::Grid's seek_viewport
method.
${grob_type}_grob(%params)
This creates a grob object.
$grob_type
can be one of following,
circle
lines
points
polygon
polyline
rect
segments
text
null
zero
grid_${grob_type}(%params)
This creates a grob, and draws it. This is equivalent to Graphics::Grid's ${grob_type}(...) method.
See above for possible $grob_type
.
gtree(%params)
It's equivalent to Graphics::Grid::GTree->new
.
grid_draw($grob)
It's equivalent to Graphics::Grid's draw
method.
grid_write($filename)
It's equivalent to Graphics::Grid's write
method.
SEE ALSO
Examples in the examples
directory of the package release.
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.