GIMP Widgets Library Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GimpColorDisplay; GimpColorDisplay * gimp_color_display_new (GType display_type
); GimpColorDisplay * gimp_color_display_clone (GimpColorDisplay *display
); void gimp_color_display_set_enabled (GimpColorDisplay *display
,gboolean enabled
); gboolean gimp_color_display_get_enabled (GimpColorDisplay *display
); GimpColorConfig * gimp_color_display_get_config (GimpColorDisplay *display
); GimpColorManaged * gimp_color_display_get_managed (GimpColorDisplay *display
); void gimp_color_display_convert (GimpColorDisplay *display
,guchar *buf
,gint width
,gint height
,gint bpp
,gint bpl
); void gimp_color_display_convert_surface (GimpColorDisplay *display
,cairo_surface_t *surface
); void gimp_color_display_load_state (GimpColorDisplay *display
,GimpParasite *state
); GimpParasite * gimp_color_display_save_state (GimpColorDisplay *display
); GtkWidget * gimp_color_display_configure (GimpColorDisplay *display
); void gimp_color_display_configure_reset (GimpColorDisplay *display
); void gimp_color_display_changed (GimpColorDisplay *display
);
"color-config" GimpColorConfig* : Read / Write / Construct Only "color-managed" GimpColorManagedInterface* : Read / Write / Construct Only "enabled" gboolean : Read / Write / Construct
GimpColorDisplay * gimp_color_display_new (GType display_type
);
gimp_color_display_new
is deprecated and should not be used in newly-written code.
This function is deprecated. Please use g_object_new()
directly.
|
the GType of the GimpColorDisplay to instantiate. |
Returns : |
a new GimpColorDisplay object. |
GimpColorDisplay * gimp_color_display_clone (GimpColorDisplay *display
);
void gimp_color_display_set_enabled (GimpColorDisplay *display
,gboolean enabled
);
gboolean gimp_color_display_get_enabled (GimpColorDisplay *display
);
GimpColorConfig * gimp_color_display_get_config (GimpColorDisplay *display
);
Returns : |
a pointer to the GimpColorConfig object or NULL . |
Since GIMP 2.4
GimpColorManaged * gimp_color_display_get_managed (GimpColorDisplay *display
);
Returns : |
a pointer to the GimpColorManaged object or NULL . |
Since GIMP 2.4
void gimp_color_display_convert (GimpColorDisplay *display
,guchar *buf
,gint width
,gint height
,gint bpp
,gint bpl
);
gimp_color_display_convert
is deprecated and should not be used in newly-written code. GIMP 2.8: Use gimp_color_display_convert_surface()
instead.
Converts all pixels in buf
.
|
a GimpColorDisplay |
|
the pixel buffer to convert |
|
the width of the buffer |
|
the height of the buffer |
|
the number of bytes per pixel |
|
the buffer's rowstride |
void gimp_color_display_convert_surface (GimpColorDisplay *display
,cairo_surface_t *surface
);
Converts all pixels in surface
.
|
a GimpColorDisplay |
|
a cairo_image_surface_t of type ARGB32 |
Since GIMP 2.8
void gimp_color_display_load_state (GimpColorDisplay *display
,GimpParasite *state
);
GimpParasite * gimp_color_display_save_state (GimpColorDisplay *display
);
GtkWidget * gimp_color_display_configure (GimpColorDisplay *display
);
void gimp_color_display_configure_reset (GimpColorDisplay *display
);
"color-managed"
property"color-managed" GimpColorManagedInterface* : Read / Write / Construct Only
"changed"
signalvoid user_function (GimpColorDisplay *gimpcolordisplay,
gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |