| 1 | package Calendar::Plugin::Renderer::SVG::Page; | ||
| 2 | |||
| 3 | 3 | $Calendar::Plugin::Renderer::SVG::Page::VERSION = '0.13'; | |
| 4 | 3 | $Calendar::Plugin::Renderer::SVG::Page::AUTHORITY = 'cpan:MANWAR'; | |
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | Calendar::Plugin::Renderer::SVG::Page - Interface to 'page' of calendar in SVG format. | ||
| 9 | |||
| 10 | =head1 VERSION | ||
| 11 | |||
| 12 | Version 0.13 | ||
| 13 | |||
| 14 | =cut | ||
| 15 | |||
| 16 | 3 | ▶ | use 5.006; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 3 | ▶ | use Data::Dumper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 3 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 3 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 3 | has 'width' => (is => 'ro', required => 1); | |
| 23 | 3 | has 'width_unit' => (is => 'ro', required => 1); | |
| 24 | 3 | has 'height' => (is => 'ro', required => 1); | |
| 25 | 3 | has 'height_unit' => (is => 'ro', required => 1); | |
| 26 | 3 | has 'x_margin' => (is => 'ro'); | |
| 27 | 3 | has 'y_margin' => (is => 'ro'); | |
| 28 | |||
| 29 | =head1 DESCRIPTION | ||
| 30 | |||
| 31 | B<FOR INTERNAL USE ONLY>. | ||
| 32 | |||
| 33 | =head1 AUTHOR | ||
| 34 | |||
| 35 | Mohammad S Anwar, C<< <mohammad.anwar at yahoo.com> >> | ||
| 36 | |||
| 37 | =head1 REPOSITORY | ||
| 38 | |||
| 39 | L<https://github.com/manwar/Calendar-Plugin-Renderer> | ||
| 40 | |||
| 41 | =head1 BUGS | ||
| 42 | |||
| 43 | Please report any bugs / feature requests to C<bug-calendar-plugin-renderer at rt.cpan.org>, | ||
| 44 | or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Calendar-Plugin-Renderer>. | ||
| 45 | I will be notified, and then you'll automatically be notified of progress on your | ||
| 46 | bug as I make changes. | ||
| 47 | |||
| 48 | =head1 SUPPORT | ||
| 49 | |||
| 50 | You can find documentation for this module with the perldoc command. | ||
| 51 | |||
| 52 | perldoc Calendar::Plugin::Renderer::SVG::Page | ||
| 53 | |||
| 54 | You can also look for information at: | ||
| 55 | |||
| 56 | =over 4 | ||
| 57 | |||
| 58 | =item * RT: CPAN's request tracker | ||
| 59 | |||
| 60 | L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Calendar-Plugin-Renderer> | ||
| 61 | |||
| 62 | =item * AnnoCPAN: Annotated CPAN documentation | ||
| 63 | |||
| 64 | L<http://annocpan.org/dist/Calendar-Plugin-Renderer> | ||
| 65 | |||
| 66 | =item * CPAN Ratings | ||
| 67 | |||
| 68 | L<http://cpanratings.perl.org/d/Calendar-Plugin-Renderer> | ||
| 69 | |||
| 70 | =item * Search CPAN | ||
| 71 | |||
| 72 | L<http://search.cpan.org/dist/Calendar-Plugin-Renderer/> | ||
| 73 | |||
| 74 | =back | ||
| 75 | |||
| 76 | =head1 LICENSE AND COPYRIGHT | ||
| 77 | |||
| 78 | Copyright (C) 2015 - 2016 Mohammad S Anwar. | ||
| 79 | |||
| 80 | This program is free software; you can redistribute it and / or modify it under | ||
| 81 | the terms of the the Artistic License (2.0). You may obtain a copy of the full | ||
| 82 | license at: | ||
| 83 | |||
| 84 | L<http://www.perlfoundation.org/artistic_license_2_0> | ||
| 85 | |||
| 86 | Any use, modification, and distribution of the Standard or Modified Versions is | ||
| 87 | governed by this Artistic License.By using, modifying or distributing the Package, | ||
| 88 | you accept this license. Do not use, modify, or distribute the Package, if you do | ||
| 89 | not accept this license. | ||
| 90 | |||
| 91 | If your Modified Version has been derived from a Modified Version made by someone | ||
| 92 | other than you,you are nevertheless required to ensure that your Modified Version | ||
| 93 | complies with the requirements of this license. | ||
| 94 | |||
| 95 | This license does not grant you the right to use any trademark, service mark, | ||
| 96 | tradename, or logo of the Copyright Holder. | ||
| 97 | |||
| 98 | This license includes the non-exclusive, worldwide, free-of-charge patent license | ||
| 99 | to make, have made, use, offer to sell, sell, import and otherwise transfer the | ||
| 100 | Package with respect to any patent claims licensable by the Copyright Holder that | ||
| 101 | are necessarily infringed by the Package. If you institute patent litigation | ||
| 102 | (including a cross-claim or counterclaim) against any party alleging that the | ||
| 103 | Package constitutes direct or contributory patent infringement,then this Artistic | ||
| 104 | License to you shall terminate on the date that such litigation is filed. | ||
| 105 | |||
| 106 | Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND | ||
| 107 | CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED | ||
| 108 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR | ||
| 109 | NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS | ||
| 110 | REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, | ||
| 111 | INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE | ||
| 112 | OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 113 | |||
| 114 | =cut | ||
| 115 | |||
| 116 | 3 | 1; # End of Calendar::Plugin::Renderer::SVG::Page | |