| 1 | #! perl | ||||||||||
| 2 | |||||||||||
| 3 | 12 | ▶ | use v5.26; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 12 | ▶ | use Object::Pad; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 12 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 12 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | class SVGPDF::Ellipse :isa(SVGPDF::Element); | ||||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | method process () { | ||||||||
|
Subroutine
process: not called CC=3 SCAR=23.8
Pod
undocumented
| |||||||||||
| 11 | 0 | my $atts = $self->atts; | |||||||||
| 12 | 0 | my $xo = $self->xo; | |||||||||
| 13 | 0 | ▶ | return if $atts->{omit}; # for testing/debugging. | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | |||||||||||
| 15 | 0 | my ( $cx, $cy, $rx, $ry, $tf ) = | |||||||||
| 16 | $self->get_params( $atts, qw( cx:H cy:V rx:H ry:V transform:s ) ); | ||||||||||
| 17 | |||||||||||
| 18 | 0 | $self->_dbg( $self->name, " cx=$cx cy=$cy rx=$rx ry=$ry" ); | |||||||||
| 19 | 0 | $self->_dbg( "+ xo save" ); | |||||||||
| 20 | 0 | $xo->save; | |||||||||
| 21 | |||||||||||
| 22 | 0 | $self->set_graphics; | |||||||||
| 23 | 0 | ▶ | $self->set_transform($tf) if $tf; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | 0 | $xo->ellipse( $cx, $cy, $rx, $ry ); | |||||||||
| 25 | 0 | $self->_paintsub->(); | |||||||||
| 26 | |||||||||||
| 27 | 0 | $self->_dbg( "- xo restore" ); | |||||||||
| 28 | 0 | $xo->restore; | |||||||||
| 29 | 0 | $self->css_pop; | |||||||||
| 30 | 12 | } | |||||||||
| 31 | |||||||||||
| 32 | |||||||||||
| 33 | 12 | 1; | |||||||||