Constructor
GimpGradientnew
Declaration [src]
GimpGradient*
gimp_gradient_new (
const gchar* name
)
Description [src]
Creates a new gradient
Creates a new gradient having no segments.
Available since: | 2.2 |
Parameters
name |
const gchar* |
The requested name of the new gradient. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | GimpGradient |
The gradient. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |