Description Usage Arguments Details Value Author(s)
Takes an existing pixbuf and adds an alpha channel to it. If the existing pixbuf already had an alpha channel, the channel values are copied from the original; otherwise, the alpha channel is initialized to 255 (full opacity).
1 | gdkPixbufAddAlpha(object, substitute.color, r, g, b)
|
|
A |
|
Whether to set a color to zero opacity. If this
is |
|
Red value to substitute. |
|
Green value to substitute. |
|
Blue value to substitute. |
If substitute.color
is TRUE
, then the color specified by (r
, g
, b
) will be
assigned zero opacity. That is, if you pass (255, 255, 255) for the
substitute color, all white pixels will become fully transparent.
[GdkPixbuf
] A newly-created pixbuf with a reference count of 1.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.