|
|
Re: is it possible to create SWT controls offscreen and scrape their graphics? [message #153354 is a reply to message #153315] |
Fri, 08 October 2004 15:26 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Why not reuse the VE? It includes an SWT builder using GEF, and it is
extensible AFAIK.
Offscreen scraping only works on some platforms. Others are optimized to
not paint widgets which cannot be seen.
"Sean Neeley" <sean.neeley@dbcsoftware.com> wrote in message
news:ck3p94$8v3$1@eclipse.org...
> How do you do it?
>
> I'm designing a SWT user interface builder using GEF. My original
> approach was to create the SWT control over the top of a lightweight
> IFigure of the same size and position, scrape the graphics, then destroy
> the SWT control, then paint the IFigure with the image of the SWT
> control. The only problem is, if half of the SWT widget is offscreen
> when I scrape the graphics, I end up with garbage on the half of the
> image where the widget was offscreen. Is there a way to completely
> create the SWT widget offscreen somewhere and then scrape the graphics?
> I've seen several posts eluding to this, but I've been unable to
> figure out how to do it.
>
> Thank you.
> - Sean
|
|
|
Powered by
FUDForum. Page generated in 0.03806 seconds