Re: Adding alpha channel to existing GdkPixbuf
- From: Federico Mena Quintero <federico redhat com>
- To: hp redhat com
- CC: gnome-devel-list gnome org
- Subject: Re: Adding alpha channel to existing GdkPixbuf
- Date: Thu, 2 Dec 1999 12:12:14 -0500
> How about gdk_pixbuf_add_alpha (GdkPixbuf *pixbuf,
> GdkColor *color)
>
> where color can be NULL and otherwise is the color to give an alpha of 0?
> This is what 90% of people will be using this function for, and if they
> are they have to iterate to set up the alpha anyway.
I think I'll use
GdkPixbuf *gdk_pixbuf_add_alpha (GdkPixbuf *pixbuf,
gboolean substitute_color,
guchar r, guchar g, guchar b);
Does that look fine?
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]