Description Usage Arguments Value Author(s)
Creates a new GdkPixbuf
structure and allocates a buffer for it. The
buffer has an optimal rowstride. Note that the buffer is not cleared;
you will have to fill it completely yourself.
1 | gdkPixbufNew(colorspace, has.alpha, bits.per.sample, width, height)
|
|
Color space for image |
|
Whether the image should have transparency information |
|
Number of bits per color sample |
|
Width of image in pixels, must be > 0 |
|
Height of image in pixels, must be > 0 |
[GdkPixbuf
] A newly-created GdkPixbuf
with a reference count of 1, or
NULL
if not enough memory could be allocated for the image buffer.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.