Skip to main content


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 13:53 Go to next message
Eclipse UserFriend
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 15:33 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
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: Thu Mar 28 10:51:54 GMT 2024

Powered by FUDForum. Page generated in 0.02260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top