[Gambas-user] gb.image: image alpha channel accessibility

Benoît Minisini gambas at ...1...
Mon Aug 23 16:53:24 CEST 2010


> kevinfishburne wrote:
> > It still won't display an image. I'd like to copy/paste the code for
> > Image.DrawAlpha from the GAMBAS 3 checkout to the GAMBAS 2 checkout and
> > see if it works under a more stable GAMBAS. Is there anything I should
> > look for other than the obvious (to a non-C programmer) to make that
> > work?
> 
> I found the relevant bits of code, but it looks like the code is quite a
> bit different between GAMBAS 2 and 3, so without knowing C I wasn't able
> to get the new code to compile properly. I guess I'll continue to wait
> until GAMBAS 3 has reached a stable enough point that I'm able to test the
> new function.
> 

I tested your project, and it works when the form has Border = True. But the 
DrawingArea contents is not visible when Border = False. Strange bug, 
apparently related to the Border property, not to the drawing routines.

Regards,

-- 
Benoît Minisini




More information about the User mailing list