[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: [OpenJDK 2D-Dev] Question about Bug ID: 6729351
From: linuxhippy () gmail ! com (Clemens Eisserer)
Date: 2008-11-18 15:51:35
Message-ID: 194f62550811180751v133899aeh9b420371f16f2f09 () mail ! gmail ! com
[Download RAW message or body]
Hi,
Some months ago I filed a bug that filling small RoundRectangle2Ds
sometimes does not give round corners:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6729351
For example:
> RoundRectangle2D.Float rect = new RoundRectangle2D.Float(10, 10, 20, 20, 5, 5);
> g2d.fill(rect);
Gives: http://picasaweb.google.com/linuxhippy/RoundRect#5270021310445748898
The evaluation said:
> The behaviour of fill operation was changed within the fix of
> 4151279 to match draw operation with the same shape.
However fill and draw do not match in that case either:
http://picasaweb.google.com/linuxhippy/RoundRect#5270025203431615762
So although I think the evaluation is correct, I am just curious whats
the cause of such degenerated RoundRectangles?
If I set STROKE_PURE the fill is fine, but draw looks "ugly" ;)
Another strange behaviour I saw is that RoundRects are drawn
differently, when an argb-color is used:
http://picasaweb.google.com/linuxhippy/RoundRect#5270025209337038738
I suppose that shouldn't happen?
lg Clenebs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic