| 1 | #! perl | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use v5.26; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use Object::Pad; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 2 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 2 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | class SVGPDF::G :isa(SVGPDF::Element); | ||||||||||
| 9 | |||||||||||
| 10 | 14 | ▶ | method process () { | ||||||||
|
Subroutine
process: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 11 | 14 | my $atts = $self->atts; | |||||||||
| 12 | 14 | my $xo = $self->xo; | |||||||||
| 13 | 14 | ▶ | return if $atts->{omit}; # for testing/debugging. | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | |||||||||||
| 15 | 14 | ▶ | if ( defined $atts->{id} ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 5 | $self->root->defs->{ "#" . $atts->{id} } = $self; | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 14 | my ( $tf ) = $self->get_params( $atts, "transform:s" ); | |||||||||
| 20 | |||||||||||
| 21 | 14 | $self->_dbg( $self->name, " ====" ); | |||||||||
| 22 | |||||||||||
| 23 | 14 | $self->_dbg( "+ xo save" ); | |||||||||
| 24 | 14 | $xo->save; | |||||||||
| 25 | |||||||||||
| 26 | 14 | $self->set_transform($tf); | |||||||||
| 27 | 14 | $self->traverse; | |||||||||
| 28 | |||||||||||
| 29 | 14 | $xo->restore; | |||||||||
| 30 | 14 | $self->_dbg( "- xo restore" ); | |||||||||
| 31 | |||||||||||
| 32 | 14 | $self->css_pop; | |||||||||
| 33 | 2 | } | |||||||||
| 34 | |||||||||||
| 35 | |||||||||||
| 36 | 2 | 1; | |||||||||