| Top |
| const guint8 * | gimp_color_managed_get_icc_profile () |
| GimpColorProfile * | gimp_color_managed_get_color_profile () |
| void | gimp_color_managed_profile_changed () |
const guint8 * gimp_color_managed_get_icc_profile (GimpColorManaged *managed,gsize *len);
managed |
an object the implements the GimpColorManaged interface |
|
len |
return location for the number of bytes in the profile data. |
[out] |
Since: 2.4
GimpColorProfile *
gimp_color_managed_get_color_profile (GimpColorManaged *managed);
This function always returns a GimpColorProfile and falls back to
gimp_color_profile_new_rgb_srgb() if the method is not implemented.
Since: 2.10
void
gimp_color_managed_profile_changed (GimpColorManaged *managed);
Emits the "profile-changed" signal.
Since: 2.4
struct GimpColorManagedInterface {
GTypeInterface base_iface;
/**
* GimpColorManagedInterface::get_icc_profile:
* @managed: an object the implements the #GimpColorManaged interface
* @len: (out): return location for the number of bytes in the profile data
*
* Returns: (array length=len): A blob of data that represents an ICC color
* profile.
*
* Since: 2.4
*/
const guint8 * (* get_icc_profile) (GimpColorManaged *managed,
gsize *len);
/* signals */
void (* profile_changed) (GimpColorManaged *managed);
/* virtual functions */
GimpColorProfile * (* get_color_profile) (GimpColorManaged *managed);
};
The parent interface |
||
Returns the ICC profile of the pixels managed by the object |
||
This signal is emitted when the object's color profile has changed |
||
Returns the GimpColorProfile of the pixels managed by the object |
“profile-changed” signalvoid user_function (GimpColorManaged *gimpcolormanaged, gpointer user_data)
Flags: Run First