harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shipilov, Alexander D" <alexander.d.shipi...@intel.com>
Subject RE: [classlib][awt] clipping area
Date Wed, 13 Dec 2006 15:07:08 GMT
>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 :)

Thanks,
Alexander Shipilov

>-----Original Message-----
>From: Alexey Petrenko [mailto:alexey.a.petrenko@gmail.com]
>Sent: Wednesday, December 13, 2006 5:05 PM
>To: dev@harmony.apache.org
>Subject: Re: [classlib][awt] clipping area
>
>2006/12/13, Shipilov, Alexander D <alexander.d.shipilov@intel.com>:
>> >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:alexey.a.petrenko@gmail.com]
>> >Sent: Wednesday, December 13, 2006 4:57 PM
>> >To: dev@harmony.apache.org
>> >Subject: Re: [classlib][awt] clipping area
>> >
>> >2006/12/13, Shipilov, Alexander D <alexander.d.shipilov@intel.com>:
>> >> 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:alexey.a.petrenko@gmail.com]
>> >> >Sent: Wednesday, December 13, 2006 4:13 PM
>> >> >To: dev@harmony.apache.org
>> >> >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
>> >>
>>

Mime
View raw message