Method

GeglColorset_cmyk

Declaration [src]

void
gegl_color_set_cmyk (
  GeglColor* color,
  gdouble cyan,
  gdouble magenta,
  gdouble yellow,
  gdouble key,
  gdouble alpha,
  const Babl* space
)

Description [src]

Set color as CMYK data stored as space. If space is NULL, this is equivalent to storing with the default naive CMYK space.

Parameters

cyan gdouble
 

Cyan value.

magenta gdouble
 

Magenta value.

yellow gdouble
 

Yellow value.

key gdouble
 

Key value.

alpha gdouble
 

Alpha value.

space Babl
 

CMYK space.

 The argument can be NULL.
 The data is owned by the caller of the function.