Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How can I make image transparent according a RGB object?
How can I make image transparent according a RGB object? [message #184053] Fri, 10 June 2005 01:07 Go to next message
Eclipse UserFriend
Originally posted by: mashengcun.boco.com

Hi
I want to paint some transparent image transparent ?do I set
imageData.transparentPixel(int)? how make a RGB object to int value?
Re: How can I make image transparent according a RGB object? [message #184107 is a reply to message #184053] Fri, 10 June 2005 20:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

SWT now has some new functionality that has been exposed in Draw2d. See
Graphics#setAlpha().

"masc" <mashengcun@boco.com> wrote in message
news:d8ap46$j3e$1@news.eclipse.org...
> Hi
> I want to paint some transparent image transparent ?do I set
> imageData.transparentPixel(int)? how make a RGB object to int value?
>
>
>
Re: How can I make image transparent according a RGB object? [message #184271 is a reply to message #184107] Sat, 11 June 2005 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clmind.yahoo.com

Which version is this new functionality in? ...also wondering if there are
any plans to put transparency information in SWT's Color class (similar to
the alpha value for java.awt.Color), or if there's any useful sources for
how to properly handle transparency as part of an SWT Color...?

Christine

"Pratik Shah" <none@unknown.com> wrote in message
news:d8cs3m$24r$1@news.eclipse.org...
> SWT now has some new functionality that has been exposed in Draw2d. See
> Graphics#setAlpha().
>
> "masc" <mashengcun@boco.com> wrote in message
> news:d8ap46$j3e$1@news.eclipse.org...
> > Hi
> > I want to paint some transparent image transparent ?do I set
> > imageData.transparentPixel(int)? how make a RGB object to int value?
> >
> >
> >
>
>
Re: How can I make image transparent according a RGB object? [message #184312 is a reply to message #184271] Sat, 11 June 2005 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

3.1

"Christine Lee" <clmind@yahoo.com> wrote in message
news:d8eaec$bk9$1@news.eclipse.org...
> Which version is this new functionality in? ...also wondering if there
are
> any plans to put transparency information in SWT's Color class (similar to
> the alpha value for java.awt.Color), or if there's any useful sources for
> how to properly handle transparency as part of an SWT Color...?
>
> Christine
>
> "Pratik Shah" <none@unknown.com> wrote in message
> news:d8cs3m$24r$1@news.eclipse.org...
> > SWT now has some new functionality that has been exposed in Draw2d. See
> > Graphics#setAlpha().
> >
> > "masc" <mashengcun@boco.com> wrote in message
> > news:d8ap46$j3e$1@news.eclipse.org...
> > > Hi
> > > I want to paint some transparent image transparent ?do I set
> > > imageData.transparentPixel(int)? how make a RGB object to int value?
> > >
> > >
> > >
> >
> >
>
>
Re: How can I make image transparent according a RGB object? [message #184318 is a reply to message #184312] Sun, 12 June 2005 06:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clmind.yahoo.com

....Still wondering if there are
any plans to put transparency information in SWT's Color class (similar to
the alpha value for java.awt.Color), or if there's any useful sources for
how to properly handle transparency as part of an SWT Color...?

"Pratik Shah" <none@unknown.com> wrote in message
news:d8fqto$naf$1@news.eclipse.org...
> 3.1
>
> "Christine Lee" <clmind@yahoo.com> wrote in message
> news:d8eaec$bk9$1@news.eclipse.org...
> > Which version is this new functionality in? ...also wondering if there
> are
> > any plans to put transparency information in SWT's Color class (similar
to
> > the alpha value for java.awt.Color), or if there's any useful sources
for
> > how to properly handle transparency as part of an SWT Color...?
> >
> > Christine
> >
> > "Pratik Shah" <none@unknown.com> wrote in message
> > news:d8cs3m$24r$1@news.eclipse.org...
> > > SWT now has some new functionality that has been exposed in Draw2d.
See
> > > Graphics#setAlpha().
> > >
> > > "masc" <mashengcun@boco.com> wrote in message
> > > news:d8ap46$j3e$1@news.eclipse.org...
> > > > Hi
> > > > I want to paint some transparent image transparent ?do I set
> > > > imageData.transparentPixel(int)? how make a RGB object to int value?
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: How can I make image transparent according a RGB object? [message #184480 is a reply to message #184318] Tue, 14 June 2005 07:06 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

GEF != SWT

"Christine Lee" <clmind@yahoo.com> wrote in message
news:d8gk64$afc$1@news.eclipse.org...
> ...Still wondering if there are
> any plans to put transparency information in SWT's Color class (similar to
> the alpha value for java.awt.Color), or if there's any useful sources for
> how to properly handle transparency as part of an SWT Color...?
>
> "Pratik Shah" <none@unknown.com> wrote in message
> news:d8fqto$naf$1@news.eclipse.org...
> > 3.1
> >
> > "Christine Lee" <clmind@yahoo.com> wrote in message
> > news:d8eaec$bk9$1@news.eclipse.org...
> > > Which version is this new functionality in? ...also wondering if
there
> > are
> > > any plans to put transparency information in SWT's Color class
(similar
> to
> > > the alpha value for java.awt.Color), or if there's any useful sources
> for
> > > how to properly handle transparency as part of an SWT Color...?
> > >
> > > Christine
> > >
> > > "Pratik Shah" <none@unknown.com> wrote in message
> > > news:d8cs3m$24r$1@news.eclipse.org...
> > > > SWT now has some new functionality that has been exposed in Draw2d.
> See
> > > > Graphics#setAlpha().
> > > >
> > > > "masc" <mashengcun@boco.com> wrote in message
> > > > news:d8ap46$j3e$1@news.eclipse.org...
> > > > > Hi
> > > > > I want to paint some transparent image transparent ?do I set
> > > > > imageData.transparentPixel(int)? how make a RGB object to int
value?
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Previous Topic:Automated testing , action - capture and replay --- GEF support
Next Topic:Find editPart/modelObject
Goto Forum:
  


Current Time: Fri May 10 23:38:49 GMT 2024

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

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

Back to the top