mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimpwidgets: more docs and annotations
This commit is contained in:
parent
d28af77fc2
commit
8cfef5e60d
3 changed files with 31 additions and 3 deletions
|
@ -732,6 +732,22 @@ transform_cache_config_notify (GObject *config,
|
|||
g_printerr ("deleted cache %p\n", cache);
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_widget_get_color_transform:
|
||||
* @widget: a #GtkWidget
|
||||
* @config: a #GimpColorConfig
|
||||
* @src_profile: a #GimpColorProfile
|
||||
* @src_format: Babl format for the transform's source pixels
|
||||
* @dest_format: Babl format for the transforms's destination pixels
|
||||
*
|
||||
* This function returns the #GimpColorTransform that transforms pixels
|
||||
* from @src_profile to the profile of the #GdkMonitor the @widget is
|
||||
* displayed on.
|
||||
*
|
||||
* Returns: (nullable) (transfer full): the #GimpColorTransform.
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
GimpColorTransform *
|
||||
gimp_widget_get_color_transform (GtkWidget *widget,
|
||||
GimpColorConfig *config,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue