Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 54089 invoked from network); 7 Dec 2007 11:00:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 11:00:06 -0000 Received: (qmail 90496 invoked by uid 500); 7 Dec 2007 10:59:54 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 90475 invoked by uid 500); 7 Dec 2007 10:59:54 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 90466 invoked by uid 99); 7 Dec 2007 10:59:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 02:59:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 11:00:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 05AF6714256 for ; Fri, 7 Dec 2007 02:59:43 -0800 (PST) Message-ID: <6979455.1197025183020.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 02:59:43 -0800 (PST) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-5271) [classlib][awt] Graphics drawArc & drawOval methods work incorretly in XORMode In-Reply-To: <19385004.1197021582993.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko reassigned HARMONY-5271: ---------------------------------------- Assignee: Alexey Petrenko > [classlib][awt] Graphics drawArc & drawOval methods work incorretly in XORMode > ------------------------------------------------------------------------------ > > Key: HARMONY-5271 > URL: https://issues.apache.org/jira/browse/HARMONY-5271 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Linux > Reporter: Igor V. Stolyarov > Assignee: Alexey Petrenko > Attachments: H-5271.patch, Harmony.PNG, RI.PNG > > > 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){ > int w = getWidth(); > int h = getHeight(); > g.setColor(Color.green); > g.fillRect(0, 0, w, h); > g.setColor(Color.red); > g.setXORMode(Color.blue); > g.drawArc(w/4, h/4, w/2, h/2, 45, 270); > } > }); > test.setVisible(true); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.