Top | ![]() |
![]() |
![]() |
![]() |
gchar **
gegl_list_operations (guint *n_operations_p
);
An alphabetically sorted array of available operation names. This excludes any compat-name registered by operations. The list should be freed with g_free after use. --- gchar **operations; guint n_operations; gint i;
operations = gegl_list_operations (&n_operations);
g_print ("Available operations:\n");
for (i=0; i < n_operations; i++)
{
g_print ("\ts
\n", operations[i]);
}
g_free (operations);.
[transfer container][array length=n_operations_p]
GParamSpec ** gegl_operation_list_properties (const gchar *operation_type
,guint *n_properties_p
);
operation_type |
the name of the operation type we want to query to properties of. |
|
n_properties_p |
return location for number of properties. |
[out caller-allocates] |
An allocated array of GParamSpecs describing the properties of the operation available when a node has operation_type set. The list should be freed with g_free after use.
[transfer container][array length=n_properties_p]
GParamSpec * gegl_operation_find_property (const gchar *operation_type
,const gchar *property_name
);
const gchar * gegl_operation_get_property_key (const gchar *operation_type
,const gchar *property_name
,const gchar *property_key_name
);
gchar ** gegl_operation_list_property_keys (const gchar *operation_type
,const gchar *property_name
,guint *n_keys
);
operation_type |
the name of the operation type we want to query to property keys for. |
|
property_name |
the property to query a key for. |
|
n_keys |
return location for number of property keys. |
[out caller-allocates] |
An allocated NULL terminated array of property-key names. The list should be freed with g_free after use.
[transfer container][array length=n_keys]
const gchar * gegl_param_spec_get_property_key (GParamSpec *pspec
,const gchar *key_name
);
void gegl_param_spec_set_property_key (GParamSpec *pspec
,const gchar *key_name
,const gchar *value
);
gdouble gegl_coordinate_relative_to_pixel (gdouble relative
,gdouble pixel_dim
);
gdouble gegl_coordinate_pixel_to_relative (gdouble pixel
,gdouble pixel_dim
);
gchar ** gegl_operation_list_keys (const gchar *operation_type
,guint *n_keys
);
operation_type |
the name of the operation type we want to query to property keys for. |
|
n_keys |
return location for number of property keys. |
[out caller-allocates] |
An allocated NULL terminated array of operation-key names. The list should be freed with g_free after use.
[transfer container][array length=n_keys]