Pixbuf.this
this
(gdkpixbuf.types.Colorspace colorspace, bool hasAlpha, int bitsPerSample, int width, int height)Creates a new [gdkpixbuf.pixbuf.Pixbuf] structure and allocates a buffer for it.
If the allocation of the buffer failed, this function will return NULL.
The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself.
Parameters
colorspace | Color space for image |
hasAlpha | Whether the image should have transparency information |
bitsPerSample | Number of bits per color sample |
width | Width of image in pixels, must be > 0 |
height | Height of image in pixels, must be > 0 |
Returns
A newly-created pixel buffer