Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [gef-issues] [Issue 345] New - Update Figs to use Graphics2D drawing

gef
Discussion topic

Hide all messages in topic

All messages in topic

[gef-issues] [Issue 345] Update Figs to use Graphics2D drawing

Reply

Author tfmorris
Full name Tom Morris
Date 2009-06-28 15:14:58 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=345






------- Additional comments from tfmorris at tigris dot org Sun Jun 28 15:14:58 -0700 2009 -------
The patch as supplied by me wasn't ready for production use. See the comments
above re: "beginnings" "very rough" "needs of work"

[gef-issues] [Issue 345] Update Figs to use Graphics2D drawing

Reply

Author bobtarling
Full name Bob Tarling
Date 2009-06-28 14:45:23 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=345






------- Additional comments from bobtarling at tigris dot org Sun Jun 28 14:45:22 -0700 2009 -------
I discovered some problems when adding the latest GEF to ArgoUML.
Some of the ArgoUML figs failed to draw properly.

Fro now I've commented out some of the new Graphics2D usage until the cause can be
determined.

See the TODO comments in the paint methods of Fig and FigLine for more details.

[gef-issues] [Issue 345] Update Figs to use Graphics2D drawing

Reply

Author bobtarling
Full name Bob Tarling
Date 2009-03-27 16:37:22 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=345






------- Additional comments from bobtarling at tigris dot org Fri Mar 27 16:37:22 -0700 2009 -------
I found where to fix this myself in Fig. It would be nice to expand on this so
that client applications can define and provide their own filling strategy.

[gef-issues] [Issue 345] Update Figs to use Graphics2D drawing

Reply

Author bobtarling
Full name Bob Tarling
Date 2009-03-27 14:52:26 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=345






------- Additional comments from bobtarling at tigris dot org Fri Mar 27 14:52:25 -0700 2009 -------
Patch committed (with tabs changed to spaces).

The graduated shade effect around FigGroups is nice. Its something I hope can be
made use of in ArgoUML. But can this be turned off by default so that we have no
change unless by design of the client app.

[gef-issues] [Issue 345] Update Figs to use Graphics2D drawing

Reply

Author tfmorris
Full name Tom Morris
Date 2009-03-19 15:02:14 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=345






------- Additional comments from tfmorris at tigris dot org Thu Mar 19 15:02:14 -0700 2009 -------
Created an attachment (id=74)
Very rough! Needs lots of work, but it's a start...

[gef-issues] [Issue 345] New - Update Figs to use Graphics2D drawing

Reply

Author tfmorris
Full name Tom Morris
Date 2009-03-19 15:01:14 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=345
                 Issue #|345
                 Summary|Update Figs to use Graphics2D drawing
               Component|gef
                 Version|0.10.4
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|core
             Assigned to|issues@gef
             Reported by|tfmorris






------- Additional comments from tfmorris at tigris dot org Thu Mar 19 15:01:14 -0700 2009 -------
Most of the built-in Figs use they very primitive Java Graphics API which don't support
anti-aliasing, line widths, stroke styles, transparency, and a host of other modern features
which were introduced with the Java 1.2 Graphics2D library in 1998.

All drawing should be done using the Graphics2D API for any devices that support it.

I'll attach a patch with the beginnings of some support.
Messages per page: