Re: Bitmap transparency



On Tue, 2010-12-07 at 19:17 +0100, xapantu wrote:
> Hi,
> 
> I would like to know if I could set a custom opacity value for bitmap ?
> I can't find it in the api reference...
> 
> And if it is not (yet) implemented, maybe I can do a patch ? You agree
> to include it in a next version of GooCanvas ? (because I don't want to
> ask to the user to patch GooCanvas ^^).
> 
> I am a developer of Ella (http://ella.tuxfamily.org) and we really need
> this feature ^^.

No, I don't think there is a way to set the opacity of a bitmap at
present. I guess you could use cairo_paint_with_alpha() to do that.

A patch would be welcome, as long as it isn't too complicated.

Or you could write your own custom item.


> Thanks for all your work, GooCanvas is definitively awesome!

Thanks,

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]