Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Render partly transparent SVG image for GEF FreeformLayer
Render partly transparent SVG image for GEF FreeformLayer [message #248921] Tue, 12 May 2009 20:19
Gerrit  is currently offline Gerrit Friend
Messages: 30
Registered: July 2009
Member
Hi, I would like to display an SVG image as a background in my GEF editor.
I have subclassed the FreeformLayer so that it accepts and displays an SWT
Image, much like the ImageFigure. I render the Image with an
SVGImageConverter.

Everything works fine until I try out SVG documents that include
transparency. An UnsupportedOperationException is thrown, because SWT
doesn't support transparency.

But actually, I don't need the resulting image itself to be transparent. I
just want to render the SVG correctly against a white background. What
classes can I use (SVGImageConverter is internal anyway), and how do I
have to configure them to render a transparent SVG image?

Regards,
Gerrit
Previous Topic:remove palette context menu actions
Next Topic:[Announce] GEF 3.5.0 I200905121850 is available
Goto Forum:
  


Current Time: Thu Mar 23 08:23:37 GMT 2017

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

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