line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#! perl |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
13
|
use v5.26; |
|
1
|
|
|
|
|
4
|
|
4
|
1
|
|
|
1
|
|
6
|
use Object::Pad; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
5
|
1
|
|
|
1
|
|
99
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
6
|
1
|
|
|
1
|
|
24
|
use Carp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
128
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
class SVGPDF::Circle :isa(SVGPDF::Element); |
9
|
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
0
|
|
method process () { |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
11
|
0
|
|
|
|
|
|
my $atts = $self->atts; |
12
|
0
|
|
|
|
|
|
my $xo = $self->xo; |
13
|
0
|
0
|
|
|
|
|
return if $atts->{omit}; # for testing/debugging. |
14
|
|
|
|
|
|
|
|
15
|
0
|
|
|
|
|
|
my ( $cx, $cy, $r, $tf ) = |
16
|
|
|
|
|
|
|
$self->get_params( $atts, qw( cx:H cy:V r:U transform:s ) ); |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
$self->_dbg( $self->name, " cx=$cx cy=$cy r=$r" ); |
19
|
0
|
|
|
|
|
|
$self->_dbg( "+ xo save" ); |
20
|
0
|
|
|
|
|
|
$xo->save; |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
|
|
|
$self->set_graphics; |
23
|
0
|
0
|
|
|
|
|
$self->set_transform($tf) if $tf; |
24
|
0
|
|
|
|
|
|
$xo->circle( $cx, $cy, $r ); |
25
|
0
|
|
|
|
|
|
$self->_paintsub->(); |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
|
$self->_dbg( "- xo restore" ); |
28
|
0
|
|
|
|
|
|
$xo->restore; |
29
|
0
|
|
|
|
|
|
$self->css_pop; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |