Jacquard/Role/Render/QnD/Bounds/Direct.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use Renard::Incunabula::Common::Setup;
2 package Intertangle::Jacquard::Role::Render::QnD::Bounds::Direct;
3 # ABSTRACT: Quick-and-dirty role for computing bounds directly using position and size
4 $Intertangle::Jacquard::Role::Render::QnD::Bounds::Direct::VERSION = '0.001';
5 use Mu::Role;
6  
7 requires 'origin_point';
8 requires 'size';
9  
10 lazy bounds => method() {
11 Intertangle::Yarn::Graphene::Rect->new(
12 origin => $self->origin_point,
13 size => $self->size,
14 );
15 };
16  
17 1;
18  
19 __END__
20  
21 =pod
22  
23 =encoding UTF-8
24  
25 =head1 NAME
26  
27 Intertangle::Jacquard::Role::Render::QnD::Bounds::Direct - Quick-and-dirty role for computing bounds directly using position and size
28  
29 =head1 VERSION
30  
31 version 0.001
32  
33 =head1 AUTHOR
34  
35 Zakariyya Mughal <zmughal@cpan.org>
36  
37 =head1 COPYRIGHT AND LICENSE
38  
39 This software is copyright (c) 2017 by Zakariyya Mughal.
40  
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43  
44 =cut