Pixbuf.this

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.

Parameters

colorspace GdkColorspace

Color space for image

hasAlpha int

Whether the image should have transparency information

bitsPerSample int

Number of bits per color sample

width int

Width of image in pixels, must be > 0

height int

Height of image in pixels, must be > 0

Throws

ConstructionException GTK+ fails to create the object.

Meta