The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Graphics::Grid::Util - Utility functions used internally in Graphics::Grid

VERSION

version 0.0001

SYNOPSIS

    use Graphics::Grid::Util qw(:all);

    # convert between dots and inches
    $inches = dots_to_inches($x, $dpi);
    $dots = inches_to_dots($x, $dpi);

    # convert between dots and centimeters
    $cm = dots_to_cm($x, $dpi);
    $dots = cm_to_dots($x, $dpi);

    # convert between points and centimeters   
    $cm = points_to_cm($x);
    $pt = cm_to_points($x);

SEE ALSO

Graphics::Grid

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.