Re: Giving up for now

2009-05-04 Thread Joel Holdsworth
On Sun, 2009-05-03 at 16:05 +0200, Roderick Colenbrander wrote: > We do support some alpha support using XRender, can't you use this > too? I think that's the general method for using alpha at the moment > on X. Yes and I'm using GdiAlphaBlend - for rendering, and I have fixes to use it. It's what

Re: Giving up for now

2009-05-03 Thread Massimo Del Fedele
Roderick Colenbrander ha scritto: Have you also tried to use the GDI AlphaBlend function? This is the one which should be used I think and we back it by XRender .. Roderick Sorry for the OT : apropos AlphaBlend and RGBA bitmaps... what happens with BitBlt on a destination DIB which has al

Re: Giving up for now

2009-05-03 Thread Roderick Colenbrander
On Sun, May 3, 2009 at 6:28 PM, Roderick Colenbrander wrote: > On Sat, May 2, 2009 at 11:18 PM, Joel Holdsworth > wrote: >> On Sat, 2009-05-02 at 22:56 +0200, Roderick Colenbrander wrote: >>> On Sat, May 2, 2009 at 8:57 PM, Joel Holdsworth >>> wrote: >>> > On Sat, 2009-05-02 at 20:38 +0200, Rode

Re: Giving up for now

2009-05-03 Thread Roderick Colenbrander
On Sat, May 2, 2009 at 11:18 PM, Joel Holdsworth wrote: > On Sat, 2009-05-02 at 22:56 +0200, Roderick Colenbrander wrote: >> On Sat, May 2, 2009 at 8:57 PM, Joel Holdsworth >> wrote: >> > On Sat, 2009-05-02 at 20:38 +0200, Roderick Colenbrander wrote: >> >> On Sat, May 2, 2009 at 6:55 PM, Joel Ho

Re: Giving up for now

2009-05-03 Thread Roderick Colenbrander
On Sun, May 3, 2009 at 2:44 AM, Ben Klein wrote: > 2009/5/3 Joel Holdsworth : >> On Sat, 2009-05-02 at 22:56 +0200, Roderick Colenbrander wrote: >>> Why again did you need this specific alphablend method? The icon can't >>> be converted to use some basic color keying for transparency or so? >> >>

Re: Giving up for now

2009-05-02 Thread Ben Klein
2009/5/3 Joel Holdsworth : > On Sat, 2009-05-02 at 22:56 +0200, Roderick Colenbrander wrote: >> Why again did you need this specific alphablend method? The icon can't >> be converted to use some basic color keying for transparency or so? > > The reason is that the outlines will look aliased, and th

Re: Giving up for now

2009-05-02 Thread Joel Holdsworth
On Sat, 2009-05-02 at 22:56 +0200, Roderick Colenbrander wrote: > On Sat, May 2, 2009 at 8:57 PM, Joel Holdsworth > wrote: > > On Sat, 2009-05-02 at 20:38 +0200, Roderick Colenbrander wrote: > >> On Sat, May 2, 2009 at 6:55 PM, Joel Holdsworth > >> wrote: > >> > Hi All, > >> > > >> > I've hit a b

Re: Giving up for now

2009-05-02 Thread Roderick Colenbrander
On Sat, May 2, 2009 at 8:57 PM, Joel Holdsworth wrote: > On Sat, 2009-05-02 at 20:38 +0200, Roderick Colenbrander wrote: >> On Sat, May 2, 2009 at 6:55 PM, Joel Holdsworth >> wrote: >> > Hi All, >> > >> > I've hit a bit of a wall with alpha blended icons. CreateIcon is working >> > fine for icon

Re: Giving up for now

2009-05-02 Thread Joel Holdsworth
On Sat, 2009-05-02 at 20:38 +0200, Roderick Colenbrander wrote: > On Sat, May 2, 2009 at 6:55 PM, Joel Holdsworth > wrote: > > Hi All, > > > > I've hit a bit of a wall with alpha blended icons. CreateIcon is working > > fine for icon creation, but ExtractIcon and LoadIconFromResource etc. > > are

Re: Giving up for now

2009-05-02 Thread Roderick Colenbrander
On Sat, May 2, 2009 at 6:55 PM, Joel Holdsworth wrote: > Hi All, > > I've hit a bit of a wall with alpha blended icons. CreateIcon is working > fine for icon creation, but ExtractIcon and LoadIconFromResource etc. > are all proving more of a problem. All of these use various GDI DIB > functions to

Giving up for now

2009-05-02 Thread Joel Holdsworth
Hi All, I've hit a bit of a wall with alpha blended icons. CreateIcon is working fine for icon creation, but ExtractIcon and LoadIconFromResource etc. are all proving more of a problem. All of these use various GDI DIB functions to coerce the icon bitmap to the correct colour depth and size. The p