line |
true |
false |
branch |
439
|
0 |
2 |
if $self->{'RESET'} |
2468
|
0 |
2 |
if ($self->{'GARBAGE'}) |
2633
|
2 |
0 |
unless (defined $self->{'FB_DEVICE'}) |
2636
|
0 |
192 |
if (-e "$prefix$dev") |
2641
|
0 |
64 |
if defined $self->{'FB_DEVICE'} |
2652
|
0 |
2 |
if defined $ENV{'DISPLAY'} and $self->{'IGNORE_X_WINDOWS'} == 0 |
2653
|
0 |
2 |
if (not $has_X and defined $self->{'FB_DEVICE'} and -e $self->{'FB_DEVICE'} and open $self->{'FB'}, '+<', $self->{'FB_DEVICE'}) { } |
|
0 |
2 |
elsif (exists $ENV{'DISPLAY'} and -e $self->{'FB_DEVICE'}) { } |
2656
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
2753
|
0 |
0 |
if ($extra > 1) { } |
2754
|
0 |
0 |
if ($extra == 2) { } |
|
0 |
0 |
elsif ($extra == 3) { } |
|
0 |
0 |
elsif ($extra == 4) { } |
2803
|
0 |
0 |
if ($self->{'fscreeninfo'}{'id'} eq "") |
2806
|
0 |
0 |
if ($model ne '') { } |
2825
|
0 |
0 |
if not defined $self->{'fscreeninfo'}{'smem_len'} or $self->{'fscreeninfo'}{'smem_len'} <= 0 |
2832
|
0 |
0 |
if ($self->{'BITS'} == 32 and $self->{'vscreeninfo'}{'bitfields'}{'alpha'}{'length'} == 0) |
2841
|
0 |
0 |
if (defined $self->{'SIMULATED_X'}) |
2846
|
0 |
0 |
if (defined $self->{'SIMULATED_Y'}) |
2866
|
0 |
0 |
if ($@) |
2892
|
0 |
0 |
&Graphics::Framebuffer::sleep($self->{'RESET'}) ? : |
2907
|
0 |
0 |
&Graphics::Framebuffer::sleep($self->{'RESET'}) ? : |
2925
|
0 |
2 |
if ($self->{'COLOR_ORDER'} == 2) { } |
|
2 |
0 |
elsif ($self->{'COLOR_ORDER'} == 0) { } |
|
0 |
0 |
elsif ($self->{'COLOR_ORDER'} == 3) { } |
|
0 |
0 |
elsif ($self->{'COLOR_ORDER'} == 1) { } |
|
0 |
0 |
elsif ($self->{'COLOR_ORDER'} == 5) { } |
|
0 |
0 |
elsif ($self->{'COLOR_ORDER'} == 4) { } |
2968
|
2 |
0 |
if not defined $self->{'fscreeninfo'}{'smem_len'} or $self->{'fscreeninfo'}{'smem_len'} <= 0 |
2975
|
0 |
2 |
if ($self->{'RESET'}) |
2981
|
0 |
16 |
if (exists $self->{'FONTS'}{$font}) |
2989
|
0 |
2 |
if ($self->{'SPLASH'} > 0) |
2994
|
0 |
2 |
if (wantarray) |
3008
|
0 |
0 |
unless (defined $self->{'FB'}) |
3027
|
0 |
0 |
if ($ro < $go and $go < $bo) { } |
|
0 |
0 |
elsif ($bo < $go and $go < $ro) { } |
|
0 |
0 |
elsif ($go < $ro and $ro < $bo) { } |
|
0 |
0 |
elsif ($go < $bo and $bo < $ro) { } |
|
0 |
0 |
elsif ($bo < $ro and $ro < $go) { } |
|
0 |
0 |
elsif ($ro < $bo and $bo < $go) { } |
3047
|
0 |
2 |
unless (defined $self->{'ERROR'}) |
3048
|
0 |
0 |
if defined $self->{'SCREEN'} |
3049
|
0 |
0 |
if defined $self->{'FB'} |
3115
|
0 |
1 |
if (wantarray) { } |
3192
|
0 |
0 |
if ($filter) |
3194
|
0 |
0 |
if ($font =~ /$filter/i) |
3198
|
0 |
0 |
if (defined $fonts and scalar @{$fonts;} == 1) { } |
3276
|
0 |
0 |
if (@_) { } |
3279
|
0 |
0 |
$mode <= 10 && $mode >= 0 ? : |
3493
|
3 |
0 |
unless ($self->{'DEVICE'} eq "EMULATED") |
3494
|
1 |
2 |
if ($cursor =~ /off/i) { } |
|
1 |
1 |
elsif ($cursor =~ /on/i) { } |
3502
|
0 |
3 |
if ($self->{'CLIPPED'}) { } |
3574
|
0 |
0 |
if (abs $size > 1) { } |
|
0 |
0 |
elsif ($self->{'ACCELERATED'}) { } |
3575
|
0 |
0 |
if ($size < -1) { } |
3597
|
0 |
0 |
unless ($x > $self->{'XX_CLIP'} or $y > $self->{'YY_CLIP'} or $x < $self->{'X_CLIP'} or $y < $self->{'Y_CLIP'}) |
3600
|
0 |
0 |
unless (exists $self->{'history'} and defined $self->{'history'}{$y}{$x}) |
3602
|
0 |
0 |
if ($index >= 0 and $index <= $self->{'fscreeninfo'}{'smem_len'} - $self->{'BYTES'}) |
3605
|
0 |
0 |
if ($self->{'DRAW_MODE'} == 0) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 1) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 2) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 6) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 3) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 7) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 8) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 9) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 10) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 4) { } |
|
0 |
0 |
elsif ($self->{'DRAW_MODE'} == 5) { } |
3636
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
3637
|
0 |
0 |
if substr($self->{'RAW_FOREGROUND_COLOR'}, 0, 3) ne substr($self->{'RAW_BACKGROUND_COLOR'}, 0, 3) |
3639
|
0 |
0 |
if $self->{'RAW_FOREGROUND_COLOR'} ne $self->{'RAW_BACKGROUND_COLOR'} |
3644
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
3645
|
0 |
0 |
if substr($raw, 0, 3) eq substr($self->{'RAW_BACKGROUND_COLOR'}, 0, 3) |
3647
|
0 |
0 |
if $raw eq $self->{'RAW_BACKGROUND_COLOR'} |
3653
|
0 |
0 |
if $error and $self->{'SHOW_ERRORS'} |
3654
|
0 |
0 |
if $error |
3656
|
0 |
0 |
if exists $self->{'history'} |
3707
|
0 |
0 |
unless ($x > $self->{'XX_CLIP'} or $y > $self->{'YY_CLIP'} or $x < $self->{'X_CLIP'} or $y < $self->{'Y_CLIP'}) |
3712
|
0 |
0 |
if exists $params->{'raw'} |
3716
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
3717
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
3731
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
3747
|
0 |
0 |
$self->{'vscreeninfo'}{'bitfields'}{'blue'}{'length'} < 6 ? : |
3748
|
0 |
0 |
$self->{'vscreeninfo'}{'bitfields'}{'green'}{'length'} < 6 ? : |
3749
|
0 |
0 |
$self->{'vscreeninfo'}{'bitfields'}{'red'}{'length'} < 6 ? : |
3803
|
0 |
0 |
if (wantarray) |
3866
|
0 |
0 |
if (defined $self->{'dp_cache'}[$index]) { } |
3913
|
0 |
0 |
if $antialiased |
3917
|
0 |
0 |
if ($self->{'ACCELERATED'} and $size == 1 and not $antialiased) { } |
3935
|
0 |
0 |
if ($start_x > $x_end) { } |
3940
|
0 |
0 |
if ($start_y > $y_end) { } |
3947
|
0 |
0 |
if ($x_end == $start_x and $y_end == $start_y) { } |
|
0 |
0 |
elsif ($x_end == $start_x) { } |
|
0 |
0 |
elsif ($y_end == $start_y) { } |
|
0 |
0 |
elsif ($antialiased) { } |
|
0 |
0 |
elsif ($width > $height) { } |
|
0 |
0 |
elsif ($width < $height) { } |
3952
|
0 |
0 |
if ($start_y > $y_end) { } |
3965
|
0 |
0 |
if ($size == 1) { } |
3966
|
0 |
0 |
if ($start_x > $x_end) { } |
3972
|
0 |
0 |
if ($start_x > $x_end) { } |
3982
|
0 |
0 |
if ($start_x < $x_end and $start_y < $y_end) { } |
|
0 |
0 |
elsif ($start_x > $x_end and $start_y < $y_end) { } |
|
0 |
0 |
elsif ($start_x < $x_end and $start_y > $y_end) { } |
|
0 |
0 |
elsif ($start_x > $x_end and $start_y > $y_end) { } |
4009
|
0 |
0 |
if ($start_x < $x_end and $start_y < $y_end) { } |
|
0 |
0 |
elsif ($start_x > $x_end and $start_y < $y_end) { } |
|
0 |
0 |
elsif ($start_x < $x_end and $start_y > $y_end) { } |
|
0 |
0 |
elsif ($start_x > $x_end and $start_y > $y_end) { } |
4035
|
0 |
0 |
if ($start_x < $x_end and $start_y < $y_end) { } |
|
0 |
0 |
elsif ($start_x > $x_end and $start_y < $y_end) { } |
|
0 |
0 |
elsif ($start_x < $x_end and $start_y > $y_end) { } |
|
0 |
0 |
elsif ($start_x > $x_end and $start_y > $y_end) { } |
4070
|
5 |
0 |
unless ($self->{'DEVICE'} eq "EMULATED") |
4101
|
0 |
0 |
if (abs $y1 - $y0 > abs $x1 - $x0) |
4106
|
0 |
0 |
if ($x0 > $x1) |
4130
|
0 |
0 |
if defined $intery |
4189
|
0 |
0 |
if $closed |
4193
|
0 |
0 |
if ($closed) { } |
4282
|
0 |
0 |
if $start_degrees < 0 |
4283
|
0 |
0 |
if $end_degrees < 0 |
4285
|
0 |
0 |
if ($self->{'ACCELERATED'} and $mode == 1) { } |
4292
|
0 |
0 |
if ($start_degrees > $end_degrees) |
4295
|
0 |
0 |
if (defined $self->{'dp_cache'}[$index]) { } |
4304
|
0 |
0 |
if ($sx <=> $ox or $sy <=> $oy) |
4305
|
0 |
0 |
if ($mode == 0) { } |
4306
|
0 |
0 |
if ($plotted) { } |
4313
|
0 |
0 |
if ($degrees == $start_degrees) { } |
4329
|
0 |
0 |
if (defined $self->{'dp_cache'}[$index]) { } |
4338
|
0 |
0 |
if ($sx <=> $ox or $sy <=> $oy) |
4339
|
0 |
0 |
if ($mode == 0) { } |
4340
|
0 |
0 |
if ($plotted) { } |
4347
|
0 |
0 |
if ($degrees == $start_degrees) { } |
4358
|
0 |
0 |
if ($mode != 0) |
4359
|
0 |
0 |
$mode == 1 ? : |
4388
|
0 |
0 |
unless ($self->{'DRAW_MODE'}) |
4389
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
4394
|
0 |
0 |
if $self->{'BITS'} == 16 |
4417
|
0 |
0 |
if (exists $params->{'hatch'}) { } |
|
0 |
0 |
elsif (exists $params->{'texture'}) { } |
|
0 |
0 |
elsif (exists $params->{'gradient'}) { } |
4426
|
0 |
0 |
if $self->{'BITS'} == 16 |
4446
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
4457
|
0 |
0 |
exists $params->{'gradient'}{'start'}{'alpha'} ? : |
4460
|
0 |
0 |
if $self->{'BITS'} == 16 |
4488
|
0 |
0 |
if $self->{'BITS'} == 16 |
4490
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
4492
|
0 |
0 |
if defined $draw_mode |
4704
|
0 |
0 |
if $XRadius < 1 |
4705
|
0 |
0 |
if $YRadius < 1 |
4710
|
0 |
0 |
if $filled |
4713
|
0 |
0 |
if ($fact == 0) |
4727
|
0 |
0 |
exists $self->{'history'} ? : |
4730
|
0 |
0 |
unless $history_on or not $filled or $size > 1 |
4737
|
0 |
0 |
if (exists $params->{'gradient'}) { } |
|
0 |
0 |
elsif (exists $params->{'texture'}) { } |
|
0 |
0 |
elsif (exists $params->{'hatch'}) { } |
4738
|
0 |
0 |
if (not $params->{'gradient'}{'direction'} =~ /vertical/i) { } |
4739
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
4749
|
0 |
0 |
exists $params->{'gradient'}{'start'}{'alpha'} ? : |
4758
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
4762
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}{'alpha'}) { } |
4771
|
0 |
0 |
if (exists $params->{'gradient'}{'start'}{'alpha'}) { } |
4796
|
0 |
0 |
if ($filled) { } |
4797
|
0 |
0 |
if ($cyy <=> $old_cyy) |
4798
|
0 |
0 |
if ($gradient == 2) { } |
4802
|
0 |
0 |
if ($gradient) |
4809
|
0 |
0 |
if ($cy_y <=> $old_cy_y and $cyy <=> $cy_y) |
4810
|
0 |
0 |
if ($gradient == 2) { } |
4814
|
0 |
0 |
if ($gradient) |
4824
|
0 |
0 |
if int $cyy <=> int $cy_y |
4825
|
0 |
0 |
if int $cyy <=> int $cy_y |
4831
|
0 |
0 |
if ($EllipseError * 2 + $XChange > 0) |
4853
|
0 |
0 |
if ($filled) { } |
4854
|
0 |
0 |
if ($cyy <=> $old_cyy) |
4855
|
0 |
0 |
if ($gradient == 2) { } |
4859
|
0 |
0 |
if ($gradient) |
4866
|
0 |
0 |
if ($cy_y <=> $old_cy_y and $cyy <=> $cy_y) |
4867
|
0 |
0 |
if ($gradient == 2) { } |
4871
|
0 |
0 |
if ($gradient) |
4880
|
0 |
0 |
if int $cxx <=> int $cx_x |
4881
|
0 |
0 |
if int $cxx <=> int $cx_x |
4888
|
0 |
0 |
if ($EllipseError * 2 + $YChange > 0) |
4895
|
0 |
0 |
if exists $self->{'history'} and not $history_on |
4950
|
0 |
0 |
defined $params->{'gradient'} ? : |
4958
|
0 |
0 |
if $x0 > $x1 |
4959
|
0 |
0 |
if $y0 > $y1 |
4977
|
0 |
0 |
if ($gradient) { } |
|
0 |
0 |
elsif (exists $params->{'texture'}) { } |
|
0 |
0 |
elsif (exists $params->{'hatch'}) { } |
4978
|
0 |
0 |
unless $x0 == $x1 and $y0 == $y1 |
4979
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
4990
|
0 |
0 |
exists $params->{'gradient'}{'start'}{'alpha'} ? : |
5013
|
0 |
0 |
if ($filled) { } |
5019
|
0 |
0 |
if ($gradient == 2) { } |
|
0 |
0 |
elsif ($gradient) { } |
5028
|
0 |
0 |
if ($ymy != $lymy and $ymy != $lymx and $ymy != $lypx and $ymy != $lypy) |
5035
|
0 |
0 |
if ($ymx != $lymx and $ymx != $lymy and $ymx != $lypx and $ymx != $lypy) |
5043
|
0 |
0 |
if ($ypy != $lypy and $ypy != $lypx and $ypy != $lymy and $ypy != $lymx) |
5050
|
0 |
0 |
if ($ypx != $lypx and $ypx != $lypy and $ypx != $lymx and $ypx != $lymy) |
5056
|
0 |
0 |
if ($ymy != $lymy and $ymy != $lymx and $ymy != $lypx and $ymy != $lypy) |
5061
|
0 |
0 |
if ($ymx != $lymx and $ymx != $lymy and $ymx != $lypx and $ymx != $lypy) |
5068
|
0 |
0 |
if ($ypy != $lypy and $ypy != $lypx and $ypy != $lymy and $ypy != $lymx) |
5073
|
0 |
0 |
if ($ypx != $lypx and $ypx != $lypy and $ypx != $lymx and $ypx != $lymy) |
5080
|
0 |
0 |
if ($ymy != $lymy and $ymy != $lymx and $ymy != $lypx and $ymy != $lypy) |
5084
|
0 |
0 |
if ($ymx != $lymx and $ymx != $lymy and $ymx != $lypx and $ymx != $lypy) |
5090
|
0 |
0 |
if ($ypy != $lypy and $ypy != $lypx and $ypy != $lymy and $ypy != $lymx) |
5094
|
0 |
0 |
if ($ypx != $lypx and $ypx != $lypy and $ypx != $lymx and $ypx != $lymy) |
5134
|
0 |
0 |
if ($decisionOver2 <= 0) { } |
5141
|
0 |
0 |
unless ($x0 == $x1 and $y0 == $y1) |
5142
|
0 |
0 |
if ($filled) { } |
5143
|
0 |
0 |
if ($gradient == 2) { } |
|
0 |
0 |
elsif ($gradient) { } |
5150
|
0 |
0 |
if $height and $width |
5237
|
0 |
0 |
if $aa |
5238
|
0 |
0 |
exists $self->{'history'} ? : |
5240
|
0 |
0 |
if ($params->{'filled'}) { } |
5243
|
0 |
0 |
unless $history_on |
5252
|
0 |
0 |
if $self->{'DRAW_MODE'} == 1 |
5253
|
0 |
0 |
unless $history_on |
5269
|
0 |
0 |
if ($params->{'coordinates'}[$ip] < $y && $params->{'coordinates'}[$jp] >= $y || $params->{'coordinates'}[$jp] < $y && $params->{'coordinates'}[$ip] >= $y and $params->{'coordinates'}[$i] <= $x || $params->{'coordinates'}[$j] <= $x) |
5300
|
0 |
0 |
if (exists $params->{'gradient'}) { } |
|
0 |
0 |
elsif (exists $params->{'texture'}) { } |
5302
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
5313
|
0 |
0 |
exists $params->{'gradient'}{'start'}{'alpha'} ? : |
5323
|
0 |
0 |
unless ($self->{'DRAW_MODE'}) |
5324
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
5328
|
0 |
0 |
if $self->{'BITS'} == 16 |
5341
|
0 |
0 |
if (exists $saved->{'image'} and defined $saved->{'image'}) |
5354
|
0 |
0 |
if (defined $pattern) { } |
|
0 |
0 |
elsif (exists $params->{'hatch'} and defined $params->{'hatch'}) { } |
5355
|
0 |
0 |
if $self->{'BITS'} == 16 |
5392
|
0 |
0 |
if $self->{'BITS'} == 16 |
5394
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
5408
|
0 |
0 |
if (ref $type eq 'HASH') { } |
|
0 |
0 |
elsif ($type =~ /vertical|horizontal/i) { } |
5409
|
0 |
0 |
if ($type->{'width'} != $width or $type->{'height'} != $height) { } |
5437
|
0 |
0 |
$type =~ /horizontal/i ? : |
5442
|
0 |
0 |
if ($self->{'BITS'} == 32) |
5443
|
0 |
0 |
if (exists $colors->{'alpha'}) { } |
5452
|
0 |
0 |
if $self->{'BITS'} == 32 |
5453
|
0 |
0 |
if ($type =~ /horizontal/i) { } |
|
0 |
0 |
elsif ($type =~ /vertical/i) { } |
5456
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
5481
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
5504
|
0 |
0 |
if ($width and $height) |
5543
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
5544
|
0 |
0 |
if $self->{'BITS'} == 16 |
5600
|
0 |
0 |
if $filled |
5606
|
0 |
0 |
if ($x > $xx) |
5609
|
0 |
0 |
if ($y > $yy) |
5616
|
0 |
0 |
if ($radius) { } |
|
0 |
0 |
elsif ($filled) { } |
5618
|
0 |
0 |
if $hc < $radius |
5619
|
0 |
0 |
if $vc < $radius |
5643
|
0 |
0 |
if (exists $params->{'gradient'}) { } |
|
0 |
0 |
elsif (exists $params->{'texture'}) { } |
|
0 |
0 |
elsif (exists $params->{'hatch'}) { } |
5644
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
5655
|
0 |
0 |
exists $params->{'gradient'}{'start'}{'alpha'} ? : |
5748
|
2 |
2 |
$name eq 'RAW_FOREGROUND_COLOR' ? : |
5762
|
4 |
0 |
if ($self->{'BITS'} >= 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
5769
|
0 |
4 |
if $self->{'BITS'} == 24 |
5782
|
0 |
4 |
if ($color_order == 2) { } |
|
0 |
4 |
elsif ($color_order == 3) { } |
|
0 |
4 |
elsif ($color_order == 1) { } |
|
0 |
4 |
elsif ($color_order == 5) { } |
|
0 |
4 |
elsif ($color_order == 4) { } |
5793
|
2 |
2 |
if ($name eq 'RAW_FOREGROUND_COLOR') { } |
5794
|
2 |
0 |
$self->{'BITS'} == 32 ? : |
5796
|
2 |
0 |
$self->{'BITS'} == 32 ? : |
5871
|
0 |
0 |
if $back eq $self->{'RAW_FOREGROUND_COLOR'} |
5872
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
5882
|
0 |
0 |
if $x < $self->{'X_CLIP'} or $x > $self->{'XX_CLIP'} or $y < $self->{'Y_CLIP'} or $y > $self->{'YY_CLIP'} |
5883
|
0 |
0 |
unless (exists $visited{"$x,$y"}) |
5885
|
0 |
0 |
if ($pixel eq $background) |
5899
|
0 |
0 |
if (exists $params->{'gradient'}) { } |
|
0 |
0 |
elsif (exists $params->{'texture'}) { } |
|
0 |
0 |
elsif (exists $params->{'hatch'}) { } |
5901
|
0 |
0 |
if (exists $params->{'gradient'}{'colors'}) { } |
5912
|
0 |
0 |
exists $params->{'gradient'}{'start'}{'alpha'} ? : |
5929
|
0 |
0 |
if ($self->{'BITS'} == 16) |
5931
|
0 |
0 |
if defined $pattern |
5956
|
0 |
0 |
if (defined $pattern) { } |
5989
|
0 |
0 |
if $self->{'BITS'} == 16 |
5991
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
6031
|
0 |
0 |
if exists $params->{'old'}{'alpha'} |
6044
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
6045
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
6046
|
0 |
0 |
defined $old_a ? : |
6049
|
0 |
0 |
defined $old_a ? : |
6052
|
0 |
0 |
defined $old_a ? : |
6055
|
0 |
0 |
defined $old_a ? : |
6058
|
0 |
0 |
defined $old_a ? : |
6061
|
0 |
0 |
defined $old_a ? : |
6065
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
6179
|
0 |
0 |
exists $params->{'image'} ? : |
6225
|
0 |
0 |
if ($delay > 0) |
6264
|
0 |
0 |
if (scalar @_) |
6266
|
0 |
0 |
if ($set =~ /^\d+$/ and $set >= 0 and $set <= 2) { } |
|
0 |
0 |
elsif ($set =~ /english|string/i) { } |
6270
|
0 |
0 |
if ($self->{'ACCELERATED'} == $self->{$name}) |
6359
|
0 |
0 |
if $x < 0 |
6360
|
0 |
0 |
if $y < 0 |
6361
|
0 |
0 |
if $w > $clipw |
6362
|
0 |
0 |
if $h > $cliph |
6366
|
0 |
0 |
if ($h > 1 and $self->{'ACCELERATED'} == 1) { } |
6415
|
0 |
0 |
unless defined $pparams |
6418
|
0 |
0 |
unless defined $params |
6428
|
0 |
0 |
unless defined $params->{'image'} and $params->{'image'} ne "" and $h and $w |
6430
|
0 |
0 |
if ($self->{'ACCELERATED'} == 1) { } |
6462
|
0 |
0 |
if ($index >= 0 and $index <= $max and $idx >= 0 and $idx <= length($scrn) - $bytes) |
6463
|
0 |
0 |
if ($draw_mode == 0) { } |
|
0 |
0 |
elsif ($draw_mode == 1) { } |
|
0 |
0 |
elsif ($draw_mode == 2) { } |
|
0 |
0 |
elsif ($draw_mode == 7) { } |
|
0 |
0 |
elsif ($draw_mode == 8) { } |
|
0 |
0 |
elsif ($draw_mode == 9) { } |
|
0 |
0 |
elsif ($draw_mode == 10) { } |
|
0 |
0 |
elsif ($draw_mode == 6) { } |
|
0 |
0 |
elsif ($draw_mode == 3) { } |
|
0 |
0 |
elsif ($draw_mode == 4) { } |
|
0 |
0 |
elsif ($draw_mode == 5) { } |
6482
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
6491
|
0 |
0 |
if (substr($scrn, $idx + $px4, $bytes) ne $c) |
6504
|
0 |
0 |
if (substr($scrn, $idx + $px4, $bytes) ne $c) |
6520
|
0 |
0 |
if (substr($scrn, $idx + $px4, $bytes) ne $c) |
6532
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
6533
|
0 |
0 |
if (substr($scrn, $idx + $px4, 3) ne substr($self->{'RAW_BACKGROUND_COLOR'}, 0, 3)) |
6537
|
0 |
0 |
if (substr($scrn, $idx + $px4, 3) ne $self->{'RAW_BACKGROUND_COLOR'}) |
6541
|
0 |
0 |
if (substr($scrn, $idx + $px4, 2) ne $self->{'RAW_BACKGROUND_COLOR'}) |
6551
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 16) { } |
6552
|
0 |
0 |
if (substr($self->{'SCREEN'}, $ipx, 3) eq substr($self->{'RAW_BACKGROUND_COLOR'}, 0, 3)) |
6556
|
0 |
0 |
if (substr($self->{'SCREEN'}, $ipx, 3) eq $self->{'RAW_BACKGROUND_COLOR'}) |
6560
|
0 |
0 |
if (substr($self->{'SCREEN'}, $ipx, 2) eq $self->{'RAW_BACKGROUND_COLOR'}) |
6570
|
0 |
0 |
if ($@) |
6571
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
6596
|
0 |
0 |
if $YY < $yclip or $params->{'height'} < 1 or $XX < $xclip or $params->{'x'} > $xxclip |
6597
|
0 |
0 |
if ($params->{'y'} < $yclip) |
6603
|
0 |
0 |
if $params->{'height'} < 1 |
6604
|
0 |
0 |
if ($YY > $yyclip) |
6610
|
0 |
0 |
if ($params->{'x'} < $xclip) |
6623
|
0 |
0 |
if ($XX > $xxclip) |
6635
|
0 |
0 |
if (length $params->{'image'} < $size) { } |
|
0 |
0 |
elsif (length $params->{'image'} > $size) { } |
6754
|
0 |
0 |
if (exists $params->{'merge'}) |
6755
|
0 |
0 |
if $self->{'BITS'} == 16 |
6794
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
6796
|
0 |
0 |
if $self->{'BITS'} == 16 |
6807
|
0 |
0 |
if (exists $params->{'flip'}) { } |
|
0 |
0 |
elsif (exists $params->{'rotate'}) { } |
|
0 |
0 |
elsif (exists $params->{'scale'}) { } |
|
0 |
0 |
elsif (exists $params->{'monochrome'}) { } |
|
0 |
0 |
elsif (exists $params->{'center'}) { } |
6810
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
6812
|
0 |
0 |
if (lc $params->{'flip'} eq 'vertical') { } |
|
0 |
0 |
elsif (lc $params->{'flip'} eq 'horizontal') { } |
|
0 |
0 |
elsif (lc $params->{'flip'} eq 'both') { } |
6820
|
0 |
0 |
if (lc $params->{'flip'} eq 'vertical') { } |
|
0 |
0 |
elsif (lc $params->{'flip'} eq 'horizontal') { } |
6846
|
0 |
0 |
if ($degrees > 360) { } |
6852
|
0 |
0 |
if abs $degrees == 360 or $degrees == 0 |
6853
|
0 |
0 |
if ($params->{'rotate'}{'quality'} eq 'high' or $self->{'ACCELERATED'} == 0) { } |
6854
|
0 |
0 |
if (abs $degrees == 180) { } |
6886
|
0 |
0 |
if $self->{'BITS'} == 16 |
6898
|
0 |
0 |
if (abs $degrees == 90 or abs $degrees == 180 or abs $degrees == 270) { } |
6912
|
0 |
0 |
if $self->{'BITS'} == 16 |
6914
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
6926
|
0 |
0 |
if $self->{'BITS'} == 16 |
6941
|
0 |
0 |
if $self->{'BITS'} == 32 |
6958
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
6959
|
0 |
0 |
if $self->{'BITS'} == 16 |
6975
|
0 |
0 |
if ($params->{'center'} == 1 or $params->{'center'} == 3) |
6978
|
0 |
0 |
if ($params->{'center'} == 2 or $params->{'center'} == 3) |
7055
|
0 |
0 |
if $self->{'X_CLIP'} > $self->{'XRES'} - 1 |
7056
|
0 |
0 |
if $self->{'Y_CLIP'} > $self->{'YRES'} - 1 |
7057
|
0 |
0 |
if $self->{'XX_CLIP'} >= $self->{'XRES'} |
7058
|
0 |
0 |
if $self->{'YY_CLIP'} >= $self->{'YRES'} |
7132
|
0 |
0 |
if ($params->{'bits'} == 32) { } |
|
0 |
0 |
elsif ($params->{'bits'} == 24) { } |
|
0 |
0 |
elsif ($params->{'bits'} == 16) { } |
7141
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
7146
|
0 |
0 |
if ($inc == 2) { } |
7148
|
0 |
0 |
if ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 2) { } |
7158
|
0 |
0 |
$go ? : |
|
0 |
0 |
$ro ? : |
|
0 |
0 |
$bo ? : |
7160
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
7252
|
2 |
2 |
unless defined $params |
7265
|
2 |
0 |
if exists $params->{'color'} |
7267
|
2 |
0 |
if exists $params->{'wscale'} and defined $params->{'wscale'} |
7276
|
2 |
0 |
if (defined $P_color) { } |
7277
|
0 |
2 |
if length $P_color < 8 |
7279
|
0 |
2 |
if ($color_order == 2) { } |
|
0 |
2 |
elsif ($color_order == 3) { } |
|
0 |
2 |
elsif ($color_order == 1) { } |
|
0 |
2 |
elsif ($color_order == 5) { } |
|
0 |
2 |
elsif ($color_order == 4) { } |
7299
|
2 |
0 |
unless (defined $font) |
7300
|
0 |
2 |
if $self->{'SHOW_ERRORS'} |
7303
|
0 |
0 |
if (defined $params->{'rotate'} and abs $params->{'rotate'} > 0 and abs($params->{'rotate'} < 360)) { } |
7315
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
7318
|
0 |
0 |
if ($@) |
7319
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
7326
|
0 |
0 |
if ($center_mode == 3) { } |
|
0 |
0 |
elsif ($center_mode == 1) { } |
|
0 |
0 |
elsif ($center_mode == 2) { } |
7335
|
0 |
0 |
if ($box_mode) |
7343
|
0 |
0 |
if ($TTF_pw <= 0 or $TTF_ph <= 0) |
7344
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
7353
|
0 |
0 |
unless ($self->{'DRAW_MODE'}) |
7354
|
0 |
0 |
if ($self->{'ACCELERATED'} and not $aa) { } |
7359
|
0 |
0 |
if $ty < 0 |
7361
|
0 |
0 |
if $self->{'BITS'} == 16 |
7390
|
0 |
0 |
if ($@) |
7391
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
7394
|
0 |
0 |
if $self->{'BITS'} == 16 |
7396
|
0 |
0 |
if defined $draw_mode |
7448
|
0 |
0 |
unless defined $params |
7459
|
0 |
0 |
if exists $params->{'color'} |
7472
|
0 |
0 |
if (defined $P_color) { } |
7473
|
0 |
0 |
if length $P_color < 8 |
7475
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
7494
|
0 |
0 |
unless (defined $font) |
7495
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
7508
|
0 |
0 |
unless ($self->{'DRAW_MODE'}) |
7509
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
7514
|
0 |
0 |
if $self->{'BITS'} == 16 |
7544
|
0 |
0 |
if ($@) |
7545
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
7548
|
0 |
0 |
if $self->{'BITS'} == 16 |
7550
|
0 |
0 |
if defined $draw_mode |
7564
|
0 |
0 |
if $file =~ /^\./ |
7565
|
0 |
0 |
if (-d "$path/$file") { } |
|
0 |
0 |
elsif (-f "$path/$file" and -s "$path/$file") { } |
7568
|
0 |
0 |
if ($file =~ /\.ttf$/i and $self->{'Imager-Has-TrueType'} || $self->{'Imager-Has-Freetype2'}) { } |
|
0 |
0 |
elsif ($file =~ /\.afb$/i and $self->{'Imager-Has-Type1'}) { } |
7596
|
0 |
0 |
if ($face->can("face_name")) |
7598
|
0 |
0 |
if ($face_name eq "") |
7745
|
0 |
0 |
if ($params->{'file'} =~ /\.(gif|png|apng)$/i) { } |
7754
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
7765
|
0 |
0 |
if $@ and $self->{'SHOW_ERRORS'} |
7768
|
0 |
0 |
if (defined $Img[0]) { } |
7769
|
0 |
0 |
if $self->{'SHOW_ERRORS'} |
7772
|
0 |
0 |
unless defined $img |
7776
|
0 |
0 |
unless (exists $params->{'gif_left'}) |
7777
|
0 |
0 |
if (defined $last_img) |
7785
|
0 |
0 |
unless defined $last_img |
7788
|
0 |
0 |
if (exists $tags{'exif_orientation'}) |
7790
|
0 |
0 |
if (defined $orientation and $orientation) |
7791
|
0 |
0 |
if ($orientation == 3) { } |
|
0 |
0 |
elsif ($orientation == 6) { } |
|
0 |
0 |
elsif ($orientation == 8) { } |
7803
|
0 |
0 |
if $params->{'autolevels'} |
7810
|
0 |
0 |
if ($channels == 1) |
7817
|
0 |
0 |
if ($params->{'file'} =~ /\.(gif|png)$/i and not exists $params->{'width'} and not exists $params->{'height'}) |
7822
|
0 |
0 |
if (defined $xs) { } |
7841
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
7852
|
0 |
0 |
if ($self->{'BITS'} == 32) { } |
|
0 |
0 |
elsif ($self->{'BITS'} == 24) { } |
7853
|
0 |
0 |
if $channels == 3 |
7863
|
0 |
0 |
if ($params->{'convertalpha'}) |
7869
|
0 |
0 |
if $channels == 4 |
7881
|
0 |
0 |
if $channels == 4 |
7894
|
0 |
0 |
if (exists $params->{'center'}) { } |
|
0 |
0 |
elsif (defined $params->{'x'} and defined $params->{'y'}) { } |
7895
|
0 |
0 |
if ($params->{'center'} == 1) { } |
|
0 |
0 |
elsif ($params->{'center'} == 2) { } |
|
0 |
0 |
elsif ($params->{'center'} == 3) { } |
7896
|
0 |
0 |
$w < $self->{'W_CLIP'} ? : |
7898
|
0 |
0 |
$h < $self->{'H_CLIP'} ? : |
7900
|
0 |
0 |
$w < $self->{'W_CLIP'} ? : |
7901
|
0 |
0 |
$h < $self->{'H_CLIP'} ? : |
7907
|
0 |
0 |
if ($w < $self->{'W_CLIP'}) { } |
|
0 |
0 |
elsif ($h < $self->{'H_CLIP'}) { } |
7938
|
0 |
0 |
if ($self->{'DIAGNOSTICS'}) |
7940
|
0 |
0 |
if $self->{'ACCELERATED'} |
7947
|
0 |
0 |
if (scalar @odata > 1) { } |
8020
|
0 |
0 |
if $self->{'BITS'} == 16 |
8043
|
0 |
0 |
if ($type eq 'jpeg') { } |
|
0 |
0 |
elsif ($type eq 'gif') { } |
8044
|
0 |
0 |
if exists $params->{'quality'} |
8063
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
8076
|
0 |
0 |
if ($color eq $black16) { } |
|
0 |
0 |
elsif ($color eq $white16) { } |
8152
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
8165
|
0 |
0 |
if ($color eq $black16) { } |
|
0 |
0 |
elsif ($color eq $white16) { } |
8187
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
8201
|
0 |
0 |
if ($color eq $black24) { } |
|
0 |
0 |
elsif ($color eq $white24) { } |
8223
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
8237
|
0 |
0 |
if ($color eq $black32) { } |
|
0 |
0 |
elsif ($color eq $white32) { } |
8259
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
8273
|
0 |
0 |
if ($color eq $black32) { } |
|
0 |
0 |
elsif ($color eq $white32) { } |
8295
|
0 |
0 |
if ($self->{'ACCELERATED'}) { } |
8309
|
0 |
0 |
if ($color eq $black24) { } |
|
0 |
0 |
elsif ($color eq $white24) { } |
8342
|
0 |
0 |
if ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
8372
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
8409
|
0 |
0 |
if ($color_order == 0) { } |
|
0 |
0 |
elsif ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
8439
|
0 |
0 |
if ($color_order == 2) { } |
|
0 |
0 |
elsif ($color_order == 3) { } |
|
0 |
0 |
elsif ($color_order == 1) { } |
|
0 |
0 |
elsif ($color_order == 5) { } |
|
0 |
0 |
elsif ($color_order == 4) { } |
8474
|
0 |
0 |
defined $params->{'color_order'} ? : |
8478
|
0 |
0 |
if ($big_data ne "") |
8481
|
0 |
0 |
if ($in_color_order == 2) { } |
|
0 |
0 |
elsif ($in_color_order == 0) { } |
|
0 |
0 |
elsif ($in_color_order == 3) { } |
|
0 |
0 |
elsif ($in_color_order == 1) { } |
|
0 |
0 |
elsif ($in_color_order == 5) { } |
|
0 |
0 |
elsif ($in_color_order == 4) { } |
8525
|
0 |
0 |
defined $params->{'color_order'} ? : |
8533
|
0 |
0 |
if ($in_color_order == 2) { } |
|
0 |
0 |
elsif ($in_color_order == 0) { } |
|
0 |
0 |
elsif ($in_color_order == 3) { } |
|
0 |
0 |
elsif ($in_color_order == 1) { } |
|
0 |
0 |
elsif ($in_color_order == 5) { } |
|
0 |
0 |
elsif ($in_color_order == 4) { } |
8580
|
0 |
0 |
exists $params->{'alpha'} ? : |
8665
|
0 |
0 |
if ($current == $original) |
8683
|
0 |
0 |
if (scalar @_) { } |
8684
|
0 |
0 |
(shift()) =~ /^(true|on|1|enable)$/i ? : |
8769
|
0 |
0 |
unless $bounds |
8771
|
0 |
0 |
if $x < $bounds->[0] |
8772
|
0 |
0 |
if $y < $bounds->[1] |
8773
|
0 |
0 |
if $x > $bounds->[2] |
8774
|
0 |
0 |
if $y > $bounds->[3] |
8804
|
0 |
0 |
if (defined $fb) { } |