PixdataDumpType
Deprecated since version 2.32: Please do not use it in newly written code
- class PixdataDumpType
An enumeration which is used by to_csource()
to
determine the form of C source to be generated. The three values
GDK_PIXDATA_DUMP_PIXDATA_STREAM
, GDK_PIXDATA_DUMP_PIXDATA_STRUCT
and GDK_PIXDATA_DUMP_MACROS
are mutually exclusive, as are
GDK_PIXBUF_DUMP_GTYPES
and GDK_PIXBUF_DUMP_CTYPES
. The remaining
elements are optional flags that can be freely added.
Fields
- class PixdataDumpType
- CONST
Generate const symbols.
- CTYPES
Generate standard C data types instead of GLib data types.
- GTYPES
Generate GLib data types instead of standard C data types.
- MACROS
Generate <function>*_ROWSTRIDE</function>, <function>*_WIDTH</function>, <function>*_HEIGHT</function>, <function>*_BYTES_PER_PIXEL</function> and <function>*_RLE_PIXEL_DATA</function> or <function>*_PIXEL_DATA</function> macro definitions for the image.
- PIXDATA_STREAM
Generate pixbuf data stream (a single string containing a serialized
Pixdata
structure in network byte order).
- PIXDATA_STRUCT
Generate
Pixdata
structure (needs thePixdata
structure definition from gdk-pixdata.h).
- RLE_DECODER
Provide a <function>*_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)</function> macro definition to decode run-length encoded image data.
- STATIC
Generate static symbols.