GoogleCodeArchive / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

PArea, a wrapper for java.awt.geom.Area to allow Constructive Area Geometry (CAG) operations #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be desirable to have a node wrapper for java.awt.geom.Area to
allow Constructive Area Geometry (CAG) operations, such as area addition,
subtraction, intersection, and exclusive or.

Original issue reported on code.google.com by heue...@gmail.com on 15 Dec 2009 at 8:36

GoogleCodeExporter commented 9 years ago
Assigning to myself.

Original comment by heue...@gmail.com on 9 Apr 2010 at 9:22

GoogleCodeExporter commented 9 years ago
Attaching draft implementation for review.  See also issue 152.

Original comment by heue...@gmail.com on 23 Jun 2010 at 8:13

Attachments:

GoogleCodeExporter commented 9 years ago
concerning jdk 1.5 compatibility see also issue#152

Original comment by mr0...@mro.name on 21 Jul 2010 at 10:49

GoogleCodeExporter commented 9 years ago
Depends on PShape abstract class introduced for Issue 152.

Original comment by heue...@gmail.com on 3 Aug 2010 at 8:53

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 3 Aug 2010 at 8:54

GoogleCodeExporter commented 9 years ago
The visual fidelity of PAreas created using CAG operations is poor.  Not sure 
if this is due to Shape drawing in Piccolo2D of if the geometry of the 
underlying Areas are at fault.

See attached screenshot created with JDK 1.6 on Windows.  The white area nodes 
should closely overlap the colored shapes below, since they were created using 
CAG from the same ellipses.

App is in svn trunk at

http://dishevelled.svn.sourceforge.net/viewvc/dishevelled/trunk/piccolo-venn-exa
mples/

Requires several other dependencies hosted at dishevelled.org and the 
ppath-refactoring branch of Piccolo2D.

Original comment by heue...@gmail.com on 9 Aug 2010 at 5:35

Attachments:

GoogleCodeExporter commented 9 years ago
The problem must be with Piccolo2D.  See attached Java2D-only example and 
output images.

Original comment by heue...@gmail.com on 9 Aug 2010 at 9:57

Attachments:

GoogleCodeExporter commented 9 years ago
Problem fixed,

$ svn commit -m "fix for area shape fidelity problems, see Issue 152 comment 6" 
.
Sending        core/src/main/java/org/piccolo2d/nodes/PShape.java
Transmitting file data .
Committed revision 1044.

Original comment by heue...@gmail.com on 12 Aug 2010 at 9:40

GoogleCodeExporter commented 9 years ago
Created a separate issue 190 to track jdk 1.6 changes to core.

In the meantime, I would like to create a separate module on trunk called jdk16 
that will contain the code from the ppath-refactoring branch in a new package

org.piccolo2d.nodes.jdk16

Original comment by heue...@gmail.com on 24 Aug 2010 at 2:22

GoogleCodeExporter commented 9 years ago
$ svn commit -m "Issue 152, Issue 153 ; merging ppath-refactoring branch to 
trunk, into new modules jdk16 and jdk16-examples" .
...
Transmitting file data ................
Committed revision 1054.

Please review.

Original comment by heue...@gmail.com on 27 Aug 2010 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 27 Aug 2010 at 4:06

GoogleCodeExporter commented 9 years ago
No news is good news, marking as Fixed.

Original comment by heue...@gmail.com on 22 Dec 2010 at 1:57

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 26 Nov 2013 at 8:47