File Coverage

blib/lib/Calendar/Plugin/Renderer/SVG/Page.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Calendar::Plugin::Renderer::SVG::Page;
2              
3             $Calendar::Plugin::Renderer::SVG::Page::VERSION = '0.10';
4             $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.10
13              
14             =cut
15              
16 1     1   12 use 5.006;
  1         2  
17 1     1   4 use Data::Dumper;
  1         1  
  1         38  
18              
19 1     1   3 use Moo;
  1         1  
  1         3  
20 1     1   170 use namespace::clean;
  1         1  
  1         15  
21              
22             has 'width' => (is => 'ro', required => 1);
23             has 'width_unit' => (is => 'ro', required => 1);
24             has 'height' => (is => 'ro', required => 1);
25             has 'height_unit' => (is => 'ro', required => 1);
26             has 'x_margin' => (is => 'ro');
27             has 'y_margin' => (is => 'ro');
28              
29             =head1 DESCRIPTION
30              
31             B.
32              
33             =head1 AUTHOR
34              
35             Mohammad S Anwar, C<< >>
36              
37             =head1 REPOSITORY
38              
39             L
40              
41             =head1 BUGS
42              
43             Please report any bugs / feature requests to C,
44             or through the web interface at L.
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
61              
62             =item * AnnoCPAN: Annotated CPAN documentation
63              
64             L
65              
66             =item * CPAN Ratings
67              
68             L
69              
70             =item * Search CPAN
71              
72             L
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
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             1; # End of Calendar::Plugin::Renderer::SVG::Page