Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » fillPath() in ScaledGraphics
fillPath() in ScaledGraphics [message #243312] Sun, 01 June 2008 09:53 Go to next message
Eclipse User
Originally posted by: andreas-scharf.gmx.de

Hi!

I'm playing around with GEF in conjunction with Batik. I wrote an adapter
(similiar to the one which exists in GMF) which adapts
an AWT Graphics to a draw2d graphics. The problem now is as follows: If I am
at zoom level 100% (e.g. in the logic example)
everything works fine - I can resize my figure which in reality is an svg.
But if I know switch the zoom to 75% (or 150% for instance)
I don't get an SWTGraphics but an ScaledGraphics to draw on in my figure.
Should be ok but if batik now calls fillPath(), I get an
exception because fillPath() is not implemented in ScaledGraphics. Is there
any reason why?

Cheers,
Andreas
Re: fillPath() in ScaledGraphics [message #243390 is a reply to message #243312] Wed, 04 June 2008 11:33 Go to previous message
Anthony Hunter is currently offline Anthony Hunter
Messages: 446
Registered: July 2009
Senior Member
Hi Andreas,

The exception simply indicates that this support is not implemented in the
ScaledGraphics in GEF. I would raise an enhancement request in Bugzilla.

Cheers...
Anthony

"Andreas Scharf" <andreas-scharf@gmx.de> wrote in message
news:g1u9jn$c7o$1@build.eclipse.org...
> Hi!
>
> I'm playing around with GEF in conjunction with Batik. I wrote an adapter
> (similiar to the one which exists in GMF) which adapts
> an AWT Graphics to a draw2d graphics. The problem now is as follows: If I
> am at zoom level 100% (e.g. in the logic example)
> everything works fine - I can resize my figure which in reality is an svg.
> But if I know switch the zoom to 75% (or 150% for instance)
> I don't get an SWTGraphics but an ScaledGraphics to draw on in my figure.
> Should be ok but if batik now calls fillPath(), I get an
> exception because fillPath() is not implemented in ScaledGraphics. Is
> there any reason why?
>
> Cheers,
> Andreas
>
Previous Topic:advanced graphics for linux?
Next Topic:Zest's GraphNode#initFigure() and Graph#registerItem() called twice unnecessarily?
Goto Forum:
  


Current Time: Tue Jul 22 07:27:07 EDT 2014

Powered by FUDForum. Page generated in 0.01510 seconds