[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: [OpenJDK 2D-Dev] Question about RectangularShape.getBounds() behaviour
From: linuxhippy () gmail ! com (Clemens Eisserer)
Date: 2009-05-22 17:46:55
Message-ID: 194f62550905221046xb897cc3y4256537ca39c10c6 () mail ! gmail ! com
[Download RAW message or body]
Sorry, I should think before pressing send next time :-/
2009/5/22 Clemens Eisserer <linuxhippy at gmail.com>:
> Hi,
>
> I just noticed
>> new Rectangle2D.Double(-19.9, 1, 20, 1).getBounds();
> returns
> java.awt.Rectangle[x=-20,y=1,width=21,height=1]
>
> Is this behaviour intended?
> Wouldn't -20 / 20 be large enough?
>
> Thanks, Clemens
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic