2006/12/13, Shipilov, Alexander D <[EMAIL PROTECTED]>:
>Why do you need Area here? You can use Rectangle alone. Yes I can. I can also use setClip without even Rectangle: setClip(10, 10, 2, 10); But I did it for 1:1 correspondence with original test :)
MultiRectArea does not have any connection with Area. Except of Shape interface :)
SY, Alexey
>-----Original Message----- >From: Alexey Petrenko [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 13, 2006 5:05 PM >To: [email protected] >Subject: Re: [classlib][awt] clipping area > >2006/12/13, Shipilov, Alexander D <[EMAIL PROTECTED]>: >> >I think that it is better to use java.awt.Rectangle here. >> >Please add your modified test case with the results to JIRA. >> Sure, it is :). I meant that I used it both: >> Area area = new Area(new Rectangle(10, 10, 2, 10)); >Why do you need Area here? You can use Rectangle alone. > >SY, Alexey > >> >-----Original Message----- >> >From: Alexey Petrenko [mailto:[EMAIL PROTECTED] >> >Sent: Wednesday, December 13, 2006 4:57 PM >> >To: [email protected] >> >Subject: Re: [classlib][awt] clipping area >> > >> >2006/12/13, Shipilov, Alexander D <[EMAIL PROTECTED]>: >> >> Thank you, it is very appropriate action! >> >> So, if we change MultiRectArea for a class Area from public API, >> Harmony >> >> works the same as RI. >> >I think that it is better to use java.awt.Rectangle here. >> >Please add your modified testcase with the results to JIRA. >> > >> >> Is that means that bug >> http://issues.apache.org/jira/browse/HARMONY-2032 >> >> is incorrect and we should close it? >> >If it is not reproducible with public API this bug is incorrect, IMHO. >> > >> >SY, Alexey >> > >> >> >-----Original Message----- >> >> >From: Alexey Petrenko [mailto:[EMAIL PROTECTED] >> >> >Sent: Wednesday, December 13, 2006 4:13 PM >> >> >To: [email protected] >> >> >Subject: Re: [classlib][awt] clipping area >> >> > >> >> >Test case from this issue uses Harmony specific class >> >> >org.apache.harmony.awt.gl.MultiRectArea. I'm not sure how it was >> >> >integrated to RI and does it work ok on RI. >> >> > >> >> >I think that first of all this test should be modified to use only >> >> public >> >> >API. >> >> > >> >> >SY, Alexey >> >> >>
