예제 #1
0
/**
 * gimp_color_profile_get_copyright:
 * @profile: a #GimpColorProfile
 *
 * Return value: a string containing @profile's copyright. The
 *               returned value belongs to @profile and must not be
 *               modified or freed.
 *
 * Since: 2.10
 **/
const gchar *
gimp_color_profile_get_copyright (GimpColorProfile *profile)
{
  g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL);

  if (! profile->priv->copyright)
    profile->priv->copyright =
      gimp_color_profile_get_info (profile, cmsInfoCopyright);

  return profile->priv->copyright;
}
예제 #2
0
/**
 * gimp_color_profile_get_manufacturer:
 * @profile: a #GimpColorProfile
 *
 * Return value: a string containing @profile's manufacturer. The
 *               returned value belongs to @profile and must not be
 *               modified or freed.
 *
 * Since: 2.10
 **/
const gchar *
gimp_color_profile_get_manufacturer (GimpColorProfile *profile)
{
  g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL);

  if (! profile->priv->manufacturer)
    profile->priv->manufacturer =
      gimp_color_profile_get_info (profile, cmsInfoManufacturer);

  return profile->priv->manufacturer;
}
예제 #3
0
/**
 * gimp_color_profile_get_model:
 * @profile: a #GimpColorProfile
 *
 * Return value: a string containing @profile's model. The returned
 *               value belongs to @profile and must not be modified or
 *               freed.
 *
 * Since: 2.10
 **/
const gchar *
gimp_color_profile_get_model (GimpColorProfile *profile)
{
  g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL);

  if (! profile->priv->model)
    profile->priv->model =
      gimp_color_profile_get_info (profile, cmsInfoModel);

  return profile->priv->model;
}
예제 #4
0
/**
 * gimp_color_profile_get_description:
 * @profile: a #GimpColorProfile
 *
 * Return value: a string containing @profile's description. The
 *               returned value belongs to @profile and must not be
 *               modified or freed.
 *
 * Since: 2.10
 **/
const gchar *
gimp_color_profile_get_description (GimpColorProfile *profile)
{
  g_return_val_if_fail (GIMP_IS_COLOR_PROFILE (profile), NULL);

  if (! profile->priv->description)
    profile->priv->description =
      gimp_color_profile_get_info (profile, cmsInfoDescription);

  return profile->priv->description;
}
예제 #5
0
/**
 * gimp_color_profile_get_copyright:
 * @profile: a #GimpColorProfile
 *
 * Return value: a newly allocated string containing @profile's
 *               copyright. Free with g_free().
 *
 * Since: 2.10
 **/
gchar *
gimp_color_profile_get_copyright (GimpColorProfile profile)
{
  return gimp_color_profile_get_info (profile, cmsInfoCopyright);
}
예제 #6
0
/**
 * gimp_color_profile_get_model:
 * @profile: a #GimpColorProfile
 *
 * Return value: a newly allocated string containing @profile's
 *               model. Free with g_free().
 *
 * Since: 2.10
 **/
gchar *
gimp_color_profile_get_model (GimpColorProfile profile)
{
  return gimp_color_profile_get_info (profile, cmsInfoModel);
}
예제 #7
0
/**
 * gimp_color_profile_get_manufacturer:
 * @profile: a #GimpColorProfile
 *
 * Return value: a newly allocated string containing @profile's
 *               manufacturer. Free with g_free().
 *
 * Since: 2.10
 **/
gchar *
gimp_color_profile_get_manufacturer (GimpColorProfile profile)
{
  return gimp_color_profile_get_info (profile, cmsInfoManufacturer);
}
예제 #8
0
/**
 * gimp_color_profile_get_description:
 * @profile: a #GimpColorProfile
 *
 * Return value: a newly allocated string containing @profile's
 *               description. Free with g_free().
 *
 * Since: 2.10
 **/
gchar *
gimp_color_profile_get_description (GimpColorProfile profile)
{
  return gimp_color_profile_get_info (profile, cmsInfoDescription);
}