libgimpwidgets: add gimp_widget_get_color_transform()
Which returns a GimpColorTransform to transform a GimpColorManaged's pixels to a GtkWidget's color space, using a GimpColorConfig's settings. This is *unfinished* API and in the end will enable simple display color management for the app, libgimp and plug-ins.
This commit is contained in:
@ -30,23 +30,29 @@ G_BEGIN_DECLS
|
||||
/* For information look into the C source or the html documentation */
|
||||
|
||||
|
||||
GtkWidget * gimp_table_attach_aligned (GtkTable *table,
|
||||
gint column,
|
||||
gint row,
|
||||
const gchar *label_text,
|
||||
gfloat xalign,
|
||||
gfloat yalign,
|
||||
GtkWidget *widget,
|
||||
gint colspan,
|
||||
gboolean left_align);
|
||||
GtkWidget * gimp_table_attach_aligned (GtkTable *table,
|
||||
gint column,
|
||||
gint row,
|
||||
const gchar *label_text,
|
||||
gfloat xalign,
|
||||
gfloat yalign,
|
||||
GtkWidget *widget,
|
||||
gint colspan,
|
||||
gboolean left_align);
|
||||
|
||||
void gimp_label_set_attributes (GtkLabel *label,
|
||||
...);
|
||||
void gimp_label_set_attributes (GtkLabel *label,
|
||||
...);
|
||||
|
||||
gint gimp_widget_get_monitor (GtkWidget *widget);
|
||||
gint gimp_get_monitor_at_pointer (GdkScreen **screen);
|
||||
gint gimp_widget_get_monitor (GtkWidget *widget);
|
||||
gint gimp_get_monitor_at_pointer (GdkScreen **screen);
|
||||
|
||||
GimpColorProfile gimp_widget_get_color_profile (GtkWidget *widget);
|
||||
GimpColorProfile gimp_widget_get_color_profile (GtkWidget *widget);
|
||||
|
||||
GimpColorTransform gimp_widget_get_color_transform (GtkWidget *widget,
|
||||
GimpColorManaged *managed,
|
||||
GimpColorConfig *config,
|
||||
const Babl *src_format,
|
||||
const Babl *dest_format);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
Reference in New Issue
Block a user