blib/lib/Imager/DTP/Letter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 34 | 0.0 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 0 | if defined $o{'text'} |
34 | 0 | 0 | if defined $o{'font'} |
35 | 0 | 0 | if $o{'xscale'} or $o{'yscale'} |
45 | 0 | 0 | if ($o{'debug'}) |
47 | 0 | 0 | if $o{'debug'} > 1 |
65 | 0 | 0 | if ($sx != 1 or $sy != 1) |
71 | 0 | 0 | unless $o{'target'}->string(%{$o{'others'};}, 'x', $o{'x'} + $self->getLeftBearing, 'y', $o{'y'} + $self->getGlobalAscent - $self->getAscent, 'text', $self->getText, 'font', $self->getFont, 'utf8', 1, 'vlayout', 0, 'align', 0) |
79 | 0 | 0 | if ($o{'debug'}) |
95 | 0 | 0 | unless (defined $self->getFont or defined $self->getText) |
98 | 0 | 0 | unless (ref($o{'target'}) =~ /^Imager(::.+)?/) |
101 | 0 | 0 | unless $o{'x'} |
102 | 0 | 0 | unless $o{'y'} |
109 | 0 | 0 | if ($o{'text'} eq '') |
120 | 0 | 0 | unless (defined $o{'font'} and ref($o{'font'}) =~ /^Imager::Font(::.+)?$/) |
135 | 0 | 0 | if ($o{$v} and not $o{$v} =~ /^\d+(\.\d+)?$/) |
139 | 0 | 0 | if $o{'x'} |
140 | 0 | 0 | if $o{'y'} |