[OpenJDK 2D-Dev] <AWT Dev> Question: Area changes order of points
Hruda, Steve
steve.hruda at hexagongeospatial.com
Tue Oct 6 06:30:53 UTC 2015
Hi Sergey,
thanks for the hint, I moved the topic. ;-)
Regards,
Steve
Diese E-Mail wurde versandt im Auftrag des Unternehmens Intergraph Ges.m.b.H.
Vertretungsberechtigte Geschäftsführer: Maximilian Weber
Sitz der Gesellschaft: Margaretenstraße 70/I/1, 1050 Wien, Österreich, Tel. +43 (1) 9610567-0
Eingetragen beim Handelsgericht Wien, Firmenbuch-Nr.: FN 116859 b
Umsatzsteuer-Identifikationsnummer / VAT-ID: ATU15138401, Steuer-Nummer: 264/4807
This E-Mail has been sent on behalf of the company Intergraph Ges.m.b.H.
Authorised Managing Directors: Maximilian Weber
Registered office and Austrian headquarters: Margaretenstr. 70/I/1, 1050 Wien, Austria, Tel. +43 (1) 9610567-0
The company is recorded at the commercial court of Vienna under the company register number FN 116859 b
VAT-ID: ATU15138401, Austrian Tax ID: 264/4807
Diese E-Mail (mit zugehörigen Dateien) enthält möglicherweise Informationen, die vertraulich sind, dem Urheberrecht unterliegen oder ein Geschäftsgeheimnis darstellen. Falls Sie diese Nachricht irrtümlicherweise erhalten haben, benachrichtigen Sie uns bitte umgehend, indem Sie eine Antwort senden, und löschen Sie bitte diese E-Mail und Ihre Antwort darauf. Sämtliche aufgeführten Ansichten oder Meinungen sind ausschließlich diejenigen des Autors und entsprechen nicht notwendigerweise denen des Unternehmens Intergraph.
This E-Mail (and any attachments) may be confidential and protected by legal privilege. If you are not the intended recipient please notify us immediately by replying to the sender and delete this E-Mail and your reply from your system. All the views and opinions published here are solely based on the author's own opinion and should not be considered necessarily as reflecting the opinion of Intergraph.
-----Original Message-----
From: Sergey Bylokhov [mailto:Sergey.Bylokhov at oracle.com]
Sent: Monday, October 5, 2015 5:20 PM
To: Hruda, Steve <steve.hruda at hexagongeospatial.com>; 2d-dev <2d-dev at openjdk.java.net>
Subject: Re: <AWT Dev> Question: Area changes order of points
Hello,
I think this question is related to java2d, correct alias cc.
On 24.09.15 12:53, Hruda, Steve wrote:
> I use the java.awt.geom.Area class to clip a shape. Today I noticed
> that new Area(Shape) changes the orientation of the shape, so that I
> get the points of the Area counter-clockwise in every case.
>
> The following test shows you my problem.
>
> https://drive.google.com/file/d/0B7P_rknS1TWxVGJ6a3hBaElBTk0/view?usp=
> sharing
>
> Is this a bug or do I something wrong?
>
> Is there a trick to get the points in the correct order?
--
Best regards, Sergey.
More information about the 2d-dev
mailing list