init


Description:


public void init (ref unowned string[]? argv)

Call this function before using any other GEGL functions.

It will initialize everything needed to operate GEGL and parses some standard command line options. argv.length and argv are adjusted accordingly so your own code will never see those standard arguments.

Note that there is an alternative way to initialize GEGL: if you are calling parse with the option group returned by gegl_get_option_group(), you don't have to call init().

Parameters:

argv

a pointer to the array of command line arguments.

argc

a pointer to the number of command line arguments.


Namespace: Gegl
Package: gegl-0.3