to_csource


Description:

public StringBuilder to_csource (string name, PixdataDumpType dump_type)

Generates C source code suitable for compiling images directly into programs.

Note:

Use Resource instead.

GdkPixbuf ships with a program called `gdk-pixbuf-csource`, which offers a command line interface to this function.

Parameters:

this

a `GdkPixdata` to convert to C source

name

used for naming generated data structures or macros

dump_type

the kind of C source to be generated

Returns:

a newly-allocated string buffer containing the C source form of `pixdata`.