Description
Graphics drawArc & drawOval methods work incorretly in XORMode
Simple reproducer:
import java.io.*;
import java.awt.*;
import java.awt.image.*;
import javax.swing.*;
public class DrawArcTest extends JFrame {
public static void main(String[] args){
final DrawArcTest test = new DrawArcTest();
test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
test.setSize(200, 200);
test.add(new Panel(){
public void paint(Graphics g)
});
test.setVisible(true);
}
}