| 1 | package Chart::GGPlot::Theme::Rel; | ||||||||||||||
| 2 | |||||||||||||||
| 3 | # ABSTRACT: To specify sizes relative to the parent | ||||||||||||||
| 4 | |||||||||||||||
| 5 | 3 | ▶ | use Chart::GGPlot::Setup; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 6 | 3 | ▶ | use Function::Parameters qw(classmethod); | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 7 | |||||||||||||||
| 8 | 3 | our $VERSION = '0.002003'; # VERSION | |||||||||||||
| 9 | |||||||||||||||
| 10 | 3 | ▶ | use overload '*' => fun( $self, $other, $swap ) { $self->value * $other }, | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
__ANON__: called CC=3 SCAR=11.2
Branch: 2 branches
| |||||||||||||||
| 11 | 3 | fallback => 1; | |||||||||||||
| 12 | |||||||||||||||
| 13 | # do not use Moose as this class is too simple. | ||||||||||||||
| 14 | 84 | ▶ | classmethod new ($x) { | ||||||||||||
|
Subroutine
new: called CC=3 SCAR=11.2
Pod
undocumented
Branch: 2 branches
| |||||||||||||||
| 15 | 84 | return ( bless \$x, $class ); | |||||||||||||
| 16 | 3 | } | |||||||||||||
| 17 | |||||||||||||||
| 18 | 5 | ▶ | method value () { | ||||||||||||
|
Subroutine
value: called CC=3 SCAR=11.3
Pod
undocumented
Branch: 2 branches
| |||||||||||||||
| 19 | 5 | return $$self; | |||||||||||||
| 20 | 3 | } | |||||||||||||
| 21 | |||||||||||||||
| 22 | 3 | 1; | |||||||||||||
| 23 | |||||||||||||||
| 24 | __END__ | ||||||||||||||