SVG export resulting in exception! [message #249112] |
Tue, 02 June 2009 06:57  |
Eclipse User |
|
|
|
Hi,
I have a GEF application and I would like to export the root figure as an
image. Everything was working fine until I changed some of the UIs and
decided to add gradient coloring by using org.eclipse.draw2d.Graphics
class' fillGradient(Rectangle r, boolean b) method. I was setting the
clipping path before applying gradient coloring to a Path. However, after
that the SVG export throws the exception below. I wonder why GraphicsSVG
does not support setClip method. Anyway here is the exception:
java.lang.RuntimeException: The class: class
org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.ex port.GraphicsSVG
has not implemented this new graphics function
at org.eclipse.draw2d.Graphics.subclassFunctionMission(Graphics .java:897)
at org.eclipse.draw2d.Graphics.setClip(Graphics.java:767)
at org.eclipse.draw2d.ScaledGraphics.setClip(ScaledGraphics.jav a:618)
I am using "de.unikassel.imageexport.exporters.SVGImageExporter". Can you
suggest some other SVGImageExporter plug-in or a method to fix the
problem. Thanks.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26419 seconds