Bug 28021 - Polygon doesn't draw via Graphics2D
Summary: Polygon doesn't draw via Graphics2D
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 21:59 UTC by david.gilbert
Modified: 2006-12-01 16:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Small test application (363 bytes, text/x-java)
2006-06-13 22:03 UTC, david.gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david.gilbert 2006-06-13 21:59:42 UTC
I noticed in an application that uses JFreeChart that Polygon instances aren't drawing correctly via Graphics2D.  I will attach a small demo application that I've used to reproduce the problem (with JamVM and the latest GNU Classpath code from CVS).
Comment 1 david.gilbert 2006-06-13 22:03:55 UTC
Created attachment 11664 [details]
Small test application

Small test application to reproduce the problem.  Running this should create an image file (PolygonTest.png) containing a small red triangle.  For me, it creates an image file with no content.
Comment 2 Sven de Marothy 2006-06-18 04:11:26 UTC
It seems to draw the polygon correctly on-screen, I'm just not sure it draws correctly to the bufferedimage.
Comment 3 Francis Kung 2006-12-01 16:23:53 UTC
works now