Function
GimpUiwidget_get_color_transform
since: 2.10
Declaration [src]
GimpColorTransform*
gimp_widget_get_color_transform (
  GtkWidget* widget,
  GimpColorConfig* config,
  GimpColorProfile* src_profile,
  const Babl* src_format,
  const Babl* dest_format,
  GimpColorProfile* softproof_profile,
  GimpColorRenderingIntent proof_intent,
  gboolean proof_bpc
)
Description [src]
This function returns the GimpColorTransform that transforms pixels from src_profile to the profile of the GdkMonitor the widget is
displayed on.
Available since: 2.10
Parameters
- widget
- 
            Type: GtkWidgetA GtkWidget.The data is owned by the caller of the function. 
- config
- 
            Type: GimpColorConfigA GimpColorConfig.The data is owned by the caller of the function. 
- src_profile
- 
            Type: GimpColorProfileA GimpColorProfile.The data is owned by the caller of the function. 
- src_format
- 
            Type: BablBabl format for the transform’s source pixels. The data is owned by the caller of the function. 
- dest_format
- 
            Type: BablBabl format for the transforms’s destination pixels. The data is owned by the caller of the function. 
- softproof_profile
- 
            Type: GimpColorProfileNo description available. The data is owned by the caller of the function. 
- proof_intent
- 
            Type: GimpColorRenderingIntentNo description available. 
- proof_bpc
- 
            Type: gbooleanNo description available. 
Return value
Type: GimpColorTransform
The GimpColorTransform.
| The caller of the function takes ownership of the data, and is responsible for freeing it. | 
| The return value can be NULL. |