harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-4737) [classlib][awt] The oval is drawn shifted when the line width is less or equal to 1
Date Wed, 05 Sep 2007 03:28:44 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko resolved HARMONY-4737.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][awt] The oval is drawn shifted when the line width is less or equal to 1
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4737
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4737
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>            Assignee: Alexey Petrenko
>         Attachments: DrawOval.patch
>
>
> The reproducer is below:
> import java.awt.Frame;
> import java.awt.Graphics;
> import java.awt.Graphics2D;
> import java.awt.event.WindowAdapter;
> import java.awt.event.WindowEvent;
> public class DrawOvalTest {
>     public static void main(String[] args) {
>         Frame f = new Frame() {
>             public void paint(Graphics g) {
>                 Graphics2D g2d = (Graphics2D) g;
>                 g2d.drawOval(100,100,20,20);
>                 g2d.drawRect(100,100,20,20);
>             }
>         };
>         f.setBounds(0, 0, 800, 600);
>         f.setVisible(true);
>         f.addWindowListener(new WindowAdapter() {
>             public void windowClosing(WindowEvent ev) {
>                 System.exit(0);
>             }
>         });
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message