| Import line: | GdkPixbuf = imports.gi.GdkPixbuf; |
| GIR File: | GdkPixbuf-2.0.gir |
| C documentation: | GdkPixdata |
| Struct : | Pixdata |
| Show / Hide Inherited methods, properties and signals |
| Properties | Defined By | |
|---|---|---|
|
height : Number
|
GdkPixbuf.Pixdata | |
|
length : Number
|
GdkPixbuf.Pixdata | |
|
magic : Number
|
GdkPixbuf.Pixdata | |
|
pixdata_type : Number
|
GdkPixbuf.Pixdata | |
|
pixel_data : void*
|
GdkPixbuf.Pixdata | |
|
rowstride : Number
|
GdkPixbuf.Pixdata | |
|
width : Number
|
GdkPixbuf.Pixdata | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new GdkPixbuf.Pixdata
()
Create a new GdkPixbuf.Pixdata
Create a new GdkPixbuf.Pixdata
|
||
|
Deserializes (reconstruct) a GdkPixdata structure from a byte stream.
Deserializes (reconstruct) a GdkPixdata structure from a byte stream. The byte stream consists of a straightforward writeout of the GdkPixdata fields in network byte order, plus the pixel_data bytes the structure points to. The pixdata contents are reconstructed byte by byte and are checked for validity. This function may fail with GDK_PIXBUF_CORRUPT_IMAGE or GDK_PIXBUF_ERROR_UNKNOWN_TYPE. FALSE otherwise.
|
GdkPixbuf.Pixdata | |
|
Converts a GdkPixbuf to a GdkPixdata.
Converts a GdkPixbuf to a GdkPixdata. If use_rle is TRUE, the pixel data is run-length encoded into newly-allocated memory and a pointer to that memory is returned. for the run-length encoded pixel data, otherwise NULL.
|
GdkPixbuf.Pixdata | |
|
Serializes a GdkPixdata structure into a byte stream.
|
GdkPixbuf.Pixdata | |
|
Generates C source code suitable for compiling images directly into programs.
Generates C source code suitable for compiling images directly into programs. GTK+ ships with a program called
|
GdkPixbuf.Pixdata | |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
GdkPixbuf.Pixbuf
Method |
Converts a GdkPixdata to a GdkPixbuf.
|