Grid::Layout::Area
Grid::Layout::Render iterate over an Grid::Layout and call appropriate call backs so as to render the grid on a device.
Grid::Layout::Render
use Grid::Layout; my $gl = Grid::Layout->new(…); Grid::Layout::Render::top_to_bottom_left_to_right( $gl, sub { # call back for next horizontal L<< track|Grid::Layout::Track >>. my vertical_track = shift; }, sub { # call back for each L<< cell|Grid::Layout::Cell> in the horizontal track my $cell = shift; }, sub { # call back when a horizontal track is finished my vertical_track = shift; } );
Copyright © 2017 René Nyffenegger, Switzerland. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). You may obtain a copy of the full license at: http://www.perlfoundation.org/artistic_license_2_0
To install Grid::Layout, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Grid::Layout
CPAN shell
perl -MCPAN -e shell install Grid::Layout
For more information on module installation, please visit the detailed CPAN module installation guide.