Different (looking) figures for printing [message #504174] |
Thu, 17 December 2009 15:04 |
Holger Kremss Messages: 1 Registered: July 2009 |
Junior Member |
|
|
How is it possible to create a custom figure which looks different on the screen than printed out on paper? I have a figure, which should be very visible on sceen, but should dissapear on paper (or PDF). What I tried to do is, customizing the outlineShape() fillShape() methods in the figures, but there seems to be no way to find out, what graphics context is used to render the figure. I'm using IMapMode, so the 'graphics' attribute is always of type org.eclipse.gmf.runtime.draw2d.ui.internal.graphics.MapModeG raphic or org.eclipse.gmf.runtime.draw2d.ui.render.internal.graphics.R enderedMapModeGraphics. The 'graphics' member of these is private, so I cannot acces it. Does anyone have an idea? Any comment is appreciated!
Cheers,
Holger
|
|
|
Powered by
FUDForum. Page generated in 0.03084 seconds