Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » ErrorMessage when Export As SVG
ErrorMessage when Export As SVG [message #503159] Fri, 11 December 2009 03:56
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009

i have got a problem (or bug). Always when i try to export as svg file i get the error message below. this happens only when i my "shapes,elements,..whatever" are filled gradient.

		protected void fillShape(Graphics graphics) {
Rectangle r = (Rectangle) getBounds().getCopy();
			Point topLeft = r.getTopLeft();
			Point bottomRight = r.getBottomRight();
			Pattern pattern = new Pattern(Display.getCurrent(), topLeft.x,
					topLeft.y, bottomRight.x, bottomRight.y, color1, color2);
			graphics.fillOval((org.eclipse.draw2d.geometry.Rectangle) r);

Is it possible to fillGradient() on an Element and export this element as svg image?

Previous Topic:Commercial GMF users
Next Topic:How can I use a custom GridLayer in the Editor?
Goto Forum:

Current Time: Mon May 10 09:05:21 GMT 2021

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

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

Back to the top