]> git.imager.perl.org - imager.git/commitdiff
remove unused code
authorTony Cook <tony@develop=help.com>
Tue, 29 Nov 2005 09:41:33 +0000 (09:41 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 29 Nov 2005 09:41:33 +0000 (09:41 +0000)
Imager.pm

index 1b5e036188b369905fa52775208bc8f0d2381845..a23d8882202b77fc8543452def9018ba47be03ef 100644 (file)
--- a/Imager.pm
+++ b/Imager.pm
@@ -2141,14 +2141,8 @@ sub arc {
        $self->{ERRSTR} = $Imager::ERRSTR; 
        return; 
       }
-      if ($opts{d1} == 0 && $opts{d2} == 361 && $opts{aa}) {
-       i_circle_aa($self->{IMG}, $opts{'x'}, $opts{'y'}, $opts{'r'}, 
-                   $color);
-      }
-      else {
-       i_arc($self->{IMG},$opts{'x'},$opts{'y'},$opts{'r'},
-             $opts{'d1'}, $opts{'d2'}, $color); 
-      }
+      i_arc($self->{IMG},$opts{'x'},$opts{'y'},$opts{'r'},
+           $opts{'d1'}, $opts{'d2'}, $color); 
     }
   }